@@ -5140,6 +5140,26 @@ export interface paths {
51405140 patch?: never;
51415141 trace?: never;
51425142 };
5143+ "/v1/kava/balance": {
5144+ parameters: {
5145+ query?: never;
5146+ header?: never;
5147+ path?: never;
5148+ cookie?: never;
5149+ };
5150+ get?: never;
5151+ put?: never;
5152+ /**
5153+ * Get balance
5154+ * @description Get balance of a Kava account
5155+ */
5156+ post: operations["postKavaGetBalance"];
5157+ delete?: never;
5158+ options?: never;
5159+ head?: never;
5160+ patch?: never;
5161+ trace?: never;
5162+ };
51435163 "/v1/kava/transaction/stake": {
51445164 parameters: {
51455165 query?: never;
@@ -25079,6 +25099,18 @@ export interface components {
2507925099 * }
2508025100 */
2508125101 KAVATxDecoding: Record<string, never>;
25102+ KAVAGetBalancePayload: {
25103+ /**
25104+ * @description Wallet address
25105+ * @example fetch1djqecw6nn5tydxq0shan7srv8j65clsf7vypl6
25106+ */
25107+ address: string;
25108+ /**
25109+ * @description The denomination of the balance to query
25110+ * @example ukava
25111+ */
25112+ denom: string;
25113+ };
2508225114 FETStake: {
2508325115 /**
2508425116 * @description Public key of the validator
@@ -40027,7 +40059,7 @@ export interface operations {
4002740059 };
4002840060 responses: {
4002940061 /** @description Successful operation */
40030- 201 : {
40062+ 200 : {
4003140063 headers: {
4003240064 [name: string]: unknown;
4003340065 };
@@ -41592,13 +41624,13 @@ export interface operations {
4159241624 };
4159341625 responses: {
4159441626 /** @description Successful operation */
41595- 201 : {
41627+ 200 : {
4159641628 headers: {
4159741629 [name: string]: unknown;
4159841630 };
4159941631 content: {
4160041632 "application/json; charset=utf-8": {
41601- data? : {
41633+ data: {
4160241634 /**
4160341635 * @description The balance of the account
4160441636 * @example 1000000
@@ -42342,6 +42374,65 @@ export interface operations {
4234242374 };
4234342375 };
4234442376 };
42377+ postKavaGetBalance: {
42378+ parameters: {
42379+ query?: never;
42380+ header?: never;
42381+ path?: never;
42382+ cookie?: never;
42383+ };
42384+ /** @description Account to query */
42385+ requestBody: {
42386+ content: {
42387+ "application/json; charset=utf-8": components["schemas"]["KAVAGetBalancePayload"];
42388+ };
42389+ };
42390+ responses: {
42391+ /** @description Successful operation */
42392+ 200: {
42393+ headers: {
42394+ [name: string]: unknown;
42395+ };
42396+ content: {
42397+ "application/json; charset=utf-8": {
42398+ data: {
42399+ /**
42400+ * @description The balance of the account
42401+ * @example 1000000
42402+ */
42403+ amount: string;
42404+ /**
42405+ * @description The denomination of the balance
42406+ * @example ukava
42407+ */
42408+ denom: string;
42409+ };
42410+ };
42411+ };
42412+ };
42413+ /** @description Invalid parameters */
42414+ 400: {
42415+ headers: {
42416+ [name: string]: unknown;
42417+ };
42418+ content?: never;
42419+ };
42420+ /** @description Unauthorized */
42421+ 401: {
42422+ headers: {
42423+ [name: string]: unknown;
42424+ };
42425+ content?: never;
42426+ };
42427+ /** @description Internal server error */
42428+ 500: {
42429+ headers: {
42430+ [name: string]: unknown;
42431+ };
42432+ content?: never;
42433+ };
42434+ };
42435+ };
4234542436 postKavaStakeTx: {
4234642437 parameters: {
4234742438 query?: never;
@@ -43063,13 +43154,13 @@ export interface operations {
4306343154 };
4306443155 responses: {
4306543156 /** @description Successful operation */
43066- 201 : {
43157+ 200 : {
4306743158 headers: {
4306843159 [name: string]: unknown;
4306943160 };
4307043161 content: {
4307143162 "application/json; charset=utf-8": {
43072- data? : {
43163+ data: {
4307343164 /**
4307443165 * @description The balance of the account
4307543166 * @example 1000000
@@ -44548,7 +44639,7 @@ export interface operations {
4454844639 };
4454944640 responses: {
4455044641 /** @description Successful operation */
44551- 201 : {
44642+ 200 : {
4455244643 headers: {
4455344644 [name: string]: unknown;
4455444645 };
@@ -45127,13 +45218,13 @@ export interface operations {
4512745218 };
4512845219 responses: {
4512945220 /** @description Successful operation */
45130- 201 : {
45221+ 200 : {
4513145222 headers: {
4513245223 [name: string]: unknown;
4513345224 };
4513445225 content: {
4513545226 "application/json; charset=utf-8": {
45136- data? : {
45227+ data: {
4513745228 /**
4513845229 * @description The balance of the account
4513945230 * @example 1000000
0 commit comments