This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
sdk-api
/
0.1.3
sdk-api 0.1.3
Install from the command line:
Learn more about npm packages
$ npm install @tzkt/sdk-api@0.1.3
Install via package.json:
"@tzkt/sdk-api": "0.1.3"
About this version
Not written, but rather generated using @tzkt/oazapfts.
npm i @tzkt/sdk-api
import { operationsGetDoubleBaking } from '@tzkt/sdk-api'
await operationsGetDoubleBaking(
{
quote: 'Btc',
accuser: {
in: ['tz3VEZ4k6a4Wx42iyev6i2aVAptTRLEAivNN']
}
},
{
baseUrl: 'https://api.tzkt.io'
}
)
Please refer to the documentation of the original codegen library.
This package is managed by Lerna. All publishing and dep management should be done using it. Only regeneration of APIs is kept local (for now).
- Get the latest swagger file
- Use it to re-generate APIs
- Fix linting and prettify
npm run sync-swagger
npm run generate
npm run fix
You may build this package for local testing with simple npm run build
. For publishing and deploying to production all builds should be done via Lerna.
After you've committed your changes and ready to publish, please follow Build and publish instructions in the root of this repository.