Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

sdk-api 0.1.1

Install from the command line:
Learn more about npm packages
$ npm install @tzkt/sdk-api@0.1.1
Install via package.json:
"@tzkt/sdk-api": "0.1.1"

About this version

TzKt API SDK written in Typescript

Not written, but rather generated using @tzkt/oazapfts.

Install

npm i @tzkt/sdk-api

Use

import { operationsGetDoubleBaking } from '@tzkt/sdk-api'

await operationsGetDoubleBaking(
  {
    quote: 'Btc',
    accuser: {
      in: ['tz3VEZ4k6a4Wx42iyev6i2aVAptTRLEAivNN']
    }
  },
  {
    baseUrl: 'https://api.tzkt.io'
  }
)

With node.js or a custom fetch library

Please refer to the documentation of the original codegen library.

Update & publish

  • Get the latest swagger file
  • Use it to re-generate APIs
  • Fix linting and prettify
  • Build
npm run sync-swagger
npm run generate
npm run fix
npm run build

To update package version use

npm run version

Details


Assets

  • sdk-api-0.1.1-npm.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all