diff --git a/package.json b/package.json index 2a9c5c8..a810e83 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kilnfi/sdk", - "version": "4.0.6", + "version": "4.0.7", "autor": "Kiln (https://kiln.fi)", "license": "BUSL-1.1", "description": "JavaScript sdk for Kiln API", diff --git a/src/openapi/schema.ts b/src/openapi/schema.ts index 6d5de2b..992b59e 100644 --- a/src/openapi/schema.ts +++ b/src/openapi/schema.ts @@ -5815,6 +5815,26 @@ export interface paths { patch?: never; trace?: never; }; + "/kava/transaction/send": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Send Transaction + * @description Generates a send transaction on Kava + */ + post: operations["postKavaSendTx"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/kava/transaction/status": { parameters: { query?: never; @@ -49127,6 +49147,54 @@ export interface operations { }; }; }; + postKavaSendTx: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["KAVACraftSendTxPayload"]; + }; + }; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data: components["schemas"]["KAVAUnsignedTx"]; + }; + }; + }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Internal server error */ + 500: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; getKavaTxStatus: { parameters: { query: {