From 5c1959ae6bd4dc47abd7ab1ae36a1cfe772b5a42 Mon Sep 17 00:00:00 2001 From: Kiln Bot Date: Fri, 20 Dec 2024 17:42:48 +0000 Subject: [PATCH 1/2] Update OpenAPI schema --- src/openapi/schema.ts | 11315 +++++++++++++++++++++++++++++----------- 1 file changed, 8248 insertions(+), 3067 deletions(-) diff --git a/src/openapi/schema.ts b/src/openapi/schema.ts index 233573a..21ced73 100644 --- a/src/openapi/schema.ts +++ b/src/openapi/schema.ts @@ -1760,6 +1760,215 @@ export interface paths { patch?: never; trace?: never; }; + "/cronos/stakes": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Stakes + * @description Retrieve the status of Cronos stakes, expressed in microCRO (10⁻⁶ CRO). + * + */ + get: operations["getCronosStakes"]; + put?: never; + /** + * Create stakes + * @description Link an Cronos stake to a Kiln account + */ + post: operations["postCronosStakes"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/cronos/rewards": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Rewards + * @description Get historical rewards by day of Cronos stakes. Units are in microCRO (10⁻⁶ CRO). + */ + get: operations["getCronosRewards"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/cronos/operations": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Operations + * @description Get the operations of Cronos stakes. Units are in microCRO (10⁻⁶ CRO). + */ + get: operations["getCronosOperations"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/cronos/network-stats": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Network Stats + * @description Get some network statistics on Cosmos + */ + get: operations["getCronosNetworkStats"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/cronos/reports": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Reports + * @description Get reports on Cosmos staking + */ + get: operations["getCronosReports"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/mantra/stakes": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Stakes + * @description Get the status of OM stakes. Units are in uOM (10⁻⁶ OM). + */ + get: operations["getMantraStakes"]; + put?: never; + /** + * Create stakes + * @description Link a Mantra stake to a Kiln account + */ + post: operations["postMantraStakes"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/mantra/rewards": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Rewards + * @description Get historical rewards by day of Mantra stakes. Units are in uOM (10⁻⁶ OM). + */ + get: operations["getMantraRewards"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/mantra/operations": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Operations + * @description Get the operations of Mantra stakes. Units are in uOM (10⁻⁶ OM). + */ + get: operations["getMantraOperations"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/mantra/network-stats": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Network Stats + * @description Get some network statistics on Mantra + */ + get: operations["getMantraNetworkStats"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/mantra/reports": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Reports + * @description Get reports on Mantra staking + */ + get: operations["getMantraReports"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/ada/stakes": { parameters: { query?: never; @@ -6426,6 +6635,166 @@ export interface paths { patch?: never; trace?: never; }; + "/trx/stakes": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Stakes + * @description Get the status of TRX stakes + */ + get: operations["getTrxStakes"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/trx/transaction/stake": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Stake transaction + * @description Craft a stake transaction to obtain bandwidth or energy, and obtain TRON Power. + */ + post: operations["postTrxStakeTx"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/trx/transaction/unstake": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Unstake transaction + * @description Craft an unstake transaction to unstake TRX, releases bandwidth or energy, and voting rights. + */ + post: operations["postTrxUnstakeTx"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/trx/transaction/withdraw-unstaked": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Withdraw unstaked transaction + * @description Craft a withdraw unstaked transaction. + */ + post: operations["postTrxWithdrawUnstakedTx"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/trx/transaction/vote": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Vote transaction + * @description Craft a vote transaction. + */ + post: operations["postTrxVoteTx"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/trx/transaction/withdraw-rewards": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Withdraw rewards transaction + * @description Craft a withdraw rewards transaction. + */ + post: operations["postTrxWithdrawRewardsTx"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/trx/transaction/prepare": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Prepare transaction + * @description Prepare a transaction for broadcast by adding a signature to it. + */ + post: operations["postTrxPrepareTx"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/trx/transaction/broadcast": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Broadcast transaction + * @description Broadcast a signed transaction to the blockchain. + */ + post: operations["postTrxBroadcastTx"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; } export type webhooks = Record; export interface components { @@ -6978,6 +7347,248 @@ export interface components { */ amount: string; }; + ETHOperationKilnExitRequest: { + /** + * @description type of the operation + * @example kiln_exit_request + */ + type: string; + /** + * Format: date-time + * @description Time of the operation + * @example 2023-01-14T01:13:59Z + */ + time: string; + /** + * @description Validator address of the operation + * @example 0x95373bcf8e2c64e1c373a6e534c002f210adbcc84c5abda3b6306677e171430ae50781a51c9f579a47622e334dba2412 + */ + validator_address: string; + /** + * @description Index of the public key of the validator + * @example 1 + */ + validator_index: number; + /** + * @description Hash of the transaction + * @example 0x43244f90814b31dec250de24df5bb023a338790c1d5a39244cf1064cf6d98c94 + */ + tx_hash: string; + /** + * @description Gas used by the transaction in WEI + * @example 2700999916653262 + */ + tx_gas_used: string; + /** + * @description Effective gas price used for this TX in WEI + * @example 1499997889 + */ + tx_effective_gas_price?: string; + /** + * @description Address of the sender of the transaction + * @example 0x41bf25fc8c52d292bd66d3bcecd8a919ecb9ef88 + */ + tx_sender: string; + /** + * @description Slot of the deposit + * @example 15955054 + */ + slot: number; + /** + * @description Block number containing the transaction + * @example 15955054 + */ + block: number; + /** + * @description Base fee used for this block in WEI + * @example 7 + */ + block_base_fee?: string; + /** + * @description Address of the contract from which the request originate + * @example 0x41bf25fc8c52d292bd66d3bcecd8a919ecb9ef88 + */ + emitting_contract: string; + /** + * @description Address that called the contract + * @example 0x41bf25fc8c52d292bd66d3bcecd8a919ecb9ef88 + */ + caller?: string; + }; + ETHOperationLidoExitRequest: { + /** + * @description type of the operation + * @example lido_exit_request + */ + type: string; + /** + * Format: date-time + * @description Time of the operation + * @example 2023-01-14T01:13:59Z + */ + time: string; + /** + * @description Validator address of the operation + * @example 0x95373bcf8e2c64e1c373a6e534c002f210adbcc84c5abda3b6306677e171430ae50781a51c9f579a47622e334dba2412 + */ + validator_address: string; + /** + * @description Index of the public key of the validator + * @example 1 + */ + validator_index: number; + /** + * @description Hash of the transaction + * @example 0x43244f90814b31dec250de24df5bb023a338790c1d5a39244cf1064cf6d98c94 + */ + tx_hash: string; + /** + * @description Gas used by the transaction in WEI + * @example 2700999916653262 + */ + tx_gas_used: string; + /** + * @description Effective gas price used for this TX in WEI + * @example 1499997889 + */ + tx_effective_gas_price?: string; + /** + * @description Address of the sender of the transaction + * @example 0x41bf25fc8c52d292bd66d3bcecd8a919ecb9ef88 + */ + tx_sender: string; + /** + * @description Slot of the deposit + * @example 15955054 + */ + slot: number; + /** + * @description Block number containing the transaction + * @example 15955054 + */ + block: number; + /** + * @description Base fee used for this block in WEI + * @example 7 + */ + block_base_fee?: string; + /** + * @description Address of the contract from which the request originate + * @example 0x41bf25fc8c52d292bd66d3bcecd8a919ecb9ef88 + */ + emitting_contract: string; + }; + ETHOperationRioExitRequest: { + /** + * @description type of the operation + * @example rio_exit_request + */ + type: string; + /** + * Format: date-time + * @description Time of the operation + * @example 2023-01-14T01:13:59Z + */ + time: string; + /** + * @description Validator address of the operation + * @example 0x95373bcf8e2c64e1c373a6e534c002f210adbcc84c5abda3b6306677e171430ae50781a51c9f579a47622e334dba2412 + */ + validator_address: string; + /** + * @description Index of the public key of the validator + * @example 1 + */ + validator_index: number; + /** + * @description Hash of the transaction + * @example 0x43244f90814b31dec250de24df5bb023a338790c1d5a39244cf1064cf6d98c94 + */ + tx_hash: string; + /** + * @description Gas used by the transaction in WEI + * @example 2700999916653262 + */ + tx_gas_used: string; + /** + * @description Effective gas price used for this TX in WEI + * @example 1499997889 + */ + tx_effective_gas_price?: string; + /** + * @description Address of the sender of the transaction + * @example 0x41bf25fc8c52d292bd66d3bcecd8a919ecb9ef88 + */ + tx_sender: string; + /** + * @description Slot of the deposit + * @example 15955054 + */ + slot: number; + /** + * @description Block number containing the transaction + * @example 15955054 + */ + block: number; + /** + * @description Base fee used for this block in WEI + * @example 7 + */ + block_base_fee?: string; + /** + * @description Address of the contract from which the request originate + * @example 0x41bf25fc8c52d292bd66d3bcecd8a919ecb9ef88 + */ + emitting_contract: string; + }; + ETHOperationVoluntaryExit: { + /** + * @description type of the operation + * @example voluntary_exit + */ + type: string; + /** + * Format: date-time + * @description Time of the operation + * @example 2023-01-14T01:13:59Z + */ + time: string; + /** + * @description Validator address of the operation + * @example 0x95373bcf8e2c64e1c373a6e534c002f210adbcc84c5abda3b6306677e171430ae50781a51c9f579a47622e334dba2412 + */ + validator_address: string; + /** + * @description Index of the public key of the validator + * @example 1 + */ + validator_index: number; + /** + * @description Slot of the deposit + * @example 15955054 + */ + slot: number; + /** + * @description Block number containing the transaction + * @example 15955054 + */ + block: number; + /** + * @description Index in the list of Voluntary Exits in the block's payload + * @example 0 + */ + index_in_payload: number; + /** + * @description Exit epoch set in the message sent to the Beacon Chain + * @example 2000 + */ + message_epoch: number; + /** + * @description Signature of the message sent to the Beacon Chain + * @example 0xabc + */ + message_signature: string; + }; ETHStake: { /** * @description Public key of the validator @@ -8253,6 +8864,11 @@ export interface components { * @example 300000000 */ balance?: string; + /** + * @description Balance of the stake in the integration's ERC20 token + * @example 300000000 + */ + shares_balance?: string; /** * @description Rewards of the stake in WEI * @example 300000000 @@ -12531,199 +13147,3579 @@ export interface components { * } */ ATOMTxDecoding: Record; - ADAPostStakesPayload: { - stakes: { - /** - * @description Stake address - * @example stake1u84uqy85qpsln9a49dtv7mrzzp0246v7s2cj7ypjr555ldqenardf - */ - stakeAddress?: string; - }[]; + CRONOSStake: { /** - * @description Kiln Account ID - * @example 92f5bfd4-ea38-4824-84f7-686eddff5539 + * @description Public key of the validator + * @example crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry */ - account_id: string; - }; - ADACraftStakeTxPayload: { + validator_address: string; /** - * Format: uuid - * @description Kiln Account ID to stake into - * @example b7177fd2-fbb3-479f-aa92-db9fb16e229f + * @description Public key of the delegator + * @example cro1mfdn23y2ydnp6j3l3f8rw6r2gzazrmprgxn5xl */ - account_id: string; + delegator_address: string; /** - * @description Wallet that you wish to delegate from - * @example addr1q8rmz6kk2te6z2p44l2uvjgmf5cj5r6l0nwnw6xqk4srnlr5kh8wvl8mw3na7m3fd2py8n3zqs6ueqe0gwcuf9a77z9sxdz9xr + * Format: date-time + * @description Date of first delegation ever for the stake. Unavailable for stakes older than [Theta v7 (12/04/2022)](https://github.com/cosmos/gaia/tree/main/docs/roadmap#cosmos-hub-summary). + * @example 2023-06-16T03:13:23.058547Z */ - wallet: string; + delegated_at?: string; /** - * @description Pool id to delegate to - * @example pool10rdglgh4pzvkf936p2m669qzarr9dusrhmmz9nultm3uvq4eh5k + * @description Block of first delegation ever for the stake. Unavailable for stakes older than [Theta v7 (12/04/2022)](https://github.com/cosmos/gaia/tree/main/docs/roadmap#cosmos-hub-summary). + * @example 15739267 */ - pool_id: string; - }; - ADACraftWithdrawRewardsTxPayload: { + delegated_block?: number; /** - * @description Wallet that you wish to withdraw rewards to - * @example addr1q8rmz6kk2te6z2p44l2uvjgmf5cj5r6l0nwnw6xqk4srnlr5kh8wvl8mw3na7m3fd2py8n3zqs6ueqe0gwcuf9a77z9sxdz9xr + * Format: date-time + * @description Date of undelegation for the stake + * @example 2023-07-14T03:56:13.561156Z */ - wallet: string; + undelegated_at?: string; /** - * @description Optional amount of rewards to withdraw in lovelace. 1 ADA = 1,000,000 lovelace. If omitted, all available rewards will be withdrawn. - * @example 1000000 + * @description Block of undelegation for the stake + * @example 16126416 */ - amount_lovelace?: string; - }; - ADACraftUnstakeTxPayload: { + undelegated_block?: number; /** - * @description Wallet that you wish to undelegate - * @example addr1q8rmz6kk2te6z2p44l2uvjgmf5cj5r6l0nwnw6xqk4srnlr5kh8wvl8mw3na7m3fd2py8n3zqs6ueqe0gwcuf9a77z9sxdz9xr + * @description Total rewards accumulated by this stake since its first ever delegation in basecro. Includes currently available rewards not yet withdrawn. + * @example 735573808534727891000000 */ - wallet: string; - }; - ADAPrepareTxPayload: { + rewards: string; /** - * @description Unsigned serialized transaction - * @example 0300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000063b2b5ef76d483b695bc3b954d9a372ca5f744e00279c8578bc4268d570b701a037fac575ae16bb3ba5702b8d5bd9930953453e2d628368f83a11ab5896d20bbcae0b4a119860afd99da20f3462ba15d8bd1528d73724b83e8cc4cee00787df28a181783c264113ef1870bae5a90987fc5cfcdffaddf23c7dcfd7585c13d10b0301080c373c6f8e84c6822a9f87035f65cccf899eef3fcdee61077041a93e1805bab24e1bb5f70b4d3ae65feb6d20587f62ccc8d5e720e99abe3d4415972bbf74a8a88a51f5f3871e65b84cc393458d0f23a413184cf2bb7093ae4e2c99d55b39a575c5f98e3135fcb53e71e6fafcb4da3a3cc36af1c76a1a7e72aa12eae1346d724c6c00000000000000000000000000000000000000000000000000000000000000004792650d1e9a4fe99721617c7d47c8712c14c20a76bf043368c6528c9090531a06a1d8179137542a983437bdfe2a7ab2557f535c8a78722b68a49dc00000000006a1d817a502050b680791e6ce6db88e1e5b7150f61fc6790a4eb4d10000000006a7d51718c774c928566398691d5eb68b5eb8a39b4b6d5c73555b210000000006a7d517192c568ee08a845f73d29788cf035c3145b21ab344d8062ea940000006a7d517192c5c51218cc94c3d4af17f58daee089ba1fd44e3dbd98a0000000006a7d517193584d0feed9bb3431d13206be544281b57b8566cc5375ff4000000f0973e76495f3ffc65798a529de5cba4ec7f47f17669c9fa256923f099a1cda304040303090204040000000402000134000000000080c6a47e8d0300c80000000000000006a1d8179137542a983437bdfe2a7ab2557f535c8a78722b68a49dc0000000000602010a7400000000373c6f8e84c6822a9f87035f65cccf899eef3fcdee61077041a93e1805bab24e373c6f8e84c6822a9f87035f65cccf899eef3fcdee61077041a93e1805bab24e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006060105080b07000402000000 + * @description Available rewards in basecro that can be withdrawn from this stake + * @example 36748808534727891000000 */ - unsigned_tx_serialized: string; + available_rewards: string; /** - * @description Signed messages - * @example null + * @description Staked balance on this stake in basecro + * @example 6300000000000000000000000 */ - signed_messages: { - /** @description Public key of the signing key */ - pubkey?: string; - /** @description Signature of the message */ - signature?: string; - }[]; - }; - ADABroadcastTxPayload: { + balance: string; /** - * @description Signed serialized transaction - * @example 0300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000063b2b5ef76d483b695bc3b954d9a372ca5f744e00279c8578bc4268d570b701a037fac575ae16bb3ba5702b8d5bd9930953453e2d628368f83a11ab5896d20bbcae0b4a119860afd99da20f3462ba15d8bd1528d73724b83e8cc4cee00787df28a181783c264113ef1870bae5a90987fc5cfcdffaddf23c7dcfd7585c13d10b0301080c373c6f8e84c6822a9f87035f65cccf899eef3fcdee61077041a93e1805bab24e1bb5f70b4d3ae65feb6d20587f62ccc8d5e720e99abe3d4415972bbf74a8a88a51f5f3871e65b84cc393458d0f23a413184cf2bb7093ae4e2c99d55b39a575c5f98e3135fcb53e71e6fafcb4da3a3cc36af1c76a1a7e72aa12eae1346d724c6c00000000000000000000000000000000000000000000000000000000000000004792650d1e9a4fe99721617c7d47c8712c14c20a76bf043368c6528c9090531a06a1d8179137542a983437bdfe2a7ab2557f535c8a78722b68a49dc00000000006a1d817a502050b680791e6ce6db88e1e5b7150f61fc6790a4eb4d10000000006a7d51718c774c928566398691d5eb68b5eb8a39b4b6d5c73555b210000000006a7d517192c568ee08a845f73d29788cf035c3145b21ab344d8062ea940000006a7d517192c5c51218cc94c3d4af17f58daee089ba1fd44e3dbd98a0000000006a7d517193584d0feed9bb3431d13206be544281b57b8566cc5375ff4000000f0973e76495f3ffc65798a529de5cba4ec7f47f17669c9fa256923f099a1cda304040303090204040000000402000134000000000080c6a47e8d0300c80000000000000006a1d8179137542a983437bdfe2a7ab2557f535c8a78722b68a49dc0000000000602010a7400000000373c6f8e84c6822a9f87035f65cccf899eef3fcdee61077041a93e1805bab24e373c6f8e84c6822a9f87035f65cccf899eef3fcdee61077041a93e1805bab24e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006060105080b07000402000000 + * @description Net annual percentage yield. Unavailable for stakes older than [Theta v7 (12/04/2022)](https://github.com/cosmos/gaia/tree/main/docs/roadmap#cosmos-hub-summary). + * @example 5.76 */ - tx_serialized: string; - }; - ADATxStatus: { + net_apy: number; /** - * @description Transaction status - * @example success + * @description State of the CRO stake + * @example active * @enum {string} */ - status?: "success" | "pending_confirmation"; + state: "active" | "deactivating" | "inactive"; /** - * @description Transaction receipt. Object shape can be found [here](https://github.com/blockfrost/openapi/blob/master/src/generated-types.ts#L4493) - * @example { - * "hash": "20082206aadbbb2dfded4afc9346831c5bd3a6a3f8a75f59dbe6166c05e918f6", - * "block": "2612449e345ec0f58aae05c693a09943f599592e28eedec70ee8c1a4f3d1e834", - * "block_height": 660450, - * "block_time": 1677170968, - * "slot": 21487768, - * "index": 1, - * "output_amount": [ - * { - * "unit": "lovelace", - * "quantity": "10027100000" - * } - * ], - * "fees": "300000", - * "deposit": "2000000", - * "size": 429, - * "invalid_before": null, - * "invalid_hereafter": "21494910", - * "utxo_count": 2, - * "withdrawal_count": 0, - * "mir_cert_count": 0, - * "delegation_count": 1, - * "stake_cert_count": 1, - * "pool_update_count": 0, - * "pool_retire_count": 0, - * "asset_mint_or_burn_count": 0, - * "redeemer_count": 0, - * "valid_contract": true - * } + * Format: date-time + * @description Last date this data was updated + * @example 2023-01-14T01:13:59Z */ - receipt?: Record; + updated_at?: string; + /** @description permissions related to the stake currently active, ignored if there is no ongoing grants */ + permissions: { + /** + * @description whether the stake is recipient (grantee) or the giver (granter) of the permissions + * @example granter + */ + source?: string; + /** + * @description Block at which the unbonding was created + * @example 15000000 + */ + creation_height?: number; + /** + * @description Kind of permission been grantee, can be: "Staking.MsgDelegate", "Staking.MsgUndelegate", "Staking.MsgRedelegate" or "Distribution.MsgWithdrawDelegatorReward" + * @example Staking.MsgDelegate + */ + permission?: string; + /** + * Format: date-time + * @description Exact time at which the permissions will be revoked + * @example 2023-01-10T01:12:34Z + */ + expires_at?: string | null; + /** + * @description List of address on which the granted permission can be applied (ie validator on which delegation is allowed) + * @example [ + * "crovaloper1xyz", + * "crovaloper1abc" + * ] + */ + allow_list?: string[] | null; + /** + * @description List of address on which the granted permission cannot be applied (ie validator on which delegation is allowed) + * @example [ + * "crovaloper1xyz", + * "crovaloper1abc" + * ] + */ + deny_list?: string[] | null; + }[]; + /** @description unbondings currently active on the stakes. ignored if no unbondings are returned */ + unbondings: { + /** + * @description Block at which the unbonding was created + * @example 15000000 + */ + creation_height: number; + /** + * Format: date-time + * @description Exact time at which the unbonding will take effect + * @example 2023-01-10T01:12:34Z + */ + completion_time: string; + /** + * @description Amount currently associated with the unbonding (slashes included) + * @example 129300 + */ + balance: string; + /** + * @description Amount expected at creation (slashes non-included) + * @example 150300 + */ + initial_balance: string; + }[]; }; - ADAUnsignedTx: { + PostCRONOSStakesPayload: { + stakes: { + /** + * @description Stake id {validator_address}_{delegator_address} + * @example crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry_cro1egww25see7x6pg2lp2mhmnd5s6smzlfmdlwm0h} + */ + stakeId?: string; + }[]; /** - * @description Hash of the unsigned transaction - * @example ea62bc381a2d8fc338f24634674a168fdc8f1a09b978f24f026041f4e00c876f + * @description Kiln Account ID + * @example 92f5bfd4-ea38-4824-84f7-686eddff5539 */ - unsigned_tx_hash: string; + account_id: string; + }; + CRONOSStakeMessage: { /** - * @description Unsigned serialized transaction - * @example 84a500818258203d244a2821a0cb32df614cf4380e6c6e0114bc7c734cfa2a3940498ad86865e100018182583900491a1d0747fa91f319625e39076232ad4cc274e3257f345ced82dbb2a8565045c49103b521a3827ff64b98889350a22fa9a0b5ccf72b279b1b0000000255928400021a000493e0031a01ad4330048282008200581ca8565045c49103b521a3827ff64b98889350a22fa9a0b5ccf72b279b83028200581ca8565045c49103b521a3827ff64b98889350a22fa9a0b5ccf72b279b581ce54d5f9340218a9816cafafc92dc3d5212b6d149ce75e9637cbcd7e0a0f5f6 + * @description Type URL of the message + * @example /cosmos.staking.v1beta1.MsgDelegate */ - unsigned_tx_serialized: string; + typeUrl?: string; /** - * @description List of inputs to spend - * @example [ - * { - * "transaction_id": "3d244a2821a0cb32df614cf4380e6c6e0114bc7c734cfa2a3940498ad86865e1", - * "index": 0 + * @description Message value + * @example { + * "delegatorAddress": "cro1egww25see7x6pg2lp2mhmnd5s6smzlfmdlwm0h", + * "validatorAddress": "crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry", + * "amount": { + * "denom": "basecro", + * "amount": "1000000" * } - * ] + * } */ - inputs: Record[]; + value?: Record; }; - ADASignedTx: { + CRONOSStakeMessageRestake: { /** - * @description Signed serialized transaction - * @example 84a500818258203d244a2821a0cb32df614cf4380e6c6e0114bc7c734cfa2a3940498ad86865e100018182583900491a1d0747fa91f319625e39076232ad4cc274e3257f345ced82dbb2a8565045c49103b521a3827ff64b98889350a22fa9a0b5ccf72b279b1b0000000255928400021a000493e0031a01ad4330048282008200581ca8565045c49103b521a3827ff64b98889350a22fa9a0b5ccf72b279b83028200581ca8565045c49103b521a3827ff64b98889350a22fa9a0b5ccf72b279b581ce54d5f9340218a9816cafafc92dc3d5212b6d149ce75e9637cbcd7e0a0f5f6 + * @description Type URL of the message + * @example /cosmos.staking.v1beta1.StakeAuthorization */ - signed_tx_serialized: string; - }; - ADATxHash: { + typeUrl?: string; /** - * @description Hash of the transaction - * @example 7f12d9eacd762d130838289397480e495db0fd268bd3be4fd55c74a74fd8372d + * @description Message value + * @example { + * "allowList": { + * "address": [ + * "crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry" + * ] + * }, + * "AuthorizationType": 1 + * } */ - tx_hash: string; + value?: Record; }; - ADAStake: { - /** - * @description The list of wallet addresses associated to the stake address - * @example [ - * "addr_test1qqumsdyju8ee4tvee7kyzd6jenkl9jvgdjtzqlf729wqd66eay504fk550rss8ckhksw3t742vf5vy99kyxpz60cxqcqdeu78t" - * ] - */ - wallet_addresses: string[]; + CRONOSStakeUnsignedTx: { /** - * @description The stake address - * @example stake_test1upv7j2865m2283cgruttmg8g4l24xy6xzzjmzrq3d8urqvqla4ngk + * @description Unsigned serialized transaction + * @example 0adf010adc010a2a2f636f736d6f732e7374616b696e672e763162657461312e4d7367426567696e526564656c656761746512ad010a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f70657231307636777664656e65653872396c36776c73706863677572326c746c387a746b6672766a39611a34636f736d6f7376616c6f70657231796d7a336b6a7466397a6b666d6d3273326c7279376568307a6439657a33766335797030306622100a057561746f6d12073433313030303012670a500a460a1f2f636f736d6f732e63727970746f2e736563703235366b312e5075624b657912230a21039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f4612040a020801186d12130a0d0a057561746f6d1204353030301080897a1a1174686574612d746573746e65742d30303120e0cd2a */ - stake_address: string; + unsigned_tx_serialized: string; /** - * @description The pool id associated to the stake address - * @example pool1u4x4ly6qyx9fs9k2lt7f9hpa2gftd52fee67jcmuhnt7qqae3x0 + * @description Hash of the unsigned transaction + * @example b6ce1c8185416ce7d42a8c39566a9a2b6b2361a55c04a1dba3dd7445a0e1e364 */ - pool_id: string; + unsigned_tx_hash: string; /** - * @description Current stake balance in Lovelace - * @example 30004690613 + * @description Transaction body serialized in hex + * @example 0a9e010a232f636f736d6f732e7374616b696e672e763162657461312e4d736744656c656761746512770a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f706572313679733065673933356d6b71706b79646b6766636a39616765326175386c39366e61657265391a100a057561746f6d120731303030303030 */ - balance: string; + tx_body: string; /** - * @description Total stake rewards in Lovelace - * @example 37201548 + * @description Transaction auth info serialized in hex + * @example 0a2c0a2a0a28636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a716561746576120a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f706572313679733065673933356d6b71706b79646b6766636a39616765326175386c39366e6165726539 */ - rewards: string; + tx_auth_info: string; /** - * @description Withdrawal amount of rewards in Lovelace - * @example 4588 + * @description Wallet compressed public key, this is different than the wallet address + * @example 039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f46 */ - available_rewards: string; + pubkey: string; /** - * @description Epoch of the last delegation - * @example 42 + * @description Fee included in the transaction. Object shape can be found [here](https://github.com/cosmos/cosmjs/blob/72da7971ee4fd77fec1bfef2ec1ba4f14f8c319d/packages/amino/src/signdoc.ts#L12) + * @example { + * "amount": [ + * { + * "denom": "basecro", + * "amount": "5000" + * } + * ], + * "gas": "200000" + * } */ - delegated_epoch: number; + fee: Record; /** - * Format: date-time - * @description Date of the last delegation + * @description List of messages included in the transaction. The list contains one message for the staking delegation and one more message for rewards restaking in case specified as a parameter (`restake_rewards=true`). + * @example [ + * { + * "typeUrl": "/cosmos.staking.v1beta1.MsgDelegate", + * "value": { + * "delegatorAddress": "cro1egww25see7x6pg2lp2mhmnd5s6smzlfmdlwm0h", + * "validatorAddress": "crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry", + * "amount": { + * "denom": "basecro", + * "amount": "1000000" + * } + * } + * }, + * { + * "typeUrl": "/cosmos.staking.v1beta1.StakeAuthorization", + * "allowList": { + * "address": [ + * "crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry" + * ] + * }, + * "AuthorizationType": 1 + * } + * ] + */ + messages: (components["schemas"]["CRONOSStakeMessage"] | components["schemas"]["CRONOSStakeMessageRestake"])[]; + /** + * @description Chain ID + * @example cosmoshub-4 + */ + chain_id: string; + /** + * @description Account number + * @example 1234 + */ + account_number: number; + }; + CRONOSUnsignedTx: { + /** + * @description Unsigned serialized transaction + * @example 0adf010adc010a2a2f636f736d6f732e7374616b696e672e763162657461312e4d7367426567696e526564656c656761746512ad010a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f70657231307636777664656e65653872396c36776c73706863677572326c746c387a746b6672766a39611a34636f736d6f7376616c6f70657231796d7a336b6a7466397a6b666d6d3273326c7279376568307a6439657a33766335797030306622100a057561746f6d12073433313030303012670a500a460a1f2f636f736d6f732e63727970746f2e736563703235366b312e5075624b657912230a21039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f4612040a020801186d12130a0d0a057561746f6d1204353030301080897a1a1174686574612d746573746e65742d30303120e0cd2a + */ + unsigned_tx_serialized: string; + /** + * @description Hash of the unsigned transaction + * @example b6ce1c8185416ce7d42a8c39566a9a2b6b2361a55c04a1dba3dd7445a0e1e364 + */ + unsigned_tx_hash: string; + /** + * @description Transaction body serialized in hex + * @example 0a9e010a232f636f736d6f732e7374616b696e672e763162657461312e4d736744656c656761746512770a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f706572313679733065673933356d6b71706b79646b6766636a39616765326175386c39366e61657265391a100a057561746f6d120731303030303030 + */ + tx_body: string; + /** + * @description Transaction auth info serialized in hex + * @example 0a2c0a2a0a28636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a716561746576120a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f706572313679733065673933356d6b71706b79646b6766636a39616765326175386c39366e6165726539 + */ + tx_auth_info: string; + /** + * @description Wallet compressed public key, this is different than the wallet address + * @example 039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f46 + */ + pubkey: string; + /** + * @description Message included in the transaction + * @example { + * "typeUrl": "/cosmos.staking.v1beta1.MsgDelegate", + * "value": { + * "delegatorAddress": "cro1egww25see7x6pg2lp2mhmnd5s6smzlfmdlwm0h", + * "validatorAddress": "crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry", + * "amount": { + * "denom": "basecro", + * "amount": "1000000" + * } + * } + * } + */ + message: Record; + /** + * @description Fee included in the transaction. Object shape can be found [here](https://github.com/cosmos/cosmjs/blob/72da7971ee4fd77fec1bfef2ec1ba4f14f8c319d/packages/amino/src/signdoc.ts#L12) + * @example { + * "amount": [ + * { + * "denom": "basecro", + * "amount": "5000" + * } + * ], + * "gas": "200000" + * } + */ + fee: Record; + /** + * @description Chain ID + * @example cosmoshub-4 + */ + chain_id: string; + /** + * @description Account number + * @example 1234 + */ + account_number: number; + }; + CRONOSSignedTx: { + /** + * @description Serialized signed transaction in hex + * @example 0aa1010a9e010a232f636f736d6f732e7374616b696e672e763162657461312e4d736744656c656761746512770a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f706572313679733065673933356d6b71706b79646b6766636a39616765326175386c39366e61657265391a100a057561746f6d12073130303030303012670a500a460a1f2f636f736d6f732e63727970746f2e736563703235366b312e5075624b657912230a21039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f4612040a020801182012130a0d0a057561746f6d12043530303010e0a7121a40191f87a54dceafb6ab9a5f112a13444ca37e49a029e531bb21301fd72e9d390304c763cca5a9760a631dc85705dd6b08b50f5fff7d5de8d73b2cebd1f4c3b6a0 + */ + signed_tx_serialized: string; + }; + CRONOSTxHash: { + /** + * @description Hash of the transaction + * @example 2B4F732E12D5D5AF1F907AD03B199167A718EDC6201DE5713143AB80990420CB + */ + tx_hash: string; + }; + CRONOSPrepareTxPayload: { + /** + * @description Wallet public key (compressed or uncompressed), this is different than the wallet address + * @example 039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f46 + */ + pubkey: string; + /** + * @description Transaction body serialized in hex + * @example 0a9e010a232f636f736d6f732e7374616b696e672e763162657461312e4d736744656c656761746512770a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f706572313679733065673933356d6b71706b79646b6766636a39616765326175386c39366e61657265391a100a057561746f6d120731303030303030 + */ + tx_body: string; + /** + * @description Transaction auth info serialized in hex + * @example 0a2c0a2a0a28636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a716561746576120a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f706572313679733065673933356d6b71706b79646b6766636a39616765326175386c39366e6165726539 + */ + tx_auth_info: string; + /** + * @description Transaction signature serialized in hex + * @example 191f87a54dceafb6ab9a5f112a13444ca37e49a029e531bb21301fd72e9d390304c763cca5a9760a631dc85705dd6b08b50f5fff7d5de8d73b2cebd1f4c3b6a0 + */ + signature: string; + }; + CRONOSBroadcastTxPayload: { + /** + * @description Signed transaction serialized in hex + * @example 0aa1010a9e010a232f636f736d6f732e7374616b696e672e763162657461312e4d736744656c656761746512770a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f706572313679733065673933356d6b71706b79646b6766636a39616765326175386c39366e61657265391a100a057561746f6d12073130303030303012670a500a460a1f2f636f736d6f732e63727970746f2e736563703235366b312e5075624b657912230a21039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f4612040a020801182012130a0d0a057561746f6d12043530303010e0a7121a40191f87a54dceafb6ab9a5f112a13444ca37e49a029e531bb21301fd72e9d390304c763cca5a9760a631dc85705dd6b08b50f5fff7d5de8d73b2cebd1f4c3b6a0 + */ + tx_serialized: string; + }; + CRONOSTxStatus: { + /** + * @description Transaction status + * @example success + * @enum {string} + */ + status?: "success" | "error"; + /** + * @description Transaction receipt. Only present if status is success. Object shape can be found [here](https://github.com/cosmos/cosmjs/blob/e8e65aa0c145616ccb58625c32bffe08b46ff574/packages/stargate/src/stargateclient.ts#L67) + * @example { + * "height": 16007296, + * "txIndex": 0, + * "hash": "2B4F732E12D5D5AF1F907AD03B199167A718EDC6201DE5713143AB80990420CB", + * "code": 0, + * "events": [ + * { + * "type": "coin_spent", + * "attributes": [ + * { + * "key": "spender", + * "value": "cro19c9fdh488vqjclltwp68jm50ydwyh36jqeatev" + * }, + * { + * "key": "amount", + * "value": "5000basecro" + * } + * ] + * }, + * { + * "type": "coin_received", + * "attributes": [ + * { + * "key": "receiver", + * "value": "cro17xpfvakm2amg962yls6f84z3kell8c5lserqta" + * }, + * { + * "key": "amount", + * "value": "5000basecro" + * } + * ] + * }, + * { + * "type": "transfer", + * "attributes": [ + * { + * "key": "recipient", + * "value": "cro17xpfvakm2amg962yls6f84z3kell8c5lserqta" + * }, + * { + * "key": "sender", + * "value": "cro19c9fdh488vqjclltwp68jm50ydwyh36jqeatev" + * }, + * { + * "key": "amount", + * "value": "5000basecro" + * } + * ] + * }, + * { + * "type": "message", + * "attributes": [ + * { + * "key": "sender", + * "value": "cro19c9fdh488vqjclltwp68jm50ydwyh36jqeatev" + * } + * ] + * }, + * { + * "type": "tx", + * "attributes": [ + * { + * "key": "fee", + * "value": "5000basecro" + * }, + * { + * "key": "fee_payer", + * "value": "cro19c9fdh488vqjclltwp68jm50ydwyh36jqeatev" + * } + * ] + * }, + * { + * "type": "tx", + * "attributes": [ + * { + * "key": "acc_seq", + * "value": "cro19c9fdh488vqjclltwp68jm50ydwyh36jqeatev/33" + * } + * ] + * }, + * { + * "type": "tx", + * "attributes": [ + * { + * "key": "signature", + * "value": "GR+HpU3Or7arml8RKhNETKN+SaAp5TG7ITAf1y6dOQMEx2PMpal2CmMdyFcF3WsItQ9f/31d6Nc7LOvR9MO2oA==" + * } + * ] + * }, + * { + * "type": "message", + * "attributes": [ + * { + * "key": "action", + * "value": "/cosmos.staking.v1beta1.MsgDelegate" + * } + * ] + * }, + * { + * "type": "coin_spent", + * "attributes": [ + * { + * "key": "spender", + * "value": "cro1jv65s3grqf6v6jl3dp4t6c9t9rk99cd88lyufl" + * }, + * { + * "key": "amount", + * "value": "5basecro" + * } + * ] + * }, + * { + * "type": "coin_received", + * "attributes": [ + * { + * "key": "receiver", + * "value": "cro19c9fdh488vqjclltwp68jm50ydwyh36jqeatev" + * }, + * { + * "key": "amount", + * "value": "5basecro" + * } + * ] + * }, + * { + * "type": "transfer", + * "attributes": [ + * { + * "key": "recipient", + * "value": "cro19c9fdh488vqjclltwp68jm50ydwyh36jqeatev" + * }, + * { + * "key": "sender", + * "value": "cro1jv65s3grqf6v6jl3dp4t6c9t9rk99cd88lyufl" + * }, + * { + * "key": "amount", + * "value": "5basecro" + * } + * ] + * }, + * { + * "type": "message", + * "attributes": [ + * { + * "key": "sender", + * "value": "cro1jv65s3grqf6v6jl3dp4t6c9t9rk99cd88lyufl" + * } + * ] + * }, + * { + * "type": "withdraw_rewards", + * "attributes": [ + * { + * "key": "amount", + * "value": "5basecro" + * }, + * { + * "key": "validator", + * "value": "crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry" + * } + * ] + * }, + * { + * "type": "coin_spent", + * "attributes": [ + * { + * "key": "spender", + * "value": "cro19c9fdh488vqjclltwp68jm50ydwyh36jqeatev" + * }, + * { + * "key": "amount", + * "value": "100000basecro" + * } + * ] + * }, + * { + * "type": "coin_received", + * "attributes": [ + * { + * "key": "receiver", + * "value": "cro1fl48vsnmsdzcv85q5d2q4z5ajdha8yu34mf0eh" + * }, + * { + * "key": "amount", + * "value": "100000basecro" + * } + * ] + * }, + * { + * "type": "delegate", + * "attributes": [ + * { + * "key": "validator", + * "value": "crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry" + * }, + * { + * "key": "amount", + * "value": "100000basecro" + * }, + * { + * "key": "new_shares", + * "value": "100000.000000000000000000" + * } + * ] + * }, + * { + * "type": "message", + * "attributes": [ + * { + * "key": "module", + * "value": "staking" + * }, + * { + * "key": "sender", + * "value": "cro19c9fdh488vqjclltwp68jm50ydwyh36jqeatev" + * } + * ] + * } + * ], + * "rawLog": "[{\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"cro19c9fdh488vqjclltwp68jm50ydwyh36jqeatev\"},{\"key\":\"amount\",\"value\":\"5basecro\"},{\"key\":\"receiver\",\"value\":\"cro1fl48vsnmsdzcv85q5d2q4z5ajdha8yu34mf0eh\"},{\"key\":\"amount\",\"value\":\"100000basecro\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"cro1jv65s3grqf6v6jl3dp4t6c9t9rk99cd88lyufl\"},{\"key\":\"amount\",\"value\":\"5basecro\"},{\"key\":\"spender\",\"value\":\"cro19c9fdh488vqjclltwp68jm50ydwyh36jqeatev\"},{\"key\":\"amount\",\"value\":\"100000basecro\"}]},{\"type\":\"delegate\",\"attributes\":[{\"key\":\"validator\",\"value\":\"crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry\"},{\"key\":\"amount\",\"value\":\"100000basecro\"},{\"key\":\"new_shares\",\"value\":\"100000.000000000000000000\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.staking.v1beta1.MsgDelegate\"},{\"key\":\"sender\",\"value\":\"cro1jv65s3grqf6v6jl3dp4t6c9t9rk99cd88lyufl\"},{\"key\":\"module\",\"value\":\"staking\"},{\"key\":\"sender\",\"value\":\"cro19c9fdh488vqjclltwp68jm50ydwyh36jqeatev\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"cro19c9fdh488vqjclltwp68jm50ydwyh36jqeatev\"},{\"key\":\"sender\",\"value\":\"cro1jv65s3grqf6v6jl3dp4t6c9t9rk99cd88lyufl\"},{\"key\":\"amount\",\"value\":\"5basecro\"}]},{\"type\":\"withdraw_rewards\",\"attributes\":[{\"key\":\"amount\",\"value\":\"5basecro\"},{\"key\":\"validator\",\"value\":\"crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry\"}]}]}]", + * "tx": { + * "0": 10, + * "1": 160, + * "2": 1, + * "3": 10, + * "4": 157, + * "5": 1, + * "6": 10, + * "7": 35, + * "8": 47, + * "9": 99, + * "10": 111, + * "11": 115, + * "12": 109, + * "13": 111, + * "14": 115, + * "15": 46, + * "16": 115, + * "17": 116, + * "18": 97, + * "19": 107, + * "20": 105, + * "21": 110, + * "22": 103, + * "23": 46, + * "24": 118, + * "25": 49, + * "26": 98, + * "27": 101, + * "28": 116, + * "29": 97, + * "30": 49, + * "31": 46, + * "32": 77, + * "33": 115, + * "34": 103, + * "35": 68, + * "36": 101, + * "37": 108, + * "38": 101, + * "39": 103, + * "40": 97, + * "41": 116, + * "42": 101, + * "43": 18, + * "44": 118, + * "45": 10, + * "46": 45, + * "47": 99, + * "48": 111, + * "49": 115, + * "50": 109, + * "51": 111, + * "52": 115, + * "53": 49, + * "54": 57, + * "55": 99, + * "56": 57, + * "57": 102, + * "58": 100, + * "59": 104, + * "60": 52, + * "61": 56, + * "62": 56, + * "63": 118, + * "64": 113, + * "65": 106, + * "66": 99, + * "67": 108, + * "68": 108, + * "69": 116, + * "70": 119, + * "71": 112, + * "72": 54, + * "73": 56, + * "74": 106, + * "75": 109, + * "76": 53, + * "77": 48, + * "78": 121, + * "79": 100, + * "80": 119, + * "81": 121, + * "82": 104, + * "83": 51, + * "84": 54, + * "85": 106, + * "86": 113, + * "87": 101, + * "88": 97, + * "89": 116, + * "90": 101, + * "91": 118, + * "92": 18, + * "93": 52, + * "94": 99, + * "95": 111, + * "96": 115, + * "97": 109, + * "98": 111, + * "99": 115, + * "100": 118, + * "101": 97, + * "102": 108, + * "103": 111, + * "104": 112, + * "105": 101, + * "106": 114, + * "107": 49, + * "108": 54, + * "109": 121, + * "110": 115, + * "111": 48, + * "112": 101, + * "113": 103, + * "114": 57, + * "115": 51, + * "116": 53, + * "117": 109, + * "118": 107, + * "119": 113, + * "120": 112, + * "121": 107, + * "122": 121, + * "123": 100, + * "124": 107, + * "125": 103, + * "126": 102, + * "127": 99, + * "128": 106, + * "129": 57, + * "130": 97, + * "131": 103, + * "132": 101, + * "133": 50, + * "134": 97, + * "135": 117, + * "136": 56, + * "137": 108, + * "138": 57, + * "139": 54, + * "140": 110, + * "141": 97, + * "142": 101, + * "143": 114, + * "144": 101, + * "145": 57, + * "146": 26, + * "147": 15, + * "148": 10, + * "149": 5, + * "150": 117, + * "151": 97, + * "152": 116, + * "153": 111, + * "154": 109, + * "155": 18, + * "156": 6, + * "157": 49, + * "158": 48, + * "159": 48, + * "160": 48, + * "161": 48, + * "162": 48, + * "163": 18, + * "164": 103, + * "165": 10, + * "166": 80, + * "167": 10, + * "168": 70, + * "169": 10, + * "170": 31, + * "171": 47, + * "172": 99, + * "173": 111, + * "174": 115, + * "175": 109, + * "176": 111, + * "177": 115, + * "178": 46, + * "179": 99, + * "180": 114, + * "181": 121, + * "182": 112, + * "183": 116, + * "184": 111, + * "185": 46, + * "186": 115, + * "187": 101, + * "188": 99, + * "189": 112, + * "190": 50, + * "191": 53, + * "192": 54, + * "193": 107, + * "194": 49, + * "195": 46, + * "196": 80, + * "197": 117, + * "198": 98, + * "199": 75, + * "200": 101, + * "201": 121, + * "202": 18, + * "203": 35, + * "204": 10, + * "205": 33, + * "206": 3, + * "207": 156, + * "208": 228, + * "209": 123, + * "210": 42, + * "211": 129, + * "212": 61, + * "213": 19, + * "214": 135, + * "215": 97, + * "216": 49, + * "217": 169, + * "218": 195, + * "219": 190, + * "220": 119, + * "221": 232, + * "222": 196, + * "223": 175, + * "224": 164, + * "225": 158, + * "226": 148, + * "227": 135, + * "228": 68, + * "229": 171, + * "230": 190, + * "231": 225, + * "232": 31, + * "233": 147, + * "234": 158, + * "235": 42, + * "236": 66, + * "237": 15, + * "238": 70, + * "239": 18, + * "240": 4, + * "241": 10, + * "242": 2, + * "243": 8, + * "244": 1, + * "245": 24, + * "246": 33, + * "247": 18, + * "248": 19, + * "249": 10, + * "250": 13, + * "251": 10, + * "252": 5, + * "253": 117, + * "254": 97, + * "255": 116, + * "256": 111, + * "257": 109, + * "258": 18, + * "259": 4, + * "260": 53, + * "261": 48, + * "262": 48, + * "263": 48, + * "264": 16, + * "265": 224, + * "266": 167, + * "267": 18, + * "268": 26, + * "269": 64, + * "270": 25, + * "271": 31, + * "272": 135, + * "273": 165, + * "274": 77, + * "275": 206, + * "276": 175, + * "277": 182, + * "278": 171, + * "279": 154, + * "280": 95, + * "281": 17, + * "282": 42, + * "283": 19, + * "284": 68, + * "285": 76, + * "286": 163, + * "287": 126, + * "288": 73, + * "289": 160, + * "290": 41, + * "291": 229, + * "292": 49, + * "293": 187, + * "294": 33, + * "295": 48, + * "296": 31, + * "297": 215, + * "298": 46, + * "299": 157, + * "300": 57, + * "301": 3, + * "302": 4, + * "303": 199, + * "304": 99, + * "305": 204, + * "306": 165, + * "307": 169, + * "308": 118, + * "309": 10, + * "310": 99, + * "311": 29, + * "312": 200, + * "313": 87, + * "314": 5, + * "315": 221, + * "316": 107, + * "317": 8, + * "318": 181, + * "319": 15, + * "320": 95, + * "321": 255, + * "322": 125, + * "323": 93, + * "324": 232, + * "325": 215, + * "326": 59, + * "327": 44, + * "328": 235, + * "329": 209, + * "330": 244, + * "331": 195, + * "332": 182, + * "333": 160 + * }, + * "gasUsed": 167798, + * "gasWanted": 300000 + * } + */ + receipt?: Record; + }; + CRONOSCraftUnstakeTxPayload: { + /** + * @description Wallet public key (compressed or uncompressed), this is different than the wallet address + * @example 039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f46 + */ + pubkey: string; + /** + * @description Validator address + * @example crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry + */ + validator: string; + /** + * @description Amount to unstake in basecro. Omit to unstake all the delegated amount + * @example 1000000000000000000000000 + */ + amount_basecro?: string; + }; + CRONOSCraftRedelegateTxPayload: { + /** + * Format: uuid + * @description Kiln Account ID to which the new stake will be linked + * @example b7177fd2-fbb3-479f-aa92-db9fb16e229f + */ + account_id: string; + /** + * @description Wallet public key (compressed or uncompressed), this is different than the wallet address + * @example 039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f46 + */ + pubkey: string; + /** + * @description Validator source address of current stake + * @example crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry + */ + validator_source: string; + /** + * @description Validator destination address to which redelegate the stake + * @example crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry + */ + validator_destination: string; + /** + * @description Amount to redelegate in basecro + * @example 1000000000000000000000000 + */ + amount_basecro?: string; + }; + CRONOSCraftStakeTxPayload: { + /** + * Format: uuid + * @description Kiln Account ID to stake into + * @example b7177fd2-fbb3-479f-aa92-db9fb16e229f + */ + account_id: string; + /** + * @description Wallet public key (compressed or uncompressed), this is different than the wallet address + * @example 039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f46 + */ + pubkey: string; + /** + * @description Validator address + * @example crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry + */ + validator: string; + /** + * @description Amount to stake in basecro + * @example 1000000000000000000000000 + */ + amount_basecro: string; + /** + * @description If enabled, the rewards will be automatically restaked + * @default false + */ + restake_rewards: boolean; + /** + * @description Grantee address, this address is specific to each validator. Kiln grantee addresses are found here: https://github.com/eco-stake/validator-registry/blob/master/Kiln/chains.json https://github.com/eco-stake/validator-registry/blob/master/Interop/chains.json + * @example cosmos1u4whe0pwlgt7q7ph37qxalq2wfq4pkcdze5fmd + */ + grantee_address?: string; + }; + CRONOSCraftRestakeRewardsTxPayload: { + /** + * @description Wallet public key (compressed or uncompressed), this is different than the wallet address + * @example 039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f46 + */ + pubkey: string; + /** + * @description Validator address + * @example crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry + */ + validator_address: string; + /** + * @description Grantee address, this address is specific to each validator. Kiln grantee addresses are found here: https://github.com/eco-stake/validator-registry/blob/master/Kiln/chains.json https://github.com/eco-stake/validator-registry/blob/master/Interop/chains.json + * @example cosmos1u4whe0pwlgt7q7ph37qxalq2wfq4pkcdze5fmd + */ + grantee_address: string; + }; + CRONOSCraftWithdrawRewardsTxPayload: { + /** + * @description Wallet public key (compressed or uncompressed), this is different than the wallet address + * @example 039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f46 + */ + pubkey: string; + /** + * @description Validator address + * @example crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry + */ + validator: string; + }; + CRONOSReward: { + /** + * Format: date + * @description Day for this reward entry + * @example 2023-01-15 + */ + date: string; + /** + * @description Accumulated rewards in basecro during the day + * @example 3575891083876864200000 + */ + rewards: string; + /** + * @description Staked balance in basecro at the end of the day + * @example 6300000000000000000000000 + */ + balance: string; + /** + * @description Net annual percentage yield + * @example 20.76 + */ + net_apy: number; + /** @description Estimated value of rewards generated for that day in USD. The exchange rate is the rate at the end of the day provided by CoinGeckko. */ + rewards_usd?: number; + /** @description Estimated value of the staked balance at the beginning of the day in USD. The exchange rate is the rate at the end of the day provided by CoinGeckko. */ + balance_usd?: number; + }; + CRONOSOperationDelegate: { + /** + * @description Operation type + * @example staking.MsgDelegate + */ + type?: string; + /** + * Format: date-time + * @description Date of the operation + * @example 2023-06-22T15:35:01.892644Z + */ + time?: string; + /** + * @description Transaction block + * @example 15828207 + */ + block?: number; + /** + * @description Transaction hash + * @example 7DBC7C481A9A28961BDDF5BCDD47217A126EC0497017908453D71FACA9FA3506 + */ + tx_hash?: string; + /** + * @description Gas used for the whole transaction in basecro + * @example 186733 + */ + tx_gas_used?: string; + /** + * @description Index of the message in the transaction + * @example 0 + */ + message_index?: number; + /** + * @description Validator address + * @example crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry + */ + validator_address?: string; + /** + * @description Delegator address + * @example cro1egww25see7x6pg2lp2mhmnd5s6smzlfmdlwm0h + */ + delegator_address?: string; + /** + * @description Amount added to the staked balance in basecro + * @example 3000000 + */ + amount?: string; + /** + * @description Rewards auto-claimed alongside the operation in basecro + * @example 10841 + */ + withdraw_rewards?: string; + }; + CRONOSOperationUndelegate: { + /** + * @description Operation type + * @example staking.MsgUndelegate + */ + type?: string; + /** + * Format: date-time + * @description Date of the operation + * @example 2023-06-22T15:35:01.892644Z + */ + time?: string; + /** + * @description Transaction block + * @example 15828207 + */ + block?: number; + /** + * @description Transaction hash + * @example 7DBC7C481A9A28961BDDF5BCDD47217A126EC0497017908453D71FACA9FA3506 + */ + tx_hash?: string; + /** + * @description Gas used for the whole transaction in basecro + * @example 186733 + */ + tx_gas_used?: string; + /** + * @description Index of the message in the transaction + * @example 0 + */ + message_index?: number; + /** + * @description Validator address + * @example crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry + */ + validator_address?: string; + /** + * @description Delegator address + * @example cro1egww25see7x6pg2lp2mhmnd5s6smzlfmdlwm0h + */ + delegator_address?: string; + /** + * @description Amount removed from the staked balance in basecro + * @example 3000000 + */ + amount?: string; + /** + * @description Rewards auto-claimed alongside the operation in basecro + * @example 10841 + */ + withdraw_rewards?: string; + }; + CRONOSOperationRedelegate: { + /** + * @description Operation type + * @example staking.MsgBeginRedelegate + */ + type?: string; + /** + * Format: date-time + * @description Date of the operation + * @example 2023-06-22T15:35:01.892644Z + */ + time?: string; + /** + * @description Transaction block + * @example 15828207 + */ + block?: number; + /** + * @description Transaction hash + * @example 7DBC7C481A9A28961BDDF5BCDD47217A126EC0497017908453D71FACA9FA3506 + */ + tx_hash?: string; + /** + * @description Gas used for the whole transaction in basecro + * @example 186733 + */ + tx_gas_used?: string; + /** + * @description Index of the message in the transaction + * @example 0 + */ + message_index?: number; + /** + * @description Destination validator address + * @example crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry + */ + validator_address?: string; + /** + * @description Source validator address + * @example crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry + */ + validator_address_source?: string; + /** + * @description Delegator address + * @example cro1egww25see7x6pg2lp2mhmnd5s6smzlfmdlwm0h + */ + delegator_address?: string; + /** + * @description Amount moved from the source validator staked balance to the destination validator staked balance in basecro + * @example 3000000 + */ + amount?: string; + /** + * @description Rewards auto-claimed from the destination validator alongside the operation in basecro + * @example 10841 + */ + withdraw_rewards?: string; + /** + * @description Rewards auto-claimed from the source validator alongside the operation in basecro + * @example 10841 + */ + withdraw_rewards_source?: string; + }; + CRONOSOperationWithdrawRewards: { + /** + * @description Operation type + * @example distr.MsgWithdrawDelegatorReward + */ + type?: string; + /** + * Format: date-time + * @description Date of the operation + * @example 2023-06-22T15:35:01.892644Z + */ + time?: string; + /** + * @description Transaction block + * @example 15828207 + */ + block?: number; + /** + * @description Transaction hash + * @example 7DBC7C481A9A28961BDDF5BCDD47217A126EC0497017908453D71FACA9FA3506 + */ + tx_hash?: string; + /** + * @description Gas used for the whole transaction in basecro + * @example 186733 + */ + tx_gas_used?: string; + /** + * @description Index of the message in the transaction + * @example 0 + */ + message_index?: number; + /** + * @description Validator address + * @example crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry + */ + validator_address?: string; + /** + * @description Delegator address + * @example cro1egww25see7x6pg2lp2mhmnd5s6smzlfmdlwm0h + */ + delegator_address?: string; + /** + * @description Rewards claimed alongside the operation in basecro + * @example 10841 + */ + withdraw_rewards?: string; + }; + CRONOSOperationGrant: { + /** + * @description Operation type + * @example Authz.Grant + */ + type?: string; + /** + * Format: date-time + * @description Date of the operation + * @example 2023-06-22T15:35:01.892644Z + */ + time?: string; + /** + * @description Transaction block + * @example 15828207 + */ + block?: number; + /** + * @description Transaction hash + * @example 7DBC7C481A9A28961BDDF5BCDD47217A126EC0497017908453D71FACA9FA3506 + */ + tx_hash?: string; + /** + * @description Gas used for the whole transaction in basecro + * @example 186733 + */ + tx_gas_used?: string; + /** + * @description Index of the message in the transaction + * @example 0 + */ + message_index?: number; + /** + * @description Recipient of the permissions + * @example cro1egww25see7x6pg2lp2mhmnd5s6smzlfmdlwm0h + */ + grantee?: string; + /** + * @description Owner of the stake giving the permissions + * @example cro1egww25see7x6pg2lp2mhmnd5s6smzlfmdlwm0h + */ + granter?: string; + /** + * @description Kind of permission been grantee, can be: "Staking.MsgDelegate", "Staking.MsgUndelegate", "Staking.MsgRedelegate" or "Distribution.MsgWithdrawDelegatorReward" + * @example Staking.MsgDelegate + */ + permission?: string; + /** + * @description List of address on which the granted permission can be applied (ie validator on which delegation is allowed) + * @example [ + * "cro1egww25see7x6pg2lp2mhmnd5s6smzlfmdlwm0h", + * "cro1egww25see7x6pg2lp2mhmnd5s6smzlfmdlwm0h" + * ] + */ + allow_list?: string[] | null; + /** + * @description List of address on which the granted permission cannot be applied (ie validator on which delegation is allowed) + * @example [ + * "cro1egww25see7x6pg2lp2mhmnd5s6smzlfmdlwm0h", + * "cro1egww25see7x6pg2lp2mhmnd5s6smzlfmdlwm0h" + * ] + */ + deny_list?: string[] | null; + }; + CRONOSOperationExec: { + /** + * @description Operation type + * @example Authz.Exec + */ + type?: string; + /** + * Format: date-time + * @description Date of the operation + * @example 2023-06-22T15:35:01.892644Z + */ + time?: string; + /** + * @description Transaction block + * @example 15828207 + */ + block?: number; + /** + * @description Transaction hash + * @example 7DBC7C481A9A28961BDDF5BCDD47217A126EC0497017908453D71FACA9FA3506 + */ + tx_hash?: string; + /** + * @description Gas used for the whole transaction in basecro + * @example 186733 + */ + tx_gas_used?: string; + /** + * @description Index of the message in the transaction + * @example 0 + */ + message_index?: number; + executed_operations?: { + /** + * @description Operation type + * @example staking.Delegate + */ + type?: string; + /** + * @description Destination validator address + * @example crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry + */ + validator_address?: string; + /** + * @description Source validator address + * @example crocncl10skwvezaqkngyw9uyskzsqe2cu8jc2ysrrndry + */ + validator_address_source?: string; + /** + * @description Delegator address + * @example cro1egww25see7x6pg2lp2mhmnd5s6smzlfmdlwm0h + */ + delegator_address?: string; + /** + * @description Amount moved from the source validator staked balance to the destination validator staked balance in basecro + * @example 3000000 + */ + amount?: string; + /** + * @description Rewards auto-claimed from the destination validator alongside the operation in basecro + * @example 10841 + */ + withdraw_rewards?: string; + /** + * @description Rewards auto-claimed from the source validator alongside the operation in basecro + * @example 10841 + */ + withdraw_rewards_source?: string; + }[] | null; + }; + CRONOSNetworkStats: { + /** + * @description Price of CRO in USD + * @example 10.53 + */ + cronos_price_usd: number; + /** + * @description Number of validators in the network + * @example 100 + */ + nb_validators: number; + /** + * @description Gross annual percentage yield + * @example 4.5 + */ + network_gross_apy: number; + /** + * @description Supply of CRO currently staked + * @example 12.4 + */ + supply_staked_percent: number; + /** + * @description CRO inflation rate + * @example 3.5 + */ + inflation_rate: number; + /** + * Format: date-time + * @description Last date this data was updated + * @example 2023-01-14T01:13:59Z + */ + updated_at: string; + }; + /** + * @description Decoded transaction + * @example { + * "authInfo": { + * "signerInfos": [ + * { + * "publicKey": { + * "typeUrl": "/cosmos.crypto.secp256k1.PubKey", + * "value": { + * "0": 10, + * "1": 33, + * "2": 3, + * "3": 156, + * "4": 228, + * "5": 123, + * "6": 42, + * "7": 129, + * "8": 61, + * "9": 19, + * "10": 135, + * "11": 97, + * "12": 49, + * "13": 169, + * "14": 195, + * "15": 190, + * "16": 119, + * "17": 232, + * "18": 196, + * "19": 175, + * "20": 164, + * "21": 158, + * "22": 148, + * "23": 135, + * "24": 68, + * "25": 171, + * "26": 190, + * "27": 225, + * "28": 31, + * "29": 147, + * "30": 158, + * "31": 42, + * "32": 66, + * "33": 15, + * "34": 70 + * } + * }, + * "modeInfo": { + * "single": { + * "mode": 1 + * } + * }, + * "sequence": { + * "low": 102, + * "high": 0, + * "unsigned": true + * } + * } + * ], + * "fee": { + * "amount": [ + * { + * "denom": "basecro", + * "amount": "5000" + * } + * ], + * "gasLimit": { + * "low": 2000000, + * "high": 0, + * "unsigned": true + * }, + * "payer": "", + * "granter": "" + * } + * }, + * "body": { + * "messages": [ + * { + * "typeUrl": "/cosmos.staking.v1beta1.MsgDelegate", + * "value": { + * "0": 10, + * "1": 45, + * "2": 99, + * "3": 111, + * "4": 115, + * "5": 109, + * "6": 111, + * "7": 115, + * "8": 49, + * "9": 57, + * "10": 99, + * "11": 57, + * "12": 102, + * "13": 100, + * "14": 104, + * "15": 52, + * "16": 56, + * "17": 56, + * "18": 118, + * "19": 113, + * "20": 106, + * "21": 99, + * "22": 108, + * "23": 108, + * "24": 116, + * "25": 119, + * "26": 112, + * "27": 54, + * "28": 56, + * "29": 106, + * "30": 109, + * "31": 53, + * "32": 48, + * "33": 121, + * "34": 100, + * "35": 119, + * "36": 121, + * "37": 104, + * "38": 51, + * "39": 54, + * "40": 106, + * "41": 113, + * "42": 101, + * "43": 97, + * "44": 116, + * "45": 101, + * "46": 118, + * "47": 18, + * "48": 52, + * "49": 99, + * "50": 111, + * "51": 115, + * "52": 109, + * "53": 111, + * "54": 115, + * "55": 118, + * "56": 97, + * "57": 108, + * "58": 111, + * "59": 112, + * "60": 101, + * "61": 114, + * "62": 49, + * "63": 54, + * "64": 121, + * "65": 115, + * "66": 48, + * "67": 101, + * "68": 103, + * "69": 57, + * "70": 51, + * "71": 53, + * "72": 109, + * "73": 107, + * "74": 113, + * "75": 112, + * "76": 107, + * "77": 121, + * "78": 100, + * "79": 107, + * "80": 103, + * "81": 102, + * "82": 99, + * "83": 106, + * "84": 57, + * "85": 97, + * "86": 103, + * "87": 101, + * "88": 50, + * "89": 97, + * "90": 117, + * "91": 56, + * "92": 108, + * "93": 57, + * "94": 54, + * "95": 110, + * "96": 97, + * "97": 101, + * "98": 114, + * "99": 101, + * "100": 57, + * "101": 26, + * "102": 16, + * "103": 10, + * "104": 5, + * "105": 117, + * "106": 97, + * "107": 116, + * "108": 111, + * "109": 109, + * "110": 18, + * "111": 7, + * "112": 49, + * "113": 48, + * "114": 48, + * "115": 48, + * "116": 48, + * "117": 48, + * "118": 48 + * } + * } + * ], + * "memo": "", + * "timeoutHeight": { + * "low": 0, + * "high": 0, + * "unsigned": true + * }, + * "extensionOptions": [], + * "nonCriticalExtensionOptions": [] + * }, + * "signatures": [ + * { + * "0": 116, + * "1": 104, + * "2": 101, + * "3": 116, + * "4": 97, + * "5": 45, + * "6": 116, + * "7": 101, + * "8": 115, + * "9": 116, + * "10": 110, + * "11": 101, + * "12": 116, + * "13": 45, + * "14": 48, + * "15": 48, + * "16": 49 + * } + * ] + * } + */ + CRONOSTxDecoding: Record; + MANTRAStake: { + /** + * @description Public key of the validator + * @example mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g + */ + validator_address: string; + /** + * @description Public key of the delegator + * @example mantra1mfdn23y2ydnp6j3l3f8rw6r2gzazrmprgxn5xl + */ + delegator_address: string; + /** + * Format: date-time + * @description Date of first delegation ever for the stake. Unavailable for stakes older than [Theta v7 (12/04/2022)](https://github.com/cosmos/gaia/tree/main/docs/roadmap#cosmos-hub-summary). + * @example 2023-06-16T03:13:23.058547Z + */ + delegated_at?: string; + /** + * @description Block of first delegation ever for the stake. Unavailable for stakes older than [Theta v7 (12/04/2022)](https://github.com/cosmos/gaia/tree/main/docs/roadmap#cosmos-hub-summary). + * @example 15739267 + */ + delegated_block?: number; + /** + * Format: date-time + * @description Date of undelegation for the stake + * @example 2023-07-14T03:56:13.561156Z + */ + undelegated_at?: string; + /** + * @description Block of undelegation for the stake + * @example 16126416 + */ + undelegated_block?: number; + /** + * @description Total rewards accumulated by this stake since its first ever delegation in uOM. Includes currently available rewards not yet withdrawn. + * @example 735573808534727891000000 + */ + rewards: string; + /** + * @description Available rewards in uOM that can be withdrawn from this stake + * @example 36748808534727891000000 + */ + available_rewards: string; + /** + * @description Staked balance on this stake in uOM + * @example 6300000000000000000000000 + */ + balance: string; + /** + * @description Net annual percentage yield. Unavailable for stakes older than [Theta v7 (12/04/2022)](https://github.com/cosmos/gaia/tree/main/docs/roadmap#cosmos-hub-summary). + * @example 5.76 + */ + net_apy: number; + /** + * @description State of the Mantra stake + * @example active + * @enum {string} + */ + state: "active" | "deactivating" | "inactive"; + /** + * Format: date-time + * @description Last date this data was updated + * @example 2023-01-14T01:13:59Z + */ + updated_at?: string; + /** @description permissions related to the stake currently active, ignored if there is no ongoing grants */ + permissions: { + /** + * @description whether the stake is recipient (grantee) or the giver (granter) of the permissions + * @example granter + */ + source?: string; + /** + * @description Block at which the unbonding was created + * @example 15000000 + */ + creation_height?: number; + /** + * @description Kind of permission been grantee, can be: "Staking.MsgDelegate", "Staking.MsgUndelegate", "Staking.MsgRedelegate" or "Distribution.MsgWithdrawDelegatorReward" + * @example Staking.MsgDelegate + */ + permission?: string; + /** + * Format: date-time + * @description Exact time at which the permissions will be revoked + * @example 2023-01-10T01:12:34Z + */ + expires_at?: string | null; + /** + * @description List of address on which the granted permission can be applied (ie validator on which delegation is allowed) + * @example [ + * "mantravaloper1xyz", + * "mantravaloper1abc" + * ] + */ + allow_list?: string[] | null; + /** + * @description List of address on which the granted permission cannot be applied (ie validator on which delegation is allowed) + * @example [ + * "mantravaloper1xyz", + * "mantravaloper1abc" + * ] + */ + deny_list?: string[] | null; + }[]; + /** @description unbondings currently active on the stakes. ignored if no unbondings are returned */ + unbondings: { + /** + * @description Block at which the unbonding was created + * @example 15000000 + */ + creation_height: number; + /** + * Format: date-time + * @description Exact time at which the unbonding will take effect + * @example 2023-01-10T01:12:34Z + */ + completion_time: string; + /** + * @description Amount currently associated with the unbonding (slashes included) + * @example 129300 + */ + balance: string; + /** + * @description Amount expected at creation (slashes non-included) + * @example 150300 + */ + initial_balance: string; + }[]; + }; + PostMANTRAStakesPayload: { + stakes: { + /** + * @description Stake id {validator_address}_{delegator_address} + * @example mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g_mantra156h4wqz5p0xuj48cn0cv2sg8q9p2y3nycg3h3a} + */ + stakeId?: string; + }[]; + /** + * @description Kiln Account ID + * @example 92f5bfd4-ea38-4824-84f7-686eddff5539 + */ + account_id: string; + }; + MANTRAStakeMessage: { + /** + * @description Type URL of the message + * @example /cosmos.staking.v1beta1.MsgDelegate + */ + typeUrl?: string; + /** + * @description Message value + * @example { + * "delegatorAddress": "mantra156h4wqz5p0xuj48cn0cv2sg8q9p2y3nycg3h3a", + * "validatorAddress": "mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g", + * "amount": { + * "denom": "uom", + * "amount": "1000000" + * } + * } + */ + value?: Record; + }; + MANTRAStakeMessageRestake: { + /** + * @description Type URL of the message + * @example /cosmos.staking.v1beta1.StakeAuthorization + */ + typeUrl?: string; + /** + * @description Message value + * @example { + * "allowList": { + * "address": [ + * "mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g" + * ] + * }, + * "AuthorizationType": 1 + * } + */ + value?: Record; + }; + MANTRAStakeUnsignedTx: { + /** + * @description Unsigned serialized transaction + * @example 0adf010adc010a2a2f636f736d6f732e7374616b696e672e763162657461312e4d7367426567696e526564656c656761746512ad010a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f70657231307636777664656e65653872396c36776c73706863677572326c746c387a746b6672766a39611a34636f736d6f7376616c6f70657231796d7a336b6a7466397a6b666d6d3273326c7279376568307a6439657a33766335797030306622100a057561746f6d12073433313030303012670a500a460a1f2f636f736d6f732e63727970746f2e736563703235366b312e5075624b657912230a21039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f4612040a020801186d12130a0d0a057561746f6d1204353030301080897a1a1174686574612d746573746e65742d30303120e0cd2a + */ + unsigned_tx_serialized: string; + /** + * @description Hash of the unsigned transaction + * @example b6ce1c8185416ce7d42a8c39566a9a2b6b2361a55c04a1dba3dd7445a0e1e364 + */ + unsigned_tx_hash: string; + /** + * @description Transaction body serialized in hex + * @example 0a9e010a232f636f736d6f732e7374616b696e672e763162657461312e4d736744656c656761746512770a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f706572313679733065673933356d6b71706b79646b6766636a39616765326175386c39366e61657265391a100a057561746f6d120731303030303030 + */ + tx_body: string; + /** + * @description Transaction auth info serialized in hex + * @example 0a2c0a2a0a28636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a716561746576120a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f706572313679733065673933356d6b71706b79646b6766636a39616765326175386c39366e6165726539 + */ + tx_auth_info: string; + /** + * @description Wallet compressed public key, this is different than the wallet address + * @example 039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f46 + */ + pubkey: string; + /** + * @description Fee included in the transaction. Object shape can be found [here](https://github.com/cosmos/cosmjs/blob/72da7971ee4fd77fec1bfef2ec1ba4f14f8c319d/packages/amino/src/signdoc.ts#L12) + * @example { + * "amount": [ + * { + * "denom": "uom", + * "amount": "5000" + * } + * ], + * "gas": "200000" + * } + */ + fee: Record; + /** + * @description List of messages included in the transaction. The list contains one message for the staking delegation and one more message for rewards restaking in case specified as a parameter (`restake_rewards=true`). + * @example [ + * { + * "typeUrl": "/cosmos.staking.v1beta1.MsgDelegate", + * "value": { + * "delegatorAddress": "mantra156h4wqz5p0xuj48cn0cv2sg8q9p2y3nycg3h3a", + * "validatorAddress": "mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g", + * "amount": { + * "denom": "uom", + * "amount": "1000000" + * } + * } + * }, + * { + * "typeUrl": "/cosmos.staking.v1beta1.StakeAuthorization", + * "allowList": { + * "address": [ + * "mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g" + * ] + * }, + * "AuthorizationType": 1 + * } + * ] + */ + messages: (components["schemas"]["MANTRAStakeMessage"] | components["schemas"]["MANTRAStakeMessageRestake"])[]; + /** + * @description Chain ID + * @example cosmoshub-4 + */ + chain_id: string; + /** + * @description Account number + * @example 1234 + */ + account_number: number; + }; + MANTRAUnsignedTx: { + /** + * @description Unsigned serialized transaction + * @example 0adf010adc010a2a2f636f736d6f732e7374616b696e672e763162657461312e4d7367426567696e526564656c656761746512ad010a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f70657231307636777664656e65653872396c36776c73706863677572326c746c387a746b6672766a39611a34636f736d6f7376616c6f70657231796d7a336b6a7466397a6b666d6d3273326c7279376568307a6439657a33766335797030306622100a057561746f6d12073433313030303012670a500a460a1f2f636f736d6f732e63727970746f2e736563703235366b312e5075624b657912230a21039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f4612040a020801186d12130a0d0a057561746f6d1204353030301080897a1a1174686574612d746573746e65742d30303120e0cd2a + */ + unsigned_tx_serialized: string; + /** + * @description Hash of the unsigned transaction + * @example b6ce1c8185416ce7d42a8c39566a9a2b6b2361a55c04a1dba3dd7445a0e1e364 + */ + unsigned_tx_hash: string; + /** + * @description Transaction body serialized in hex + * @example 0a9e010a232f636f736d6f732e7374616b696e672e763162657461312e4d736744656c656761746512770a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f706572313679733065673933356d6b71706b79646b6766636a39616765326175386c39366e61657265391a100a057561746f6d120731303030303030 + */ + tx_body: string; + /** + * @description Transaction auth info serialized in hex + * @example 0a2c0a2a0a28636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a716561746576120a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f706572313679733065673933356d6b71706b79646b6766636a39616765326175386c39366e6165726539 + */ + tx_auth_info: string; + /** + * @description Wallet compressed public key, this is different than the wallet address + * @example 039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f46 + */ + pubkey: string; + /** + * @description Message included in the transaction + * @example { + * "typeUrl": "/cosmos.staking.v1beta1.MsgDelegate", + * "value": { + * "delegatorAddress": "mantra156h4wqz5p0xuj48cn0cv2sg8q9p2y3nycg3h3a", + * "validatorAddress": "mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g", + * "amount": { + * "denom": "uom", + * "amount": "1000000" + * } + * } + * } + */ + message: Record; + /** + * @description Fee included in the transaction. Object shape can be found [here](https://github.com/cosmos/cosmjs/blob/72da7971ee4fd77fec1bfef2ec1ba4f14f8c319d/packages/amino/src/signdoc.ts#L12) + * @example { + * "amount": [ + * { + * "denom": "uom", + * "amount": "5000" + * } + * ], + * "gas": "200000" + * } + */ + fee: Record; + /** + * @description Chain ID + * @example cosmoshub-4 + */ + chain_id: string; + /** + * @description Account number + * @example 1234 + */ + account_number: number; + }; + MANTRASignedTx: { + /** + * @description Serialized signed transaction in hex + * @example 0aa1010a9e010a232f636f736d6f732e7374616b696e672e763162657461312e4d736744656c656761746512770a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f706572313679733065673933356d6b71706b79646b6766636a39616765326175386c39366e61657265391a100a057561746f6d12073130303030303012670a500a460a1f2f636f736d6f732e63727970746f2e736563703235366b312e5075624b657912230a21039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f4612040a020801182012130a0d0a057561746f6d12043530303010e0a7121a40191f87a54dceafb6ab9a5f112a13444ca37e49a029e531bb21301fd72e9d390304c763cca5a9760a631dc85705dd6b08b50f5fff7d5de8d73b2cebd1f4c3b6a0 + */ + signed_tx_serialized: string; + }; + MANTRATxHash: { + /** + * @description Hash of the transaction + * @example 2B4F732E12D5D5AF1F907AD03B199167A718EDC6201DE5713143AB80990420CB + */ + tx_hash: string; + }; + MANTRAPrepareTxPayload: { + /** + * @description Wallet public key (compressed or uncompressed), this is different than the wallet address + * @example 039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f46 + */ + pubkey: string; + /** + * @description Transaction body serialized in hex + * @example 0a9e010a232f636f736d6f732e7374616b696e672e763162657461312e4d736744656c656761746512770a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f706572313679733065673933356d6b71706b79646b6766636a39616765326175386c39366e61657265391a100a057561746f6d120731303030303030 + */ + tx_body: string; + /** + * @description Transaction auth info serialized in hex + * @example 0a2c0a2a0a28636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a716561746576120a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f706572313679733065673933356d6b71706b79646b6766636a39616765326175386c39366e6165726539 + */ + tx_auth_info: string; + /** + * @description Transaction signature serialized in hex + * @example 191f87a54dceafb6ab9a5f112a13444ca37e49a029e531bb21301fd72e9d390304c763cca5a9760a631dc85705dd6b08b50f5fff7d5de8d73b2cebd1f4c3b6a0 + */ + signature: string; + }; + MANTRABroadcastTxPayload: { + /** + * @description Signed transaction serialized in hex + * @example 0aa1010a9e010a232f636f736d6f732e7374616b696e672e763162657461312e4d736744656c656761746512770a2d636f736d6f733139633966646834383876716a636c6c74777036386a6d3530796477796833366a7165617465761234636f736d6f7376616c6f706572313679733065673933356d6b71706b79646b6766636a39616765326175386c39366e61657265391a100a057561746f6d12073130303030303012670a500a460a1f2f636f736d6f732e63727970746f2e736563703235366b312e5075624b657912230a21039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f4612040a020801182012130a0d0a057561746f6d12043530303010e0a7121a40191f87a54dceafb6ab9a5f112a13444ca37e49a029e531bb21301fd72e9d390304c763cca5a9760a631dc85705dd6b08b50f5fff7d5de8d73b2cebd1f4c3b6a0 + */ + tx_serialized: string; + }; + MANTRATxStatus: { + /** + * @description Transaction status + * @example success + * @enum {string} + */ + status?: "success" | "error"; + /** + * @description Transaction receipt. Only present if status is success. Object shape can be found [here](https://github.com/cosmos/cosmjs/blob/e8e65aa0c145616ccb58625c32bffe08b46ff574/packages/stargate/src/stargateclient.ts#L67) + * @example { + * "height": 16007296, + * "txIndex": 0, + * "hash": "2B4F732E12D5D5AF1F907AD03B199167A718EDC6201DE5713143AB80990420CB", + * "code": 0, + * "events": [ + * { + * "type": "coin_spent", + * "attributes": [ + * { + * "key": "spender", + * "value": "mantra19c9fdh488vqjclltwp68jm50ydwyh36jqeatev" + * }, + * { + * "key": "amount", + * "value": "5000uom" + * } + * ] + * }, + * { + * "type": "coin_received", + * "attributes": [ + * { + * "key": "receiver", + * "value": "mantra17xpfvakm2amg962yls6f84z3kell8c5lserqta" + * }, + * { + * "key": "amount", + * "value": "5000uom" + * } + * ] + * }, + * { + * "type": "transfer", + * "attributes": [ + * { + * "key": "recipient", + * "value": "mantra17xpfvakm2amg962yls6f84z3kell8c5lserqta" + * }, + * { + * "key": "sender", + * "value": "mantra19c9fdh488vqjclltwp68jm50ydwyh36jqeatev" + * }, + * { + * "key": "amount", + * "value": "5000uom" + * } + * ] + * }, + * { + * "type": "message", + * "attributes": [ + * { + * "key": "sender", + * "value": "mantra19c9fdh488vqjclltwp68jm50ydwyh36jqeatev" + * } + * ] + * }, + * { + * "type": "tx", + * "attributes": [ + * { + * "key": "fee", + * "value": "5000uom" + * }, + * { + * "key": "fee_payer", + * "value": "mantra19c9fdh488vqjclltwp68jm50ydwyh36jqeatev" + * } + * ] + * }, + * { + * "type": "tx", + * "attributes": [ + * { + * "key": "acc_seq", + * "value": "mantra19c9fdh488vqjclltwp68jm50ydwyh36jqeatev/33" + * } + * ] + * }, + * { + * "type": "tx", + * "attributes": [ + * { + * "key": "signature", + * "value": "GR+HpU3Or7arml8RKhNETKN+SaAp5TG7ITAf1y6dOQMEx2PMpal2CmMdyFcF3WsItQ9f/31d6Nc7LOvR9MO2oA==" + * } + * ] + * }, + * { + * "type": "message", + * "attributes": [ + * { + * "key": "action", + * "value": "/cosmos.staking.v1beta1.MsgDelegate" + * } + * ] + * }, + * { + * "type": "coin_spent", + * "attributes": [ + * { + * "key": "spender", + * "value": "mantra1jv65s3grqf6v6jl3dp4t6c9t9rk99cd88lyufl" + * }, + * { + * "key": "amount", + * "value": "5uom" + * } + * ] + * }, + * { + * "type": "coin_received", + * "attributes": [ + * { + * "key": "receiver", + * "value": "mantra19c9fdh488vqjclltwp68jm50ydwyh36jqeatev" + * }, + * { + * "key": "amount", + * "value": "5uom" + * } + * ] + * }, + * { + * "type": "transfer", + * "attributes": [ + * { + * "key": "recipient", + * "value": "mantra19c9fdh488vqjclltwp68jm50ydwyh36jqeatev" + * }, + * { + * "key": "sender", + * "value": "mantra1jv65s3grqf6v6jl3dp4t6c9t9rk99cd88lyufl" + * }, + * { + * "key": "amount", + * "value": "5uom" + * } + * ] + * }, + * { + * "type": "message", + * "attributes": [ + * { + * "key": "sender", + * "value": "mantra1jv65s3grqf6v6jl3dp4t6c9t9rk99cd88lyufl" + * } + * ] + * }, + * { + * "type": "withdraw_rewards", + * "attributes": [ + * { + * "key": "amount", + * "value": "5uom" + * }, + * { + * "key": "validator", + * "value": "mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g" + * } + * ] + * }, + * { + * "type": "coin_spent", + * "attributes": [ + * { + * "key": "spender", + * "value": "mantra19c9fdh488vqjclltwp68jm50ydwyh36jqeatev" + * }, + * { + * "key": "amount", + * "value": "100000uom" + * } + * ] + * }, + * { + * "type": "coin_received", + * "attributes": [ + * { + * "key": "receiver", + * "value": "mantra1fl48vsnmsdzcv85q5d2q4z5ajdha8yu34mf0eh" + * }, + * { + * "key": "amount", + * "value": "100000uom" + * } + * ] + * }, + * { + * "type": "delegate", + * "attributes": [ + * { + * "key": "validator", + * "value": "mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g" + * }, + * { + * "key": "amount", + * "value": "100000uom" + * }, + * { + * "key": "new_shares", + * "value": "100000.000000000000000000" + * } + * ] + * }, + * { + * "type": "message", + * "attributes": [ + * { + * "key": "module", + * "value": "staking" + * }, + * { + * "key": "sender", + * "value": "mantra19c9fdh488vqjclltwp68jm50ydwyh36jqeatev" + * } + * ] + * } + * ], + * "rawLog": "[{\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"mantra19c9fdh488vqjclltwp68jm50ydwyh36jqeatev\"},{\"key\":\"amount\",\"value\":\"5uom\"},{\"key\":\"receiver\",\"value\":\"mantra1fl48vsnmsdzcv85q5d2q4z5ajdha8yu34mf0eh\"},{\"key\":\"amount\",\"value\":\"100000uom\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"mantra1jv65s3grqf6v6jl3dp4t6c9t9rk99cd88lyufl\"},{\"key\":\"amount\",\"value\":\"5uom\"},{\"key\":\"spender\",\"value\":\"mantra19c9fdh488vqjclltwp68jm50ydwyh36jqeatev\"},{\"key\":\"amount\",\"value\":\"100000uom\"}]},{\"type\":\"delegate\",\"attributes\":[{\"key\":\"validator\",\"value\":\"mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g\"},{\"key\":\"amount\",\"value\":\"100000uom\"},{\"key\":\"new_shares\",\"value\":\"100000.000000000000000000\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.staking.v1beta1.MsgDelegate\"},{\"key\":\"sender\",\"value\":\"mantra1jv65s3grqf6v6jl3dp4t6c9t9rk99cd88lyufl\"},{\"key\":\"module\",\"value\":\"staking\"},{\"key\":\"sender\",\"value\":\"mantra19c9fdh488vqjclltwp68jm50ydwyh36jqeatev\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"mantra19c9fdh488vqjclltwp68jm50ydwyh36jqeatev\"},{\"key\":\"sender\",\"value\":\"mantra1jv65s3grqf6v6jl3dp4t6c9t9rk99cd88lyufl\"},{\"key\":\"amount\",\"value\":\"5uom\"}]},{\"type\":\"withdraw_rewards\",\"attributes\":[{\"key\":\"amount\",\"value\":\"5uom\"},{\"key\":\"validator\",\"value\":\"mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g\"}]}]}]", + * "tx": { + * "0": 10, + * "1": 160, + * "2": 1, + * "3": 10, + * "4": 157, + * "5": 1, + * "6": 10, + * "7": 35, + * "8": 47, + * "9": 99, + * "10": 111, + * "11": 115, + * "12": 109, + * "13": 111, + * "14": 115, + * "15": 46, + * "16": 115, + * "17": 116, + * "18": 97, + * "19": 107, + * "20": 105, + * "21": 110, + * "22": 103, + * "23": 46, + * "24": 118, + * "25": 49, + * "26": 98, + * "27": 101, + * "28": 116, + * "29": 97, + * "30": 49, + * "31": 46, + * "32": 77, + * "33": 115, + * "34": 103, + * "35": 68, + * "36": 101, + * "37": 108, + * "38": 101, + * "39": 103, + * "40": 97, + * "41": 116, + * "42": 101, + * "43": 18, + * "44": 118, + * "45": 10, + * "46": 45, + * "47": 99, + * "48": 111, + * "49": 115, + * "50": 109, + * "51": 111, + * "52": 115, + * "53": 49, + * "54": 57, + * "55": 99, + * "56": 57, + * "57": 102, + * "58": 100, + * "59": 104, + * "60": 52, + * "61": 56, + * "62": 56, + * "63": 118, + * "64": 113, + * "65": 106, + * "66": 99, + * "67": 108, + * "68": 108, + * "69": 116, + * "70": 119, + * "71": 112, + * "72": 54, + * "73": 56, + * "74": 106, + * "75": 109, + * "76": 53, + * "77": 48, + * "78": 121, + * "79": 100, + * "80": 119, + * "81": 121, + * "82": 104, + * "83": 51, + * "84": 54, + * "85": 106, + * "86": 113, + * "87": 101, + * "88": 97, + * "89": 116, + * "90": 101, + * "91": 118, + * "92": 18, + * "93": 52, + * "94": 99, + * "95": 111, + * "96": 115, + * "97": 109, + * "98": 111, + * "99": 115, + * "100": 118, + * "101": 97, + * "102": 108, + * "103": 111, + * "104": 112, + * "105": 101, + * "106": 114, + * "107": 49, + * "108": 54, + * "109": 121, + * "110": 115, + * "111": 48, + * "112": 101, + * "113": 103, + * "114": 57, + * "115": 51, + * "116": 53, + * "117": 109, + * "118": 107, + * "119": 113, + * "120": 112, + * "121": 107, + * "122": 121, + * "123": 100, + * "124": 107, + * "125": 103, + * "126": 102, + * "127": 99, + * "128": 106, + * "129": 57, + * "130": 97, + * "131": 103, + * "132": 101, + * "133": 50, + * "134": 97, + * "135": 117, + * "136": 56, + * "137": 108, + * "138": 57, + * "139": 54, + * "140": 110, + * "141": 97, + * "142": 101, + * "143": 114, + * "144": 101, + * "145": 57, + * "146": 26, + * "147": 15, + * "148": 10, + * "149": 5, + * "150": 117, + * "151": 97, + * "152": 116, + * "153": 111, + * "154": 109, + * "155": 18, + * "156": 6, + * "157": 49, + * "158": 48, + * "159": 48, + * "160": 48, + * "161": 48, + * "162": 48, + * "163": 18, + * "164": 103, + * "165": 10, + * "166": 80, + * "167": 10, + * "168": 70, + * "169": 10, + * "170": 31, + * "171": 47, + * "172": 99, + * "173": 111, + * "174": 115, + * "175": 109, + * "176": 111, + * "177": 115, + * "178": 46, + * "179": 99, + * "180": 114, + * "181": 121, + * "182": 112, + * "183": 116, + * "184": 111, + * "185": 46, + * "186": 115, + * "187": 101, + * "188": 99, + * "189": 112, + * "190": 50, + * "191": 53, + * "192": 54, + * "193": 107, + * "194": 49, + * "195": 46, + * "196": 80, + * "197": 117, + * "198": 98, + * "199": 75, + * "200": 101, + * "201": 121, + * "202": 18, + * "203": 35, + * "204": 10, + * "205": 33, + * "206": 3, + * "207": 156, + * "208": 228, + * "209": 123, + * "210": 42, + * "211": 129, + * "212": 61, + * "213": 19, + * "214": 135, + * "215": 97, + * "216": 49, + * "217": 169, + * "218": 195, + * "219": 190, + * "220": 119, + * "221": 232, + * "222": 196, + * "223": 175, + * "224": 164, + * "225": 158, + * "226": 148, + * "227": 135, + * "228": 68, + * "229": 171, + * "230": 190, + * "231": 225, + * "232": 31, + * "233": 147, + * "234": 158, + * "235": 42, + * "236": 66, + * "237": 15, + * "238": 70, + * "239": 18, + * "240": 4, + * "241": 10, + * "242": 2, + * "243": 8, + * "244": 1, + * "245": 24, + * "246": 33, + * "247": 18, + * "248": 19, + * "249": 10, + * "250": 13, + * "251": 10, + * "252": 5, + * "253": 117, + * "254": 97, + * "255": 116, + * "256": 111, + * "257": 109, + * "258": 18, + * "259": 4, + * "260": 53, + * "261": 48, + * "262": 48, + * "263": 48, + * "264": 16, + * "265": 224, + * "266": 167, + * "267": 18, + * "268": 26, + * "269": 64, + * "270": 25, + * "271": 31, + * "272": 135, + * "273": 165, + * "274": 77, + * "275": 206, + * "276": 175, + * "277": 182, + * "278": 171, + * "279": 154, + * "280": 95, + * "281": 17, + * "282": 42, + * "283": 19, + * "284": 68, + * "285": 76, + * "286": 163, + * "287": 126, + * "288": 73, + * "289": 160, + * "290": 41, + * "291": 229, + * "292": 49, + * "293": 187, + * "294": 33, + * "295": 48, + * "296": 31, + * "297": 215, + * "298": 46, + * "299": 157, + * "300": 57, + * "301": 3, + * "302": 4, + * "303": 199, + * "304": 99, + * "305": 204, + * "306": 165, + * "307": 169, + * "308": 118, + * "309": 10, + * "310": 99, + * "311": 29, + * "312": 200, + * "313": 87, + * "314": 5, + * "315": 221, + * "316": 107, + * "317": 8, + * "318": 181, + * "319": 15, + * "320": 95, + * "321": 255, + * "322": 125, + * "323": 93, + * "324": 232, + * "325": 215, + * "326": 59, + * "327": 44, + * "328": 235, + * "329": 209, + * "330": 244, + * "331": 195, + * "332": 182, + * "333": 160 + * }, + * "gasUsed": 167798, + * "gasWanted": 300000 + * } + */ + receipt?: Record; + }; + MANTRACraftUnstakeTxPayload: { + /** + * @description Wallet public key (compressed or uncompressed), this is different than the wallet address + * @example 039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f46 + */ + pubkey: string; + /** + * @description Validator address + * @example mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g + */ + validator: string; + /** + * @description Amount to unstake in uOM. Omit to unstake all the delegated amount + * @example 1000000000000000000000000 + */ + amount_uom?: string; + }; + MANTRACraftRedelegateTxPayload: { + /** + * Format: uuid + * @description Kiln Account ID to which the new stake will be linked + * @example b7177fd2-fbb3-479f-aa92-db9fb16e229f + */ + account_id: string; + /** + * @description Wallet public key (compressed or uncompressed), this is different than the wallet address + * @example 039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f46 + */ + pubkey: string; + /** + * @description Validator source address of current stake + * @example mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g + */ + validator_source: string; + /** + * @description Validator destination address to which redelegate the stake + * @example mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g + */ + validator_destination: string; + /** + * @description Amount to redelegate in uOM + * @example 1000000000000000000000000 + */ + amount_uom?: string; + }; + MANTRACraftStakeTxPayload: { + /** + * Format: uuid + * @description Kiln Account ID to stake into + * @example b7177fd2-fbb3-479f-aa92-db9fb16e229f + */ + account_id: string; + /** + * @description Wallet public key (compressed or uncompressed), this is different than the wallet address + * @example 039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f46 + */ + pubkey: string; + /** + * @description Validator address + * @example mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g + */ + validator: string; + /** + * @description Amount to stake in uom + * @example 1000000000000000000000000 + */ + amount_uom: string; + /** + * @description If enabled, the rewards will be automatically restaked + * @default false + */ + restake_rewards: boolean; + /** + * @description Grantee address, this address is specific to each validator. Kiln grantee addresses are found here: https://github.com/eco-stake/validator-registry/blob/master/Kiln/chains.json https://github.com/eco-stake/validator-registry/blob/master/Interop/chains.json + * @example cosmos1u4whe0pwlgt7q7ph37qxalq2wfq4pkcdze5fmd + */ + grantee_address?: string; + }; + MANTRACraftRestakeRewardsTxPayload: { + /** + * @description Wallet public key (compressed or uncompressed), this is different than the wallet address + * @example 039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f46 + */ + pubkey: string; + /** + * @description Validator address + * @example mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g + */ + validator_address: string; + /** + * @description Grantee address, this address is specific to each validator. Kiln grantee addresses are found here: https://github.com/eco-stake/validator-registry/blob/master/Kiln/chains.json https://github.com/eco-stake/validator-registry/blob/master/Interop/chains.json + * @example cosmos1u4whe0pwlgt7q7ph37qxalq2wfq4pkcdze5fmd + */ + grantee_address: string; + }; + MANTRACraftWithdrawRewardsTxPayload: { + /** + * @description Wallet public key (compressed or uncompressed), this is different than the wallet address + * @example 039ce47b2a813d13876131a9c3be77e8c4afa49e948744abbee11f939e2a420f46 + */ + pubkey: string; + /** + * @description Validator address + * @example mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g + */ + validator: string; + }; + MANTRAReward: { + /** + * Format: date + * @description Day for this reward entry + * @example 2023-01-15 + */ + date: string; + /** + * @description Accumulated rewards in uOM during the day + * @example 3575891083876864200000 + */ + rewards: string; + /** + * @description Staked balance in uOM at the end of the day + * @example 6300000000000000000000000 + */ + balance: string; + /** + * @description Net annual percentage yield + * @example 20.76 + */ + net_apy: number; + /** @description Estimated value of rewards generated for that day in USD. The exchange rate is the rate at the end of the day provided by CoinGeckko. */ + rewards_usd?: number; + /** @description Estimated value of the staked balance at the beginning of the day in USD. The exchange rate is the rate at the end of the day provided by CoinGeckko. */ + balance_usd?: number; + }; + MANTRAOperationDelegate: { + /** + * @description Operation type + * @example staking.MsgDelegate + */ + type?: string; + /** + * Format: date-time + * @description Date of the operation + * @example 2023-06-22T15:35:01.892644Z + */ + time?: string; + /** + * @description Transaction block + * @example 15828207 + */ + block?: number; + /** + * @description Transaction hash + * @example 7DBC7C481A9A28961BDDF5BCDD47217A126EC0497017908453D71FACA9FA3506 + */ + tx_hash?: string; + /** + * @description Gas used for the whole transaction in uOM + * @example 186733 + */ + tx_gas_used?: string; + /** + * @description Index of the message in the transaction + * @example 0 + */ + message_index?: number; + /** + * @description Validator address + * @example mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g + */ + validator_address?: string; + /** + * @description Delegator address + * @example mantra156h4wqz5p0xuj48cn0cv2sg8q9p2y3nycg3h3a + */ + delegator_address?: string; + /** + * @description Amount added to the staked balance in uOM + * @example 3000000 + */ + amount?: string; + /** + * @description Rewards auto-claimed alongside the operation in uOM + * @example 10841 + */ + withdraw_rewards?: string; + }; + MANTRAOperationUndelegate: { + /** + * @description Operation type + * @example staking.MsgUndelegate + */ + type?: string; + /** + * Format: date-time + * @description Date of the operation + * @example 2023-06-22T15:35:01.892644Z + */ + time?: string; + /** + * @description Transaction block + * @example 15828207 + */ + block?: number; + /** + * @description Transaction hash + * @example 7DBC7C481A9A28961BDDF5BCDD47217A126EC0497017908453D71FACA9FA3506 + */ + tx_hash?: string; + /** + * @description Gas used for the whole transaction in uOM + * @example 186733 + */ + tx_gas_used?: string; + /** + * @description Index of the message in the transaction + * @example 0 + */ + message_index?: number; + /** + * @description Validator address + * @example mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g + */ + validator_address?: string; + /** + * @description Delegator address + * @example mantra156h4wqz5p0xuj48cn0cv2sg8q9p2y3nycg3h3a + */ + delegator_address?: string; + /** + * @description Amount removed from the staked balance in uOM + * @example 3000000 + */ + amount?: string; + /** + * @description Rewards auto-claimed alongside the operation in uOM + * @example 10841 + */ + withdraw_rewards?: string; + }; + MANTRAOperationRedelegate: { + /** + * @description Operation type + * @example staking.MsgBeginRedelegate + */ + type?: string; + /** + * Format: date-time + * @description Date of the operation + * @example 2023-06-22T15:35:01.892644Z + */ + time?: string; + /** + * @description Transaction block + * @example 15828207 + */ + block?: number; + /** + * @description Transaction hash + * @example 7DBC7C481A9A28961BDDF5BCDD47217A126EC0497017908453D71FACA9FA3506 + */ + tx_hash?: string; + /** + * @description Gas used for the whole transaction in uOM + * @example 186733 + */ + tx_gas_used?: string; + /** + * @description Index of the message in the transaction + * @example 0 + */ + message_index?: number; + /** + * @description Destination validator address + * @example mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g + */ + validator_address?: string; + /** + * @description Source validator address + * @example mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g + */ + validator_address_source?: string; + /** + * @description Delegator address + * @example mantra156h4wqz5p0xuj48cn0cv2sg8q9p2y3nycg3h3a + */ + delegator_address?: string; + /** + * @description Amount moved from the source validator staked balance to the destination validator staked balance in uOM + * @example 3000000 + */ + amount?: string; + /** + * @description Rewards auto-claimed from the destination validator alongside the operation in uOM + * @example 10841 + */ + withdraw_rewards?: string; + /** + * @description Rewards auto-claimed from the source validator alongside the operation in uOM + * @example 10841 + */ + withdraw_rewards_source?: string; + }; + MANTRAOperationWithdrawRewards: { + /** + * @description Operation type + * @example distr.MsgWithdrawDelegatorReward + */ + type?: string; + /** + * Format: date-time + * @description Date of the operation + * @example 2023-06-22T15:35:01.892644Z + */ + time?: string; + /** + * @description Transaction block + * @example 15828207 + */ + block?: number; + /** + * @description Transaction hash + * @example 7DBC7C481A9A28961BDDF5BCDD47217A126EC0497017908453D71FACA9FA3506 + */ + tx_hash?: string; + /** + * @description Gas used for the whole transaction in uOM + * @example 186733 + */ + tx_gas_used?: string; + /** + * @description Index of the message in the transaction + * @example 0 + */ + message_index?: number; + /** + * @description Validator address + * @example mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g + */ + validator_address?: string; + /** + * @description Delegator address + * @example mantra156h4wqz5p0xuj48cn0cv2sg8q9p2y3nycg3h3a + */ + delegator_address?: string; + /** + * @description Rewards claimed alongside the operation in uOM + * @example 10841 + */ + withdraw_rewards?: string; + }; + MANTRAOperationGrant: { + /** + * @description Operation type + * @example Authz.Grant + */ + type?: string; + /** + * Format: date-time + * @description Date of the operation + * @example 2023-06-22T15:35:01.892644Z + */ + time?: string; + /** + * @description Transaction block + * @example 15828207 + */ + block?: number; + /** + * @description Transaction hash + * @example 7DBC7C481A9A28961BDDF5BCDD47217A126EC0497017908453D71FACA9FA3506 + */ + tx_hash?: string; + /** + * @description Gas used for the whole transaction in uOM + * @example 186733 + */ + tx_gas_used?: string; + /** + * @description Index of the message in the transaction + * @example 0 + */ + message_index?: number; + /** + * @description Recipient of the permissions + * @example mantra156h4wqz5p0xuj48cn0cv2sg8q9p2y3nycg3h3a + */ + grantee?: string; + /** + * @description Owner of the stake giving the permissions + * @example mantra156h4wqz5p0xuj48cn0cv2sg8q9p2y3nycg3h3a + */ + granter?: string; + /** + * @description Kind of permission been grantee, can be: "Staking.MsgDelegate", "Staking.MsgUndelegate", "Staking.MsgRedelegate" or "Distribution.MsgWithdrawDelegatorReward" + * @example Staking.MsgDelegate + */ + permission?: string; + /** + * @description List of address on which the granted permission can be applied (ie validator on which delegation is allowed) + * @example [ + * "mantra156h4wqz5p0xuj48cn0cv2sg8q9p2y3nycg3h3a", + * "mantra156h4wqz5p0xuj48cn0cv2sg8q9p2y3nycg3h3a" + * ] + */ + allow_list?: string[] | null; + /** + * @description List of address on which the granted permission cannot be applied (ie validator on which delegation is allowed) + * @example [ + * "mantra156h4wqz5p0xuj48cn0cv2sg8q9p2y3nycg3h3a", + * "mantra156h4wqz5p0xuj48cn0cv2sg8q9p2y3nycg3h3a" + * ] + */ + deny_list?: string[] | null; + }; + MANTRAOperationExec: { + /** + * @description Operation type + * @example Authz.Exec + */ + type?: string; + /** + * Format: date-time + * @description Date of the operation + * @example 2023-06-22T15:35:01.892644Z + */ + time?: string; + /** + * @description Transaction block + * @example 15828207 + */ + block?: number; + /** + * @description Transaction hash + * @example 7DBC7C481A9A28961BDDF5BCDD47217A126EC0497017908453D71FACA9FA3506 + */ + tx_hash?: string; + /** + * @description Gas used for the whole transaction in uOM + * @example 186733 + */ + tx_gas_used?: string; + /** + * @description Index of the message in the transaction + * @example 0 + */ + message_index?: number; + executed_operations?: { + /** + * @description Operation type + * @example staking.Delegate + */ + type?: string; + /** + * @description Destination validator address + * @example mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g + */ + validator_address?: string; + /** + * @description Source validator address + * @example mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g + */ + validator_address_source?: string; + /** + * @description Delegator address + * @example mantra156h4wqz5p0xuj48cn0cv2sg8q9p2y3nycg3h3a + */ + delegator_address?: string; + /** + * @description Amount moved from the source validator staked balance to the destination validator staked balance in uOM + * @example 3000000 + */ + amount?: string; + /** + * @description Rewards auto-claimed from the destination validator alongside the operation in uOM + * @example 10841 + */ + withdraw_rewards?: string; + /** + * @description Rewards auto-claimed from the source validator alongside the operation in uOM + * @example 10841 + */ + withdraw_rewards_source?: string; + }[] | null; + }; + MANTRANetworkStats: { + /** + * @description Price of Mantra in USD + * @example 10.53 + */ + mantra_price_usd: number; + /** + * @description Number of validators in the network + * @example 100 + */ + nb_validators: number; + /** + * @description Gross annual percentage yield + * @example 4.5 + */ + network_gross_apy: number; + /** + * @description Supply of Mantra currently staked + * @example 12.4 + */ + supply_staked_percent: number; + /** + * @description Mantra inflation rate + * @example 3.5 + */ + inflation_rate: number; + /** + * Format: date-time + * @description Last date this data was updated + * @example 2023-01-14T01:13:59Z + */ + updated_at: string; + }; + /** + * @description Decoded transaction + * @example { + * "authInfo": { + * "signerInfos": [ + * { + * "publicKey": { + * "typeUrl": "/cosmos.crypto.secp256k1.PubKey", + * "value": { + * "0": 10, + * "1": 33, + * "2": 3, + * "3": 156, + * "4": 228, + * "5": 123, + * "6": 42, + * "7": 129, + * "8": 61, + * "9": 19, + * "10": 135, + * "11": 97, + * "12": 49, + * "13": 169, + * "14": 195, + * "15": 190, + * "16": 119, + * "17": 232, + * "18": 196, + * "19": 175, + * "20": 164, + * "21": 158, + * "22": 148, + * "23": 135, + * "24": 68, + * "25": 171, + * "26": 190, + * "27": 225, + * "28": 31, + * "29": 147, + * "30": 158, + * "31": 42, + * "32": 66, + * "33": 15, + * "34": 70 + * } + * }, + * "modeInfo": { + * "single": { + * "mode": 1 + * } + * }, + * "sequence": { + * "low": 102, + * "high": 0, + * "unsigned": true + * } + * } + * ], + * "fee": { + * "amount": [ + * { + * "denom": "uom", + * "amount": "5000" + * } + * ], + * "gasLimit": { + * "low": 2000000, + * "high": 0, + * "unsigned": true + * }, + * "payer": "", + * "granter": "" + * } + * }, + * "body": { + * "messages": [ + * { + * "typeUrl": "/cosmos.staking.v1beta1.MsgDelegate", + * "value": { + * "0": 10, + * "1": 45, + * "2": 99, + * "3": 111, + * "4": 115, + * "5": 109, + * "6": 111, + * "7": 115, + * "8": 49, + * "9": 57, + * "10": 99, + * "11": 57, + * "12": 102, + * "13": 100, + * "14": 104, + * "15": 52, + * "16": 56, + * "17": 56, + * "18": 118, + * "19": 113, + * "20": 106, + * "21": 99, + * "22": 108, + * "23": 108, + * "24": 116, + * "25": 119, + * "26": 112, + * "27": 54, + * "28": 56, + * "29": 106, + * "30": 109, + * "31": 53, + * "32": 48, + * "33": 121, + * "34": 100, + * "35": 119, + * "36": 121, + * "37": 104, + * "38": 51, + * "39": 54, + * "40": 106, + * "41": 113, + * "42": 101, + * "43": 97, + * "44": 116, + * "45": 101, + * "46": 118, + * "47": 18, + * "48": 52, + * "49": 99, + * "50": 111, + * "51": 115, + * "52": 109, + * "53": 111, + * "54": 115, + * "55": 118, + * "56": 97, + * "57": 108, + * "58": 111, + * "59": 112, + * "60": 101, + * "61": 114, + * "62": 49, + * "63": 54, + * "64": 121, + * "65": 115, + * "66": 48, + * "67": 101, + * "68": 103, + * "69": 57, + * "70": 51, + * "71": 53, + * "72": 109, + * "73": 107, + * "74": 113, + * "75": 112, + * "76": 107, + * "77": 121, + * "78": 100, + * "79": 107, + * "80": 103, + * "81": 102, + * "82": 99, + * "83": 106, + * "84": 57, + * "85": 97, + * "86": 103, + * "87": 101, + * "88": 50, + * "89": 97, + * "90": 117, + * "91": 56, + * "92": 108, + * "93": 57, + * "94": 54, + * "95": 110, + * "96": 97, + * "97": 101, + * "98": 114, + * "99": 101, + * "100": 57, + * "101": 26, + * "102": 16, + * "103": 10, + * "104": 5, + * "105": 117, + * "106": 97, + * "107": 116, + * "108": 111, + * "109": 109, + * "110": 18, + * "111": 7, + * "112": 49, + * "113": 48, + * "114": 48, + * "115": 48, + * "116": 48, + * "117": 48, + * "118": 48 + * } + * } + * ], + * "memo": "", + * "timeoutHeight": { + * "low": 0, + * "high": 0, + * "unsigned": true + * }, + * "extensionOptions": [], + * "nonCriticalExtensionOptions": [] + * }, + * "signatures": [ + * { + * "0": 116, + * "1": 104, + * "2": 101, + * "3": 116, + * "4": 97, + * "5": 45, + * "6": 116, + * "7": 101, + * "8": 115, + * "9": 116, + * "10": 110, + * "11": 101, + * "12": 116, + * "13": 45, + * "14": 48, + * "15": 48, + * "16": 49 + * } + * ] + * } + */ + MANTRATxDecoding: Record; + ADAPostStakesPayload: { + stakes: { + /** + * @description Stake address + * @example stake1u84uqy85qpsln9a49dtv7mrzzp0246v7s2cj7ypjr555ldqenardf + */ + stakeAddress?: string; + }[]; + /** + * @description Kiln Account ID + * @example 92f5bfd4-ea38-4824-84f7-686eddff5539 + */ + account_id: string; + }; + ADACraftStakeTxPayload: { + /** + * Format: uuid + * @description Kiln Account ID to stake into + * @example b7177fd2-fbb3-479f-aa92-db9fb16e229f + */ + account_id: string; + /** + * @description Wallet that you wish to delegate from + * @example addr1q8rmz6kk2te6z2p44l2uvjgmf5cj5r6l0nwnw6xqk4srnlr5kh8wvl8mw3na7m3fd2py8n3zqs6ueqe0gwcuf9a77z9sxdz9xr + */ + wallet: string; + /** + * @description Pool id to delegate to + * @example pool10rdglgh4pzvkf936p2m669qzarr9dusrhmmz9nultm3uvq4eh5k + */ + pool_id: string; + }; + ADACraftWithdrawRewardsTxPayload: { + /** + * @description Wallet that you wish to withdraw rewards to + * @example addr1q8rmz6kk2te6z2p44l2uvjgmf5cj5r6l0nwnw6xqk4srnlr5kh8wvl8mw3na7m3fd2py8n3zqs6ueqe0gwcuf9a77z9sxdz9xr + */ + wallet: string; + /** + * @description Optional amount of rewards to withdraw in lovelace. 1 ADA = 1,000,000 lovelace. If omitted, all available rewards will be withdrawn. + * @example 1000000 + */ + amount_lovelace?: string; + }; + ADACraftUnstakeTxPayload: { + /** + * @description Wallet that you wish to undelegate + * @example addr1q8rmz6kk2te6z2p44l2uvjgmf5cj5r6l0nwnw6xqk4srnlr5kh8wvl8mw3na7m3fd2py8n3zqs6ueqe0gwcuf9a77z9sxdz9xr + */ + wallet: string; + }; + ADAPrepareTxPayload: { + /** + * @description Unsigned serialized transaction + * @example 0300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000063b2b5ef76d483b695bc3b954d9a372ca5f744e00279c8578bc4268d570b701a037fac575ae16bb3ba5702b8d5bd9930953453e2d628368f83a11ab5896d20bbcae0b4a119860afd99da20f3462ba15d8bd1528d73724b83e8cc4cee00787df28a181783c264113ef1870bae5a90987fc5cfcdffaddf23c7dcfd7585c13d10b0301080c373c6f8e84c6822a9f87035f65cccf899eef3fcdee61077041a93e1805bab24e1bb5f70b4d3ae65feb6d20587f62ccc8d5e720e99abe3d4415972bbf74a8a88a51f5f3871e65b84cc393458d0f23a413184cf2bb7093ae4e2c99d55b39a575c5f98e3135fcb53e71e6fafcb4da3a3cc36af1c76a1a7e72aa12eae1346d724c6c00000000000000000000000000000000000000000000000000000000000000004792650d1e9a4fe99721617c7d47c8712c14c20a76bf043368c6528c9090531a06a1d8179137542a983437bdfe2a7ab2557f535c8a78722b68a49dc00000000006a1d817a502050b680791e6ce6db88e1e5b7150f61fc6790a4eb4d10000000006a7d51718c774c928566398691d5eb68b5eb8a39b4b6d5c73555b210000000006a7d517192c568ee08a845f73d29788cf035c3145b21ab344d8062ea940000006a7d517192c5c51218cc94c3d4af17f58daee089ba1fd44e3dbd98a0000000006a7d517193584d0feed9bb3431d13206be544281b57b8566cc5375ff4000000f0973e76495f3ffc65798a529de5cba4ec7f47f17669c9fa256923f099a1cda304040303090204040000000402000134000000000080c6a47e8d0300c80000000000000006a1d8179137542a983437bdfe2a7ab2557f535c8a78722b68a49dc0000000000602010a7400000000373c6f8e84c6822a9f87035f65cccf899eef3fcdee61077041a93e1805bab24e373c6f8e84c6822a9f87035f65cccf899eef3fcdee61077041a93e1805bab24e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006060105080b07000402000000 + */ + unsigned_tx_serialized: string; + /** + * @description Signed messages + * @example null + */ + signed_messages: { + /** @description Public key of the signing key */ + pubkey?: string; + /** @description Signature of the message */ + signature?: string; + }[]; + }; + ADABroadcastTxPayload: { + /** + * @description Signed serialized transaction + * @example 0300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000063b2b5ef76d483b695bc3b954d9a372ca5f744e00279c8578bc4268d570b701a037fac575ae16bb3ba5702b8d5bd9930953453e2d628368f83a11ab5896d20bbcae0b4a119860afd99da20f3462ba15d8bd1528d73724b83e8cc4cee00787df28a181783c264113ef1870bae5a90987fc5cfcdffaddf23c7dcfd7585c13d10b0301080c373c6f8e84c6822a9f87035f65cccf899eef3fcdee61077041a93e1805bab24e1bb5f70b4d3ae65feb6d20587f62ccc8d5e720e99abe3d4415972bbf74a8a88a51f5f3871e65b84cc393458d0f23a413184cf2bb7093ae4e2c99d55b39a575c5f98e3135fcb53e71e6fafcb4da3a3cc36af1c76a1a7e72aa12eae1346d724c6c00000000000000000000000000000000000000000000000000000000000000004792650d1e9a4fe99721617c7d47c8712c14c20a76bf043368c6528c9090531a06a1d8179137542a983437bdfe2a7ab2557f535c8a78722b68a49dc00000000006a1d817a502050b680791e6ce6db88e1e5b7150f61fc6790a4eb4d10000000006a7d51718c774c928566398691d5eb68b5eb8a39b4b6d5c73555b210000000006a7d517192c568ee08a845f73d29788cf035c3145b21ab344d8062ea940000006a7d517192c5c51218cc94c3d4af17f58daee089ba1fd44e3dbd98a0000000006a7d517193584d0feed9bb3431d13206be544281b57b8566cc5375ff4000000f0973e76495f3ffc65798a529de5cba4ec7f47f17669c9fa256923f099a1cda304040303090204040000000402000134000000000080c6a47e8d0300c80000000000000006a1d8179137542a983437bdfe2a7ab2557f535c8a78722b68a49dc0000000000602010a7400000000373c6f8e84c6822a9f87035f65cccf899eef3fcdee61077041a93e1805bab24e373c6f8e84c6822a9f87035f65cccf899eef3fcdee61077041a93e1805bab24e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006060105080b07000402000000 + */ + tx_serialized: string; + }; + ADATxStatus: { + /** + * @description Transaction status + * @example success + * @enum {string} + */ + status?: "success" | "pending_confirmation"; + /** + * @description Transaction receipt. Object shape can be found [here](https://github.com/blockfrost/openapi/blob/master/src/generated-types.ts#L4493) + * @example { + * "hash": "20082206aadbbb2dfded4afc9346831c5bd3a6a3f8a75f59dbe6166c05e918f6", + * "block": "2612449e345ec0f58aae05c693a09943f599592e28eedec70ee8c1a4f3d1e834", + * "block_height": 660450, + * "block_time": 1677170968, + * "slot": 21487768, + * "index": 1, + * "output_amount": [ + * { + * "unit": "lovelace", + * "quantity": "10027100000" + * } + * ], + * "fees": "300000", + * "deposit": "2000000", + * "size": 429, + * "invalid_before": null, + * "invalid_hereafter": "21494910", + * "utxo_count": 2, + * "withdrawal_count": 0, + * "mir_cert_count": 0, + * "delegation_count": 1, + * "stake_cert_count": 1, + * "pool_update_count": 0, + * "pool_retire_count": 0, + * "asset_mint_or_burn_count": 0, + * "redeemer_count": 0, + * "valid_contract": true + * } + */ + receipt?: Record; + }; + ADAUnsignedTx: { + /** + * @description Hash of the unsigned transaction + * @example ea62bc381a2d8fc338f24634674a168fdc8f1a09b978f24f026041f4e00c876f + */ + unsigned_tx_hash: string; + /** + * @description Unsigned serialized transaction + * @example 84a500818258203d244a2821a0cb32df614cf4380e6c6e0114bc7c734cfa2a3940498ad86865e100018182583900491a1d0747fa91f319625e39076232ad4cc274e3257f345ced82dbb2a8565045c49103b521a3827ff64b98889350a22fa9a0b5ccf72b279b1b0000000255928400021a000493e0031a01ad4330048282008200581ca8565045c49103b521a3827ff64b98889350a22fa9a0b5ccf72b279b83028200581ca8565045c49103b521a3827ff64b98889350a22fa9a0b5ccf72b279b581ce54d5f9340218a9816cafafc92dc3d5212b6d149ce75e9637cbcd7e0a0f5f6 + */ + unsigned_tx_serialized: string; + /** + * @description List of inputs to spend + * @example [ + * { + * "transaction_id": "3d244a2821a0cb32df614cf4380e6c6e0114bc7c734cfa2a3940498ad86865e1", + * "index": 0 + * } + * ] + */ + inputs: Record[]; + }; + ADASignedTx: { + /** + * @description Signed serialized transaction + * @example 84a500818258203d244a2821a0cb32df614cf4380e6c6e0114bc7c734cfa2a3940498ad86865e100018182583900491a1d0747fa91f319625e39076232ad4cc274e3257f345ced82dbb2a8565045c49103b521a3827ff64b98889350a22fa9a0b5ccf72b279b1b0000000255928400021a000493e0031a01ad4330048282008200581ca8565045c49103b521a3827ff64b98889350a22fa9a0b5ccf72b279b83028200581ca8565045c49103b521a3827ff64b98889350a22fa9a0b5ccf72b279b581ce54d5f9340218a9816cafafc92dc3d5212b6d149ce75e9637cbcd7e0a0f5f6 + */ + signed_tx_serialized: string; + }; + ADATxHash: { + /** + * @description Hash of the transaction + * @example 7f12d9eacd762d130838289397480e495db0fd268bd3be4fd55c74a74fd8372d + */ + tx_hash: string; + }; + ADAStake: { + /** + * @description The list of wallet addresses associated to the stake address + * @example [ + * "addr_test1qqumsdyju8ee4tvee7kyzd6jenkl9jvgdjtzqlf729wqd66eay504fk550rss8ckhksw3t742vf5vy99kyxpz60cxqcqdeu78t" + * ] + */ + wallet_addresses: string[]; + /** + * @description The stake address + * @example stake_test1upv7j2865m2283cgruttmg8g4l24xy6xzzjmzrq3d8urqvqla4ngk + */ + stake_address: string; + /** + * @description The pool id associated to the stake address + * @example pool1u4x4ly6qyx9fs9k2lt7f9hpa2gftd52fee67jcmuhnt7qqae3x0 + */ + pool_id: string; + /** + * @description Current stake balance in Lovelace + * @example 30004690613 + */ + balance: string; + /** + * @description Total stake rewards in Lovelace + * @example 37201548 + */ + rewards: string; + /** + * @description Withdrawal amount of rewards in Lovelace + * @example 4588 + */ + available_rewards: string; + /** + * @description Epoch of the last delegation + * @example 42 + */ + delegated_epoch: number; + /** + * Format: date-time + * @description Date of the last delegation * @example 2023-01-06T22:00:00Z */ delegated_at: string; @@ -29369,6 +33365,123 @@ export interface components { */ amount_uusdc: string; }; + TRXUnsignedTx: { + /** + * @description Unsigned serialized transaction + * @example 0a026554220847c22aa98d1f46a94090ee9ba0be325a6a080412660a30747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e566f74655769746e657373436f6e747261637412320a154102e07e61860efd34e1bdedcb5b485da75407d8f112190a1541a4ce68cfcdd27884bde52cec653354048e0aa989100170b0e1fef6bd32 + */ + unsigned_tx_serialized: string; + }; + TRXCraftStakeTxPayload: { + /** + * Format: uuid + * @description Kiln Account ID to stake into + * @example b7177fd2-fbb3-479f-aa92-db9fb16e229f + */ + account_id: string; + /** + * @description Wallet address of the owner + * @example TAERHY5gyzDRmAaeqqa6C4Fuyc9HLnnHx7 + */ + owner_address: string; + /** + * @description Amount of TRX to stake in sun + * @example 10000 + */ + amount_sun: string; + /** + * @description Resource to obtain + * @example BANDWIDTH + * @enum {string} + */ + resource: "BANDWIDTH" | "ENERGY"; + }; + TRXCraftUnstakeTxPayload: { + /** + * @description Wallet address of the owner + * @example TAERHY5gyzDRmAaeqqa6C4Fuyc9HLnnHx7 + */ + owner_address: string; + /** + * @description Amount of TRX to unstake in sun + * @example 10000 + */ + amount_sun: string; + /** + * @description Resource to release + * @example BANDWIDTH + * @enum {string} + */ + resource: "BANDWIDTH" | "ENERGY"; + }; + TRXCraftWithdrawUnstakedTxPayload: { + /** + * @description Wallet address of the owner + * @example TAERHY5gyzDRmAaeqqa6C4Fuyc9HLnnHx7 + */ + owner_address: string; + }; + TRXCraftVoteTxPayload: { + /** + * @description Wallet address of the owner + * @example TAERHY5gyzDRmAaeqqa6C4Fuyc9HLnnHx7 + */ + owner_address: string; + /** + * @description Number of votes to cast + * @example 1 + */ + votes?: string; + }; + TRXCraftWithdrawRewardsTxPayload: { + /** + * @description Wallet address of the owner + * @example TAERHY5gyzDRmAaeqqa6C4Fuyc9HLnnHx7 + */ + owner_address: string; + }; + TRXPrepareTxPayload: { + /** + * @description Unsigned serialized transaction + * @example 0a026554220847c22aa98d1f46a94090ee9ba0be325a6a080412660a30747970652e676f6f676c65617069732e636f6d2f70726f6f746f636f6c2e566f74655769746e657373436f6e747261637412320a154102e07e61860efd34e1bdedcb5b485da75407d8f112190a1541a4ce68cfcdd27884bde52cec653354048e0aa989100170b0e1fef6bd32 + */ + unsigned_tx_serialized: string; + /** + * @description Signature of the transaction + * @example 47b1f77b3e30cfbbfa41d795dd34475865240617dd1c5a7bad526f5fd89e52cd057c80b665cc2431efab53520e2b1b92a0425033baee915df858ca1c588b0a1800 + */ + signature: string; + }; + TRXBroadcastTxPayload: { + /** + * @description Signed serialized transaction + * @example 0a026554220847c22aa98d1f46a94090ee9ba0be325a6a080412660a30747970652e676f6f676c65617069732e636f6d2f70726f6f746f636f6c2e566f74655769746e7373616c6c656454787061796c6f616412320a154102e07e61860efd34e1bdedcb5b485da75407d8f112190a1541a4ce68cfcdd27884bde52cec653354048e0aa989100170b0e1fef6bd32 + */ + signed_tx_serialized: string; + }; + TRXStake: { + /** + * @description Wallet address + * @example TAERHY5gyzDRmAaeqqa6C4Fuyc9HLnnHx7 + */ + wallet: string; + /** + * @description Validator address + * @example TAERHY5gyzDRmAaeqqa6C4Fuyc9HLnnHx7 + */ + validator: string; + /** + * @description Staked balance in sun + * @example 10000 + */ + balance: string; + /** + * Format: date-time + * @description Last updated timestamp + * @example 2021-01-01T00:00:00Z + */ + updated_at: string; + }; }; responses: never; parameters: { @@ -29463,6 +33576,34 @@ export interface components { ATOMDelegatorsParam: string[]; /** @description whether or not the operation returned will include authz operations, defaults to false */ ATOMAuthzFlagParam: boolean; + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + CRONOSValidatorsParam: string[]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + CRONOSDelegatorsParam: string[]; + /** @description whether or not the operation returned will include authz operations, defaults to false */ + CRONOSAuthzFlagParam: boolean; + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + MANTRAValidatorsParam: string[]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + MANTRADelegatorsParam: string[]; + /** @description whether or not the operation returned will include authz operations, defaults to false */ + MANTRAAuthzFlagParam: boolean; ADAStakeAddressesParam: string; ADAWalletsParam: string; ADAPoolIDsParam: string; @@ -29517,6 +33658,7 @@ export interface components { /** @description Comma-separated list of validator contract addresses */ EGLDValidatorsParam: string[]; DOTAddressesParam: string; + DOTValidatorsParam: string; /** @description Current page to look-up entries. Defaults to 1. If the number of entries returned is lesser than `page_size`, it means it's the last page and there are no more entries. */ DOTPaginationPageParam: number; /** @description Number of entries to list per page. Defaults to `100`. specified */ @@ -29525,6 +33667,7 @@ export interface components { /** @description The format of the response. Defaults to `daily` */ DOTRewardsFormatParam: "daily" | "era"; KSMAddressesParam: string; + KSMValidatorsParam: string; /** @description Current page to look-up entries. Defaults to 1. If the number of entries returned is lesser than `page_size`, it means it's the last page and there are no more entries. */ KSMPaginationPageParam: number; /** @description Number of entries to list per page. Defaults to `100`. specified */ @@ -29628,14 +33771,386 @@ export interface components { TONTxHashParam: string; /** @description Wallet address */ TONGetWalletInfoParam: string; + TRXWalletsParam: string; + }; + requestBodies: never; + headers: never; + pathItems: never; +} +export type $defs = Record; +export interface operations { + getAccounts: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data?: components["schemas"]["AccountsResponse"]; + }; + }; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Internal server error */ + 500: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + postAccount: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** @description Account to create */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["AccountPayload"]; + }; + }; + responses: { + /** @description Successful operation */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data?: components["schemas"]["Account"]; + }; + }; + }; + /** @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; + }; + }; + }; + getAccount: { + parameters: { + query?: never; + header?: never; + path: { + /** @description Account id */ + id: components["parameters"]["AccountIdParam"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data?: components["schemas"]["Account"]; + }; + }; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Internal server error */ + 500: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + putAccount: { + parameters: { + query?: never; + header?: never; + path: { + /** @description Account id */ + id: components["parameters"]["AccountIdParam"]; + }; + cookie?: never; + }; + /** @description Account to update */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["AccountPayload"]; + }; + }; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data?: components["schemas"]["Account"]; + }; + }; + }; + /** @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; + }; + }; + }; + deleteAccount: { + parameters: { + query?: never; + header?: never; + path: { + /** @description Account id */ + id: components["parameters"]["AccountIdParam"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data?: components["schemas"]["Account"]; + }; + }; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Internal server error */ + 500: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; }; - requestBodies: never; - headers: never; - pathItems: never; -} -export type $defs = Record; -export interface operations { - getAccounts: { + getAccountPortfolio: { + parameters: { + query?: { + /** @description Set to 1 for real-time data */ + refresh?: components["parameters"]["RefreshParam"]; + }; + header?: never; + path: { + /** @description Account id */ + id: components["parameters"]["AccountIdParam"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data: components["schemas"]["Portfolio"]; + }; + }; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Internal server error */ + 500: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + getAccountReports: { + parameters: { + query?: never; + header?: never; + path: { + /** @description Account id */ + id: components["parameters"]["AccountIdParam"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/octet-stream": string; + }; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Internal server error */ + 500: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + getOrganizationPortfolio: { + parameters: { + query?: { + /** @description Set to 1 for real-time data */ + refresh?: components["parameters"]["RefreshParam"]; + }; + header?: never; + path: { + /** @description Organization id */ + id: components["parameters"]["OrganizationIdParam"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data: components["schemas"]["Portfolio"]; + }; + }; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Internal server error */ + 500: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + getOrganizationReports: { + parameters: { + query?: never; + header?: never; + path: { + /** @description Organization id */ + id: components["parameters"]["OrganizationIdParam"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/octet-stream": string; + }; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Internal server error */ + 500: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + getDeployments: { parameters: { query?: never; header?: never; @@ -29651,7 +34166,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["AccountsResponse"]; + data: components["schemas"]["Deployment"][]; }; }; }; @@ -29671,17 +34186,85 @@ export interface operations { }; }; }; - postAccount: { + getEthStakes: { + parameters: { + query?: { + /** @description Comma-separated list of validators addresses */ + validators?: components["parameters"]["ETHValidatorsParam"]; + /** @description Scope of validators to fetch (all network, all kiln keys) */ + scope?: components["parameters"]["ETHScopeParam"]; + /** @description Comma-separated list of wallets addresses */ + wallets?: components["parameters"]["ETHWalletsParam"]; + /** @description Comma-separated list of proxy-contract addresses. + * The definition of a proxy is a smart contract that was involved in the deposit transaction and emitted a log. */ + proxies?: components["parameters"]["ETHProxiesParam"]; + /** @description Comma-separated list of withdrawal credentials. */ + withdrawal_credentials?: components["parameters"]["ETHWithdrawalCredentialsParam"]; + /** @description Comma-separated list of validators' consensus layer indexes */ + validator_indexes?: components["parameters"]["ETHValidatorIndexesParam"]; + /** @description Include EigenLayer reporting data */ + include_eigenlayer?: components["parameters"]["ETHIncludeEigenLayerParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Current page to look-up entries. If not specified, pagination is disabled */ + current_page?: components["parameters"]["PaginationPageParam"]; + /** @description Number of entries to list per page. Only used when `current_page` is specified */ + page_size?: components["parameters"]["PaginationPageSizeParam"]; + /** @description Comma-separated list of states to filter on (unknown, unstaked, deposit_in_progress, pending_initialized, pending_queued, active_ongoing, active_exiting, active_slashed, exited_unslashed, exited_slashed, withdrawal_possible, withdrawal_done). Not available with the `scope` parameter */ + filter_states?: components["parameters"]["FilterStatesParam"]; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data: components["schemas"]["ETHStake"][]; + pagination?: components["schemas"]["Pagination"]; + }; + }; + }; + /** @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; + }; + }; + }; + postEthStakes: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Account to create */ + /** @description Stakes to create */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["AccountPayload"]; + "application/json; charset=utf-8": components["schemas"]["PostETHStakesPayload"]; }; }; responses: { @@ -29692,7 +34275,8 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["Account"]; + data?: components["schemas"]["ETHStake"][]; + pagination?: components["schemas"]["Pagination"]; }; }; }; @@ -29719,14 +34303,90 @@ export interface operations { }; }; }; - getAccount: { + getEthRewards: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses */ + validators?: components["parameters"]["ETHValidatorsParam"]; + /** @description Scope of validators to fetch (all network, all kiln keys) */ + scope?: components["parameters"]["ETHScopeParam"]; + /** @description Comma-separated list of wallets addresses */ + wallets?: components["parameters"]["ETHWalletsParam"]; + /** @description Comma-separated list of proxy-contract addresses. + * The definition of a proxy is a smart contract that was involved in the deposit transaction and emitted a log. */ + proxies?: components["parameters"]["ETHProxiesParam"]; + /** @description Comma-separated list of validators' consensus layer indexes */ + validator_indexes?: components["parameters"]["ETHValidatorIndexesParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ + include_usd?: components["parameters"]["IncludeUSDParam"]; + }; header?: never; - path: { - /** @description Account id */ - id: components["parameters"]["AccountIdParam"]; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data: components["schemas"]["ETHReward"][]; + }; + }; + }; + /** @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; + }; + }; + }; + getEthOperations: { + parameters: { + query?: { + /** @description Comma-separated list of validators addresses */ + validators?: components["parameters"]["ETHValidatorsParam"]; + /** @description Comma-separated list of wallets addresses */ + wallets?: components["parameters"]["ETHWalletsParam"]; + /** @description Comma-separated list of proxy-contract addresses. + * The definition of a proxy is a smart contract that was involved in the deposit transaction and emitted a log. */ + proxies?: components["parameters"]["ETHProxiesParam"]; + /** @description Comma-separated list of validators' consensus layer indexes */ + validator_indexes?: components["parameters"]["ETHValidatorIndexesParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; }; + header?: never; + path?: never; cookie?: never; }; requestBody?: never; @@ -29738,10 +34398,17 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["Account"]; + data?: (components["schemas"]["ETHOperationDeposit"] | components["schemas"]["ETHOperationConsensusWithdrawal"] | components["schemas"]["ETHOperationExecutionReward"] | components["schemas"]["ETHOperationKilnExitRequest"] | components["schemas"]["ETHOperationLidoExitRequest"] | components["schemas"]["ETHOperationRioExitRequest"] | components["schemas"]["ETHOperationVoluntaryExit"])[]; }; }; }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; /** @description Unauthorized */ 401: { headers: { @@ -29758,31 +34425,114 @@ export interface operations { }; }; }; - putAccount: { + getEthNetworkStats: { parameters: { query?: never; header?: never; - path: { - /** @description Account id */ - id: components["parameters"]["AccountIdParam"]; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data: components["schemas"]["ETHNetworkStats"]; + }; + }; + }; + /** @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; }; + }; + }; + getEthKilnStats: { + parameters: { + query?: never; + header?: never; + path?: never; cookie?: never; }; - /** @description Account to update */ + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data: components["schemas"]["ETHKilnStats"]; + }; + }; + }; + /** @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; + }; + }; + }; + postEthKeys: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** @description Ethereum keys to generate */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["AccountPayload"]; + "application/json; charset=utf-8": components["schemas"]["ETHPostKeysPayload"]; }; }; responses: { /** @description Successful operation */ - 200: { + 201: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["Account"]; + data: components["schemas"]["ETHPostKeysCliResponse"] | components["schemas"]["ETHPostKeysBatchResponse"]; }; }; }; @@ -29809,17 +34559,19 @@ export interface operations { }; }; }; - deleteAccount: { + postEthStakeTx: { parameters: { query?: never; header?: never; - path: { - /** @description Account id */ - id: components["parameters"]["AccountIdParam"]; - }; + path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["ETHCraftStakeTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -29828,10 +34580,17 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["Account"]; + data: components["schemas"]["ETHUnsignedTx"]; }; }; }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; /** @description Unauthorized */ 401: { headers: { @@ -29848,20 +34607,19 @@ export interface operations { }; }; }; - getAccountPortfolio: { + postEthPrepareTx: { parameters: { - query?: { - /** @description Set to 1 for real-time data */ - refresh?: components["parameters"]["RefreshParam"]; - }; + query?: never; header?: never; - path: { - /** @description Account id */ - id: components["parameters"]["AccountIdParam"]; - }; + path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to prepare */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["ETHPrepareTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -29870,10 +34628,17 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["Portfolio"]; + data: components["schemas"]["ETHSignedTx"]; }; }; }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; /** @description Unauthorized */ 401: { headers: { @@ -29890,17 +34655,19 @@ export interface operations { }; }; }; - getAccountReports: { + postEthBroadcastTx: { parameters: { query?: never; header?: never; - path: { - /** @description Account id */ - id: components["parameters"]["AccountIdParam"]; - }; + path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to broadcast */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["ETHBroadcastTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -29908,8 +34675,17 @@ export interface operations { [name: string]: unknown; }; content: { - "application/octet-stream": string; + "application/json; charset=utf-8": { + data?: components["schemas"]["ETHBroadcastedTx"]; + }; + }; + }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; }; + content?: never; }; /** @description Unauthorized */ 401: { @@ -29927,17 +34703,14 @@ export interface operations { }; }; }; - getOrganizationPortfolio: { + getEthTxStatus: { parameters: { - query?: { - /** @description Set to 1 for real-time data */ - refresh?: components["parameters"]["RefreshParam"]; + query: { + /** @description Hash of the transaction */ + tx_hash: string; }; header?: never; - path: { - /** @description Organization id */ - id: components["parameters"]["OrganizationIdParam"]; - }; + path?: never; cookie?: never; }; requestBody?: never; @@ -29949,10 +34722,17 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["Portfolio"]; + data?: components["schemas"]["ETHTxStatus"]; }; }; }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; /** @description Unauthorized */ 401: { headers: { @@ -29969,17 +34749,19 @@ export interface operations { }; }; }; - getOrganizationReports: { + postEthRequestExitTx: { parameters: { query?: never; header?: never; - path: { - /** @description Organization id */ - id: components["parameters"]["OrganizationIdParam"]; - }; + path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["ETHCraftRequestExitTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -29987,8 +34769,17 @@ export interface operations { [name: string]: unknown; }; content: { - "application/octet-stream": string; + "application/json; charset=utf-8": { + data: components["schemas"]["ETHUnsignedTx"]; + }; + }; + }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; }; + content?: never; }; /** @description Unauthorized */ 401: { @@ -30006,9 +34797,12 @@ export interface operations { }; }; }; - getDeployments: { + getEthTxDecoding: { parameters: { - query?: never; + query: { + /** @description Raw transaction to decode */ + tx_serialized: string; + }; header?: never; path?: never; cookie?: never; @@ -30021,10 +34815,15 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: components["schemas"]["Deployment"][]; - }; + "application/json; charset=utf-8": Record; + }; + }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; }; + content?: never; }; /** @description Unauthorized */ 401: { @@ -30042,32 +34841,15 @@ export interface operations { }; }; }; - getEthStakes: { + getEthReports: { parameters: { query?: { /** @description Comma-separated list of validators addresses */ validators?: components["parameters"]["ETHValidatorsParam"]; - /** @description Scope of validators to fetch (all network, all kiln keys) */ - scope?: components["parameters"]["ETHScopeParam"]; /** @description Comma-separated list of wallets addresses */ wallets?: components["parameters"]["ETHWalletsParam"]; - /** @description Comma-separated list of proxy-contract addresses. - * The definition of a proxy is a smart contract that was involved in the deposit transaction and emitted a log. */ - proxies?: components["parameters"]["ETHProxiesParam"]; - /** @description Comma-separated list of withdrawal credentials. */ - withdrawal_credentials?: components["parameters"]["ETHWithdrawalCredentialsParam"]; - /** @description Comma-separated list of validators' consensus layer indexes */ - validator_indexes?: components["parameters"]["ETHValidatorIndexesParam"]; - /** @description Include EigenLayer reporting data */ - include_eigenlayer?: components["parameters"]["ETHIncludeEigenLayerParam"]; /** @description Comma-separated list of Kiln accounts identifiers */ accounts?: components["parameters"]["AccountsParam"]; - /** @description Current page to look-up entries. If not specified, pagination is disabled */ - current_page?: components["parameters"]["PaginationPageParam"]; - /** @description Number of entries to list per page. Only used when `current_page` is specified */ - page_size?: components["parameters"]["PaginationPageSizeParam"]; - /** @description Comma-separated list of states to filter on (unknown, unstaked, deposit_in_progress, pending_initialized, pending_queued, active_ongoing, active_exiting, active_slashed, exited_unslashed, exited_slashed, withdrawal_possible, withdrawal_done). Not available with the `scope` parameter */ - filter_states?: components["parameters"]["FilterStatesParam"]; }; header?: never; path?: never; @@ -30081,10 +34863,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: components["schemas"]["ETHStake"][]; - pagination?: components["schemas"]["Pagination"]; - }; + "application/octet-stream": string; }; }; /** @description Invalid parameters */ @@ -30110,29 +34889,26 @@ export interface operations { }; }; }; - postEthStakes: { + getExitMessage: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses */ + validators?: components["parameters"]["ETHValidatorsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Stakes to create */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["PostETHStakesPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["ETHStake"][]; - pagination?: components["schemas"]["Pagination"]; + data?: components["schemas"]["ETHExitMessage"][]; }; }; }; @@ -30159,28 +34935,11 @@ export interface operations { }; }; }; - getEthRewards: { + getEigenLayerEigenPod: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses */ - validators?: components["parameters"]["ETHValidatorsParam"]; - /** @description Scope of validators to fetch (all network, all kiln keys) */ - scope?: components["parameters"]["ETHScopeParam"]; - /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["ETHWalletsParam"]; - /** @description Comma-separated list of proxy-contract addresses. - * The definition of a proxy is a smart contract that was involved in the deposit transaction and emitted a log. */ - proxies?: components["parameters"]["ETHProxiesParam"]; - /** @description Comma-separated list of validators' consensus layer indexes */ - validator_indexes?: components["parameters"]["ETHValidatorIndexesParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ - include_usd?: components["parameters"]["IncludeUSDParam"]; + query: { + /** @description wallet address */ + wallet: components["parameters"]["ETHEigenLayerRequiredWalletParam"]; }; header?: never; path?: never; @@ -30195,7 +34954,11 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHReward"][]; + /** + * @description The EigenPod address of the given wallet + * @example 0x991c468AbcE2b4DD627a6210C145373EbABdd186 + */ + data: string; }; }; }; @@ -30222,24 +34985,11 @@ export interface operations { }; }; }; - getEthOperations: { + getEigenLayerOperator: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses */ - validators?: components["parameters"]["ETHValidatorsParam"]; - /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["ETHWalletsParam"]; - /** @description Comma-separated list of proxy-contract addresses. - * The definition of a proxy is a smart contract that was involved in the deposit transaction and emitted a log. */ - proxies?: components["parameters"]["ETHProxiesParam"]; - /** @description Comma-separated list of validators' consensus layer indexes */ - validator_indexes?: components["parameters"]["ETHValidatorIndexesParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; + query: { + /** @description operator address */ + operator: components["parameters"]["ETHEigenLayerOperatorParam"]; }; header?: never; path?: never; @@ -30254,7 +35004,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: (components["schemas"]["ETHOperationDeposit"] | components["schemas"]["ETHOperationConsensusWithdrawal"] | components["schemas"]["ETHOperationExecutionReward"])[]; + data: components["schemas"]["ETHEigenLayerOperator"]; }; }; }; @@ -30281,9 +35031,14 @@ export interface operations { }; }; }; - getEthNetworkStats: { + getEigenLayerSummary: { parameters: { - query?: never; + query?: { + /** @description wallet address */ + wallet?: components["parameters"]["ETHEigenLayerWalletParam"]; + /** @description EigenPod address */ + eigenpod?: components["parameters"]["ETHEigenLayerEigenPodParam"]; + }; header?: never; path?: never; cookie?: never; @@ -30297,7 +35052,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHNetworkStats"]; + data: components["schemas"]["ETHEigenLayerSummary"]; }; }; }; @@ -30324,9 +35079,12 @@ export interface operations { }; }; }; - getEthKilnStats: { + getEigenLayerAvsRewards: { parameters: { - query?: never; + query: { + /** @description wallet address */ + wallet: components["parameters"]["ETHEigenLayerRequiredWalletParam"]; + }; header?: never; path?: never; cookie?: never; @@ -30340,7 +35098,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHKilnStats"]; + data: components["schemas"]["ETHEigenLayerAvsReward"][]; }; }; }; @@ -30367,28 +35125,28 @@ export interface operations { }; }; }; - postEthKeys: { + getEigenLayerNativePoints: { parameters: { - query?: never; + query?: { + /** @description wallet address */ + wallet?: components["parameters"]["ETHEigenLayerWalletParam"]; + /** @description EigenPod address */ + eigenpod?: components["parameters"]["ETHEigenLayerEigenPodParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Ethereum keys to generate */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["ETHPostKeysPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHPostKeysCliResponse"] | components["schemas"]["ETHPostKeysBatchResponse"]; + data: components["schemas"]["ETHEigenLayerNativePoints"]; }; }; }; @@ -30415,28 +35173,28 @@ export interface operations { }; }; }; - postEthStakeTx: { + getEigenLayerNativeUndelegations: { parameters: { - query?: never; + query?: { + /** @description wallet address */ + wallet?: components["parameters"]["ETHEigenLayerWalletParam"]; + /** @description EigenPod address */ + eigenpod?: components["parameters"]["ETHEigenLayerEigenPodParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["ETHCraftStakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHUnsignedTx"]; + data: components["schemas"]["ETHEigenLayerNativeUndelegation"][]; }; }; }; @@ -30463,28 +35221,26 @@ export interface operations { }; }; }; - postEthPrepareTx: { + getEigenLayerLiquidPoints: { parameters: { - query?: never; + query: { + /** @description wallet address */ + wallet: components["parameters"]["ETHEigenLayerRequiredWalletParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to prepare */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["ETHPrepareTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHSignedTx"]; + data: components["schemas"]["ETHEigenLayerLiquidPoints"]; }; }; }; @@ -30511,28 +35267,26 @@ export interface operations { }; }; }; - postEthBroadcastTx: { + getEigenLayerLiquidDeposits: { parameters: { - query?: never; + query: { + /** @description wallet address */ + wallet: components["parameters"]["ETHEigenLayerRequiredWalletParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to broadcast */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["ETHBroadcastTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["ETHBroadcastedTx"]; + data: components["schemas"]["ETHEigenLayerLiquidDeposit"][]; }; }; }; @@ -30559,11 +35313,11 @@ export interface operations { }; }; }; - getEthTxStatus: { + getEigenLayerWithdrawals: { parameters: { query: { - /** @description Hash of the transaction */ - tx_hash: string; + /** @description wallet address */ + wallet: components["parameters"]["ETHEigenLayerRequiredWalletParam"]; }; header?: never; path?: never; @@ -30578,7 +35332,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["ETHTxStatus"]; + data: components["schemas"]["ETHEigenLayerLiquidWithdrawal"][]; }; }; }; @@ -30605,22 +35359,40 @@ export interface operations { }; }; }; - postEthRequestExitTx: { + postEigenLayerClaimRewardsTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["ETHCraftRequestExitTxPayload"]; + "application/json; charset=utf-8": { + /** + * @description Address that earned the rewards + * @example 0x11ed089a9715aDB1e294A73f4e8C40A7a455b6d3 + */ + earner_address: string; + /** + * @description Address that will receive the rewards, if not provided, the `earner_address` will be used. + * @example 0x11ed089a9715aDB1e294A73f4e8C40A7a455b6d3 + */ + receiver_address?: string; + /** + * @description Array of ERC20 token addresses for which you have unclaimed rewards. If not provided, we will automatically process all tokens with rewards available to you. + * @example [ + * "0x0E859E11bD289e8983f4E78f3503b26F192A7a95", + * "0x3B78576F7D6837500bA3De27A60c7f594934027E" + * ] + */ + token_addresses?: string[]; + }; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -30630,12 +35402,14 @@ export interface operations { }; }; }; - /** @description Invalid parameters */ + /** @description Invalid parameters or No rewards to claim */ 400: { headers: { [name: string]: unknown; }; - content?: never; + content: { + "application/json; charset=utf-8": unknown; + }; }; /** @description Unauthorized */ 401: { @@ -30653,17 +35427,32 @@ export interface operations { }; }; }; - getEthTxDecoding: { + postEigenLayerVerifyCheckpointProofsTx: { parameters: { - query: { - /** @description Raw transaction to decode */ - tx_serialized: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + requestBody: { + content: { + "application/json; charset=utf-8": { + /** + * @description Address of the EigenPod owner + * @example 0x7fF0B7D8b99E4cD685355A786B6ad5287B6552C1 + */ + wallet: string; + /** + * @description Array of validator indexes to process, they must have their `withdrawal_credentials` pointed to the EigenPod of the given `wallet`. If not provided, all validators with `withdrawal_credentials` pointed to the EigenPod of the provided `wallet` will be processed + * @example [ + * 1659766, + * 1659767 + * ] + */ + validator_indexes?: number[]; + }; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -30671,15 +35460,19 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": Record; + "application/json; charset=utf-8": { + data: components["schemas"]["ETHUnsignedTx"]; + }; }; }; - /** @description Invalid parameters */ + /** @description Invalid parameters or No more checkpoint proofs to process */ 400: { headers: { [name: string]: unknown; }; - content?: never; + content: { + "application/json; charset=utf-8": unknown; + }; }; /** @description Unauthorized */ 401: { @@ -30697,21 +35490,26 @@ export interface operations { }; }; }; - getEthReports: { + postEigenLayerVerifyWithdrawalCredentialsTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses */ - validators?: components["parameters"]["ETHValidatorsParam"]; - /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["ETHWalletsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + requestBody: { + content: { + "application/json; charset=utf-8": { + /** + * @description Address of the EigenPod owner + * @example 0x7fF0B7D8b99E4cD685355A786B6ad5287B6552C1 + */ + wallet: string; + /** @description Array of validator indexes to restake, they must have their `withdrawal_credentials` pointed to the EigenPod of the given wallet. If not provided, all validators with `withdrawal_credentials` pointed to the provided EigenPod will be processed */ + validator_indexes?: number[]; + }; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -30719,7 +35517,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/octet-stream": string; + "application/json; charset=utf-8": { + data: components["schemas"]["ETHUnsignedTx"]; + }; }; }; /** @description Invalid parameters */ @@ -30745,11 +35545,13 @@ export interface operations { }; }; }; - getExitMessage: { + getDefiStakes: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses */ - validators?: components["parameters"]["ETHValidatorsParam"]; + query: { + /** @description Comma-separated list of wallet addresses */ + wallets?: components["parameters"]["DefiWalletParam"]; + /** @description Comma-separated list of vault addresses prefixed by chain identifier: `eth`, `arb`, `bsc`, `matic`, `op` */ + vaults: components["parameters"]["DefiVaultsParam"]; }; header?: never; path?: never; @@ -30764,17 +35566,99 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["ETHExitMessage"][]; + data: components["schemas"]["DefiStake"][]; }; }; }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; /** @description Invalid parameters */ - 400: { + 422: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + /** + * @description Error message + * @example The vaults.0 is invalid. It should be in the format: _
. + */ + message?: string; + /** + * @description Details of all the errors + * @example { + * "vaults.0": [ + * "The vaults.0 is invalid. It should be in the format: _
." + * ] + * } + */ + errors?: Record; + }; + }; + }; + /** @description Internal server error */ + 500: { headers: { [name: string]: unknown; }; content?: never; }; + }; + }; + getDefiOperations: { + parameters: { + query: { + /** @description Comma-separated list of wallet addresses */ + wallets?: components["parameters"]["DefiWalletParam"]; + /** @description Comma-separated list of vault addresses prefixed by chain identifier: `eth`, `arb`, `bsc`, `matic`, `op` */ + vaults: components["parameters"]["DefiVaultsParam"]; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + /** @example [ + * { + * "type": "deposit", + * "assets": "1000000", + * "shares": "996951", + * "sender": "0x9d94BF9DE2f770645186814556eA3C080E68D2F4", + * "timestamp": "2024-06-12T11:37:48+00:00", + * "tx_hash": "0xae6cd6c0180dc7ea54f7ef701c20d6d7c30533e7030485f6b720284a13e00da3", + * "vault": "0x682cFC8A3d956FBA2c40791ec8d5a49E13BAaFbD", + * "owner": "0x9d94BF9DE2f770645186814556eA3C080E68D2F4", + * "chain": "eth" + * }, + * { + * "type": "withdrawal", + * "assets": "1000000000", + * "shares": "996995364", + * "sender": "0x821B6341bEC60Cb276fBc5E7E25d68D1ca14b180", + * "timestamp": "2024-06-11T18:43:12+00:00", + * "tx_hash": "0x6f26fdfad5b13a79dcfd2f8b1fcfe59c411a6d3ea411902f8abd217199302635", + * "vault": "0x682cFC8A3d956FBA2c40791ec8d5a49E13BAaFbD", + * "owner": "0x821B6341bEC60Cb276fBc5E7E25d68D1ca14b180", + * "chain": "eth" + * } + * ] */ + data: components["schemas"]["DefiOperation"][]; + }; + }; + }; /** @description Unauthorized */ 401: { headers: { @@ -30782,6 +35666,30 @@ export interface operations { }; content?: never; }; + /** @description Invalid parameters */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + /** + * @description Error message + * @example The vaults.0 is invalid. It should be in the format: _
. + */ + message?: string; + /** + * @description Details of all the errors + * @example { + * "vaults.0": [ + * "The vaults.0 is invalid. It should be in the format: _
." + * ] + * } + */ + errors?: Record; + }; + }; + }; /** @description Internal server error */ 500: { headers: { @@ -30791,11 +35699,11 @@ export interface operations { }; }; }; - getEigenLayerEigenPod: { + getDefiNetworkStats: { parameters: { query: { - /** @description wallet address */ - wallet: components["parameters"]["ETHEigenLayerRequiredWalletParam"]; + /** @description Comma-separated list of vault addresses prefixed by chain identifier: `eth`, `arb`, `bsc`, `matic`, `op` */ + vaults: components["parameters"]["DefiVaultsParam"]; }; header?: never; path?: never; @@ -30810,27 +35718,40 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - /** - * @description The EigenPod address of the given wallet - * @example 0x991c468AbcE2b4DD627a6210C145373EbABdd186 - */ - data: string; + data: components["schemas"]["DefiNetworkStats"][]; }; }; }; - /** @description Invalid parameters */ - 400: { + /** @description Unauthorized */ + 401: { headers: { [name: string]: unknown; }; content?: never; }; - /** @description Unauthorized */ - 401: { + /** @description Invalid parameters */ + 422: { headers: { [name: string]: unknown; }; - content?: never; + content: { + "application/json; charset=utf-8": { + /** + * @description Error message + * @example The vaults.0 is invalid. It should be in the format: _
. + */ + message?: string; + /** + * @description Details of all the errors + * @example { + * "vaults.0": [ + * "The vaults.0 is invalid. It should be in the format: _
." + * ] + * } + */ + errors?: Record; + }; + }; }; /** @description Internal server error */ 500: { @@ -30841,26 +35762,28 @@ export interface operations { }; }; }; - getEigenLayerOperator: { + postEthOnChainKeys: { parameters: { - query: { - /** @description operator address */ - operator: components["parameters"]["ETHEigenLayerOperatorParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Ethereum keys to generate */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["ETHPostKeysOnChainPayload"]; + }; + }; responses: { /** @description Successful operation */ - 200: { + 201: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHEigenLayerOperator"]; + data?: components["schemas"]["ETHPostKeysCliResponse"]; }; }; }; @@ -30887,28 +35810,28 @@ export interface operations { }; }; }; - getEigenLayerSummary: { + postEthVSuiteKeys: { parameters: { - query?: { - /** @description wallet address */ - wallet?: components["parameters"]["ETHEigenLayerWalletParam"]; - /** @description EigenPod address */ - eigenpod?: components["parameters"]["ETHEigenLayerEigenPodParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Ethereum keys to generate on withdrawal channel 0 (vNFT) of the vSuite contract */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["ETHPostKeysVSuitePayload"]; + }; + }; responses: { /** @description Successful operation */ - 200: { + 201: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHEigenLayerSummary"]; + data?: components["schemas"]["ETHPostKeysCliResponse"]; }; }; }; @@ -30935,11 +35858,11 @@ export interface operations { }; }; }; - getEigenLayerAvsRewards: { + getEthOnchainV2Stakes: { parameters: { - query: { - /** @description wallet address */ - wallet: components["parameters"]["ETHEigenLayerRequiredWalletParam"]; + query?: { + /** @description Comma-separated list of wallets addresses */ + wallets?: components["parameters"]["ETHWalletsParam"]; }; header?: never; path?: never; @@ -30954,7 +35877,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHEigenLayerAvsReward"][]; + data?: components["schemas"]["ETHOnchainV2Stake"][]; }; }; }; @@ -30981,13 +35904,17 @@ export interface operations { }; }; }; - getEigenLayerNativePoints: { + getEthOnchainV2Operations: { parameters: { query?: { - /** @description wallet address */ - wallet?: components["parameters"]["ETHEigenLayerWalletParam"]; - /** @description EigenPod address */ - eigenpod?: components["parameters"]["ETHEigenLayerEigenPodParam"]; + /** @description Comma-separated list of wallets addresses */ + wallets?: components["parameters"]["ETHWalletsParam"]; + /** @description Comma-separated list of operation IDs */ + ids?: components["parameters"]["ETHOnChainOperationIDs"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; }; header?: never; path?: never; @@ -31002,7 +35929,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHEigenLayerNativePoints"]; + data?: components["schemas"]["ETHOnchainV2Operation"][]; }; }; }; @@ -31029,13 +35956,19 @@ export interface operations { }; }; }; - getEigenLayerNativeUndelegations: { + getEthOnchainV2Rewards: { parameters: { query?: { - /** @description wallet address */ - wallet?: components["parameters"]["ETHEigenLayerWalletParam"]; - /** @description EigenPod address */ - eigenpod?: components["parameters"]["ETHEigenLayerEigenPodParam"]; + /** @description Comma-separated list of wallets addresses */ + wallets?: components["parameters"]["ETHWalletsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ + include_usd?: components["parameters"]["IncludeUSDParam"]; + /** @description The address of the pooling integration */ + integration?: components["parameters"]["ETHOnChainIntegrationParam"]; }; header?: never; path?: never; @@ -31050,7 +35983,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHEigenLayerNativeUndelegation"][]; + data: components["schemas"]["ETHOnchainV2Reward"][]; }; }; }; @@ -31077,11 +36010,11 @@ export interface operations { }; }; }; - getEigenLayerLiquidPoints: { + getEthOnchainV2NetworkStats: { parameters: { - query: { - /** @description wallet address */ - wallet: components["parameters"]["ETHEigenLayerRequiredWalletParam"]; + query?: { + /** @description The address of the pooling integration */ + integration?: components["parameters"]["ETHOnChainIntegrationParam"]; }; header?: never; path?: never; @@ -31096,7 +36029,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHEigenLayerLiquidPoints"]; + data: components["schemas"]["ETHOnchainV2NetworkStats"]; }; }; }; @@ -31123,11 +36056,11 @@ export interface operations { }; }; }; - getEigenLayerLiquidDeposits: { + getEthOnchainV2ExitTickets: { parameters: { - query: { - /** @description wallet address */ - wallet: components["parameters"]["ETHEigenLayerRequiredWalletParam"]; + query?: { + /** @description Comma-separated list of wallets addresses */ + wallets?: components["parameters"]["ETHWalletsParam"]; }; header?: never; path?: never; @@ -31142,7 +36075,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHEigenLayerLiquidDeposit"][]; + data: components["schemas"]["ETHOnchainV2ExitTicket"][]; }; }; }; @@ -31169,11 +36102,15 @@ export interface operations { }; }; }; - getEigenLayerWithdrawals: { + getXtzStakes: { parameters: { - query: { - /** @description wallet address */ - wallet: components["parameters"]["ETHEigenLayerRequiredWalletParam"]; + query?: { + /** @description Comma-separated list of wallets addresses */ + wallets?: components["parameters"]["XTZWalletsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Comma-separated list of baker addresses */ + validators?: components["parameters"]["XTZValidatorsParam"]; }; header?: never; path?: never; @@ -31188,7 +36125,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHEigenLayerLiquidWithdrawal"][]; + data: components["schemas"]["XTZStake"][]; }; }; }; @@ -31215,37 +36152,33 @@ export interface operations { }; }; }; - postEigenLayerClaimRewardsTx: { + getXtzRewards: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of wallets addresses */ + wallets?: components["parameters"]["XTZWalletsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Comma-separated list of baker addresses */ + validators?: components["parameters"]["XTZValidatorsParam"]; + /** @description The format of the response. Defaults to `daily` */ + format?: components["parameters"]["XTZRewardsFormatParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + /** @description The cycle from which we want to fetch rewards. Must be used with `format=cycle` */ + start_cycle?: components["parameters"]["XTZStartCycleParam"]; + /** @description The cycle until which we want to fetch rewards. Must be used with `format=cycle` */ + end_cycle?: components["parameters"]["XTZEndCycleParam"]; + /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ + include_usd?: components["parameters"]["IncludeUSDParam"]; + }; header?: never; path?: never; cookie?: never; }; - requestBody: { - content: { - "application/json; charset=utf-8": { - /** - * @description Address that earned the rewards - * @example 0x11ed089a9715aDB1e294A73f4e8C40A7a455b6d3 - */ - earner_address: string; - /** - * @description Address that will receive the rewards, if not provided, the `earner_address` will be used. - * @example 0x11ed089a9715aDB1e294A73f4e8C40A7a455b6d3 - */ - receiver_address?: string; - /** - * @description Array of ERC20 token addresses for which you have unclaimed rewards. If not provided, we will automatically process all tokens with rewards available to you. - * @example [ - * "0x0E859E11bD289e8983f4E78f3503b26F192A7a95", - * "0x3B78576F7D6837500bA3De27A60c7f594934027E" - * ] - */ - token_addresses?: string[]; - }; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ 200: { @@ -31254,18 +36187,16 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHUnsignedTx"]; + data: (components["schemas"]["XTZRewardByDay"] | components["schemas"]["XTZRewardByCycle"])[]; }; }; }; - /** @description Invalid parameters or No rewards to claim */ + /** @description Invalid parameters */ 400: { headers: { [name: string]: unknown; }; - content: { - "application/json; charset=utf-8": unknown; - }; + content?: never; }; /** @description Unauthorized */ 401: { @@ -31283,32 +36214,25 @@ export interface operations { }; }; }; - postEigenLayerVerifyCheckpointProofsTx: { + getXtzOperations: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of wallets addresses */ + wallets?: components["parameters"]["XTZWalletsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Comma-separated list of baker addresses */ + validators?: components["parameters"]["XTZValidatorsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + }; header?: never; path?: never; cookie?: never; }; - requestBody: { - content: { - "application/json; charset=utf-8": { - /** - * @description Address of the EigenPod owner - * @example 0x7fF0B7D8b99E4cD685355A786B6ad5287B6552C1 - */ - wallet: string; - /** - * @description Array of validator indexes to process, they must have their `withdrawal_credentials` pointed to the EigenPod of the given `wallet`. If not provided, all validators with `withdrawal_credentials` pointed to the EigenPod of the provided `wallet` will be processed - * @example [ - * 1659766, - * 1659767 - * ] - */ - validator_indexes?: number[]; - }; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ 200: { @@ -31317,18 +36241,16 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHUnsignedTx"]; + data: (components["schemas"]["XTZOperationDelegate"] | components["schemas"]["XTZOperationUndelegate"] | components["schemas"]["XTZOperationActivation"] | components["schemas"]["XTZOperationPayment"] | components["schemas"]["XTZOperationStake"] | components["schemas"]["XTZOperationUnstake"] | components["schemas"]["XTZOperationFinalize"])[]; }; }; }; - /** @description Invalid parameters or No more checkpoint proofs to process */ + /** @description Invalid parameters */ 400: { headers: { [name: string]: unknown; }; - content: { - "application/json; charset=utf-8": unknown; - }; + content?: never; }; /** @description Unauthorized */ 401: { @@ -31346,26 +36268,14 @@ export interface operations { }; }; }; - postEigenLayerVerifyWithdrawalCredentialsTx: { + getXtzNetworkStats: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - requestBody: { - content: { - "application/json; charset=utf-8": { - /** - * @description Address of the EigenPod owner - * @example 0x7fF0B7D8b99E4cD685355A786B6ad5287B6552C1 - */ - wallet: string; - /** @description Array of validator indexes to restake, they must have their `withdrawal_credentials` pointed to the EigenPod of the given wallet. If not provided, all validators with `withdrawal_credentials` pointed to the provided EigenPod will be processed */ - validator_indexes?: number[]; - }; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ 200: { @@ -31374,17 +36284,10 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHUnsignedTx"]; + data: components["schemas"]["XTZNetworkStats"]; }; }; }; - /** @description Invalid parameters */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; /** @description Unauthorized */ 401: { headers: { @@ -31401,13 +36304,13 @@ export interface operations { }; }; }; - getDefiStakes: { + getXtzReports: { parameters: { - query: { - /** @description Comma-separated list of wallet addresses */ - wallets?: components["parameters"]["DefiWalletParam"]; - /** @description Comma-separated list of vault addresses prefixed by chain identifier: `eth`, `arb`, `bsc`, `matic`, `op` */ - vaults: components["parameters"]["DefiVaultsParam"]; + query?: { + /** @description Comma-separated list of wallets addresses */ + wallets?: components["parameters"]["XTZWalletsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; }; header?: never; path?: never; @@ -31421,41 +36324,22 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: components["schemas"]["DefiStake"][]; - }; + "application/octet-stream": string; }; }; - /** @description Unauthorized */ - 401: { + /** @description Invalid parameters */ + 400: { headers: { [name: string]: unknown; }; content?: never; }; - /** @description Invalid parameters */ - 422: { + /** @description Unauthorized */ + 401: { headers: { [name: string]: unknown; }; - content: { - "application/json; charset=utf-8": { - /** - * @description Error message - * @example The vaults.0 is invalid. It should be in the format: _
. - */ - message?: string; - /** - * @description Details of all the errors - * @example { - * "vaults.0": [ - * "The vaults.0 is invalid. It should be in the format: _
." - * ] - * } - */ - errors?: Record; - }; - }; + content?: never; }; /** @description Internal server error */ 500: { @@ -31466,19 +36350,19 @@ export interface operations { }; }; }; - getDefiOperations: { + postXtzDelegateTx: { parameters: { - query: { - /** @description Comma-separated list of wallet addresses */ - wallets?: components["parameters"]["DefiWalletParam"]; - /** @description Comma-separated list of vault addresses prefixed by chain identifier: `eth`, `arb`, `bsc`, `matic`, `op` */ - vaults: components["parameters"]["DefiVaultsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["XTZCraftDelegateTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -31487,64 +36371,23 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - /** @example [ - * { - * "type": "deposit", - * "assets": "1000000", - * "shares": "996951", - * "sender": "0x9d94BF9DE2f770645186814556eA3C080E68D2F4", - * "timestamp": "2024-06-12T11:37:48+00:00", - * "tx_hash": "0xae6cd6c0180dc7ea54f7ef701c20d6d7c30533e7030485f6b720284a13e00da3", - * "vault": "0x682cFC8A3d956FBA2c40791ec8d5a49E13BAaFbD", - * "owner": "0x9d94BF9DE2f770645186814556eA3C080E68D2F4", - * "chain": "eth" - * }, - * { - * "type": "withdrawal", - * "assets": "1000000000", - * "shares": "996995364", - * "sender": "0x821B6341bEC60Cb276fBc5E7E25d68D1ca14b180", - * "timestamp": "2024-06-11T18:43:12+00:00", - * "tx_hash": "0x6f26fdfad5b13a79dcfd2f8b1fcfe59c411a6d3ea411902f8abd217199302635", - * "vault": "0x682cFC8A3d956FBA2c40791ec8d5a49E13BAaFbD", - * "owner": "0x821B6341bEC60Cb276fBc5E7E25d68D1ca14b180", - * "chain": "eth" - * } - * ] */ - data: components["schemas"]["DefiOperation"][]; + data: components["schemas"]["XTZUnsignedTx"]; }; }; }; - /** @description Unauthorized */ - 401: { + /** @description Invalid parameters */ + 400: { headers: { [name: string]: unknown; }; content?: never; }; - /** @description Invalid parameters */ - 422: { + /** @description Unauthorized */ + 401: { headers: { [name: string]: unknown; }; - content: { - "application/json; charset=utf-8": { - /** - * @description Error message - * @example The vaults.0 is invalid. It should be in the format: _
. - */ - message?: string; - /** - * @description Details of all the errors - * @example { - * "vaults.0": [ - * "The vaults.0 is invalid. It should be in the format: _
." - * ] - * } - */ - errors?: Record; - }; - }; + content?: never; }; /** @description Internal server error */ 500: { @@ -31555,17 +36398,19 @@ export interface operations { }; }; }; - getDefiNetworkStats: { + postXtzUndelegateTx: { parameters: { - query: { - /** @description Comma-separated list of vault addresses prefixed by chain identifier: `eth`, `arb`, `bsc`, `matic`, `op` */ - vaults: components["parameters"]["DefiVaultsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["XTZCraftUndelegateTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -31574,40 +36419,23 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DefiNetworkStats"][]; + data: components["schemas"]["XTZUnsignedTx"]; }; }; }; - /** @description Unauthorized */ - 401: { + /** @description Invalid parameters */ + 400: { headers: { [name: string]: unknown; }; content?: never; }; - /** @description Invalid parameters */ - 422: { + /** @description Unauthorized */ + 401: { headers: { [name: string]: unknown; }; - content: { - "application/json; charset=utf-8": { - /** - * @description Error message - * @example The vaults.0 is invalid. It should be in the format: _
. - */ - message?: string; - /** - * @description Details of all the errors - * @example { - * "vaults.0": [ - * "The vaults.0 is invalid. It should be in the format: _
." - * ] - * } - */ - errors?: Record; - }; - }; + content?: never; }; /** @description Internal server error */ 500: { @@ -31618,28 +36446,28 @@ export interface operations { }; }; }; - postEthOnChainKeys: { + postXtzStakeTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Ethereum keys to generate */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["ETHPostKeysOnChainPayload"]; + "application/json; charset=utf-8": components["schemas"]["XTZCraftStakeTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["ETHPostKeysCliResponse"]; + data: components["schemas"]["XTZUnsignedTx"]; }; }; }; @@ -31666,28 +36494,28 @@ export interface operations { }; }; }; - postEthVSuiteKeys: { + postXtzUnStakeTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Ethereum keys to generate on withdrawal channel 0 (vNFT) of the vSuite contract */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["ETHPostKeysVSuitePayload"]; + "application/json; charset=utf-8": components["schemas"]["XTZCraftStakeTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["ETHPostKeysCliResponse"]; + data: components["schemas"]["XTZUnsignedTx"]; }; }; }; @@ -31714,17 +36542,19 @@ export interface operations { }; }; }; - getEthOnchainV2Stakes: { + postXtzFinalizeUnstakeTx: { parameters: { - query?: { - /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["ETHWalletsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["XTZCraftUndelegateTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -31733,7 +36563,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["ETHOnchainV2Stake"][]; + data: components["schemas"]["XTZUnsignedTx"]; }; }; }; @@ -31760,23 +36590,19 @@ export interface operations { }; }; }; - getEthOnchainV2Operations: { + postXtzPrepareTx: { parameters: { - query?: { - /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["ETHWalletsParam"]; - /** @description Comma-separated list of operation IDs */ - ids?: components["parameters"]["ETHOnChainOperationIDs"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to prepare */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["XTZPrepareTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -31785,7 +36611,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["ETHOnchainV2Operation"][]; + data: components["schemas"]["XTZSignedTx"]; }; }; }; @@ -31812,25 +36638,19 @@ export interface operations { }; }; }; - getEthOnchainV2Rewards: { + postXtzBroadcastTx: { parameters: { - query?: { - /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["ETHWalletsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ - include_usd?: components["parameters"]["IncludeUSDParam"]; - /** @description The address of the pooling integration */ - integration?: components["parameters"]["ETHOnChainIntegrationParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to broadcast */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["XTZBroadcastTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -31839,7 +36659,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHOnchainV2Reward"][]; + data: components["schemas"]["XTZBroadcastedTx"]; }; }; }; @@ -31866,11 +36686,13 @@ export interface operations { }; }; }; - getEthOnchainV2NetworkStats: { + getXtzTxStatus: { parameters: { - query?: { - /** @description The address of the pooling integration */ - integration?: components["parameters"]["ETHOnChainIntegrationParam"]; + query: { + /** @description Hash of the transaction */ + tx_hash: string; + /** @description Block number in which the transaction was included */ + block_number: string; }; header?: never; path?: never; @@ -31885,7 +36707,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ETHOnchainV2NetworkStats"]; + data: components["schemas"]["XTZTxStatus"]; }; }; }; @@ -31912,11 +36734,11 @@ export interface operations { }; }; }; - getEthOnchainV2ExitTickets: { + getXtzTxDecoding: { parameters: { - query?: { - /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["ETHWalletsParam"]; + query: { + /** @description Raw transaction to decode */ + tx_serialized: string; }; header?: never; path?: never; @@ -31930,9 +36752,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: components["schemas"]["ETHOnchainV2ExitTicket"][]; - }; + "application/json; charset=utf-8": Record; }; }; /** @description Invalid parameters */ @@ -31958,15 +36778,17 @@ export interface operations { }; }; }; - getXtzStakes: { + getSolStakes: { parameters: { query?: { + /** @description Comma-separated list of stake addresses */ + stake_accounts?: components["parameters"]["SOLStakeAccountsParam"]; + /** @description Comma-separated list of validator addresses */ + validators?: components["parameters"]["SOLValidatorsParam"]; /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["XTZWalletsParam"]; + wallets?: components["parameters"]["SOLWalletsParam"]; /** @description Comma-separated list of Kiln accounts identifiers */ accounts?: components["parameters"]["AccountsParam"]; - /** @description Comma-separated list of baker addresses */ - validators?: components["parameters"]["XTZValidatorsParam"]; }; header?: never; path?: never; @@ -31981,7 +36803,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["XTZStake"][]; + data: components["schemas"]["SOLStake"][]; }; }; }; @@ -32008,42 +36830,28 @@ export interface operations { }; }; }; - getXtzRewards: { + postSolStakes: { parameters: { - query?: { - /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["XTZWalletsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Comma-separated list of baker addresses */ - validators?: components["parameters"]["XTZValidatorsParam"]; - /** @description The format of the response. Defaults to `daily` */ - format?: components["parameters"]["XTZRewardsFormatParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - /** @description The cycle from which we want to fetch rewards. Must be used with `format=cycle` */ - start_cycle?: components["parameters"]["XTZStartCycleParam"]; - /** @description The cycle until which we want to fetch rewards. Must be used with `format=cycle` */ - end_cycle?: components["parameters"]["XTZEndCycleParam"]; - /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ - include_usd?: components["parameters"]["IncludeUSDParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Stakes to create */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["SOLPostStakesPayload"]; + }; + }; responses: { /** @description Successful operation */ - 200: { + 201: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: (components["schemas"]["XTZRewardByDay"] | components["schemas"]["XTZRewardByCycle"])[]; + data: components["schemas"]["CoreStake"]; }; }; }; @@ -32070,19 +36878,29 @@ export interface operations { }; }; }; - getXtzOperations: { + getSolRewards: { parameters: { query?: { + /** @description Comma-separated list of stake addresses */ + stake_accounts?: components["parameters"]["SOLStakeAccountsParam"]; + /** @description Comma-separated list of validator addresses */ + validators?: components["parameters"]["SOLValidatorsParam"]; /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["XTZWalletsParam"]; + wallets?: components["parameters"]["SOLWalletsParam"]; /** @description Comma-separated list of Kiln accounts identifiers */ accounts?: components["parameters"]["AccountsParam"]; - /** @description Comma-separated list of baker addresses */ - validators?: components["parameters"]["XTZValidatorsParam"]; + /** @description The format of the response. Defaults to `daily` */ + format?: components["parameters"]["SOLRewardsFormatParam"]; /** @description Get data from this date (YYYY-MM-DD) */ start_date?: components["parameters"]["StartDateParam"]; /** @description Get data to this date (YYYY-MM-DD) */ end_date?: components["parameters"]["EndDateParam"]; + /** @description The epoch from which we want to fetch rewards. Must be used with `format=epoch` */ + start_epoch?: components["parameters"]["SOLStartEpochParam"]; + /** @description The epoch until which we want to fetch rewards. Must be used with `format=epoch` */ + end_epoch?: components["parameters"]["SOLEndEpochParam"]; + /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ + include_usd?: components["parameters"]["IncludeUSDParam"]; }; header?: never; path?: never; @@ -32097,7 +36915,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: (components["schemas"]["XTZOperationDelegate"] | components["schemas"]["XTZOperationUndelegate"] | components["schemas"]["XTZOperationActivation"] | components["schemas"]["XTZOperationPayment"] | components["schemas"]["XTZOperationStake"] | components["schemas"]["XTZOperationUnstake"] | components["schemas"]["XTZOperationFinalize"])[]; + data: (components["schemas"]["SOLRewardByEpoch"] | components["schemas"]["SOLRewardByDay"])[]; }; }; }; @@ -32124,49 +36942,19 @@ export interface operations { }; }; }; - getXtzNetworkStats: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful operation */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json; charset=utf-8": { - data: components["schemas"]["XTZNetworkStats"]; - }; - }; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - getXtzReports: { + getSolOperations: { parameters: { query?: { + /** @description Comma-separated list of stake addresses */ + stake_accounts?: components["parameters"]["SOLStakeAccountsParam"]; /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["XTZWalletsParam"]; + wallets?: components["parameters"]["SOLWalletsParam"]; /** @description Comma-separated list of Kiln accounts identifiers */ accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; }; header?: never; path?: never; @@ -32180,7 +36968,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/octet-stream": string; + "application/json; charset=utf-8": { + data: (components["schemas"]["SOLOperationCreateAccountWithSeed"] | components["schemas"]["SOLOperationCreateAccount"] | components["schemas"]["SOLOperationDelegate"] | components["schemas"]["SOLOperationDeactivate"] | components["schemas"]["SOLOperationRedelegate"] | components["schemas"]["SOLOperationSplit"] | components["schemas"]["SOLOperationWithdraw"] | components["schemas"]["SOLOperationMerge"])[]; + }; }; }; /** @description Invalid parameters */ @@ -32206,38 +36996,26 @@ export interface operations { }; }; }; - postXtzDelegateTx: { + getSolNetworkStats: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["XTZCraftDelegateTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["XTZUnsignedTx"]; + data: components["schemas"]["SOLNetworkStats"]; }; }; }; - /** @description Invalid parameters */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; /** @description Unauthorized */ 401: { headers: { @@ -32254,29 +37032,31 @@ export interface operations { }; }; }; - postXtzUndelegateTx: { + getSolReports: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of stake addresses */ + stake_accounts?: components["parameters"]["SOLStakeAccountsParam"]; + /** @description Comma-separated list of wallets addresses */ + wallets?: components["parameters"]["SOLWalletsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description The format of the response. Defaults to `daily` */ + format?: components["parameters"]["SOLRewardsFormatParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["XTZCraftUndelegateTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: components["schemas"]["XTZUnsignedTx"]; - }; + "application/octet-stream": string; }; }; /** @description Invalid parameters */ @@ -32302,38 +37082,26 @@ export interface operations { }; }; }; - postXtzStakeTx: { + getSolNonceAccount: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["XTZCraftStakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["XTZUnsignedTx"]; + data: components["schemas"]["SOLNonceAccount"]; }; }; }; - /** @description Invalid parameters */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; /** @description Unauthorized */ 401: { headers: { @@ -32350,28 +37118,28 @@ export interface operations { }; }; }; - postXtzUnStakeTx: { + postSolStakeTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ + /** @description Stake transaction to create */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["XTZCraftStakeTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["SOLStakeTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["XTZUnsignedTx"]; + data: components["schemas"]["SOLStakeTx"]; }; }; }; @@ -32398,28 +37166,28 @@ export interface operations { }; }; }; - postXtzFinalizeUnstakeTx: { + postSolDeactivateStakeTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ + /** @description Stake to deactivate */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["XTZCraftUndelegateTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["SOLDeactivateStakeTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["XTZUnsignedTx"]; + data: components["schemas"]["SOLStakeTx"]; }; }; }; @@ -32446,28 +37214,28 @@ export interface operations { }; }; }; - postXtzPrepareTx: { + postSolWithdrawStakeTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to prepare */ + /** @description Stake to withdraw */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["XTZPrepareTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["SOLWithdrawStakeTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["XTZSignedTx"]; + data: components["schemas"]["SOLStakeTx"]; }; }; }; @@ -32494,28 +37262,28 @@ export interface operations { }; }; }; - postXtzBroadcastTx: { + postSolMergeStakesTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to broadcast */ + /** @description Stakes to merge */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["XTZBroadcastTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["SOLMergeStakesTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["XTZBroadcastedTx"]; + data: components["schemas"]["SOLStakeTx"]; }; }; }; @@ -32542,19 +37310,19 @@ export interface operations { }; }; }; - getXtzTxStatus: { + postSolSplitStakeTx: { parameters: { - query: { - /** @description Hash of the transaction */ - tx_hash: string; - /** @description Block number in which the transaction was included */ - block_number: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Stake to split */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["SOLSplitStakeTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -32563,7 +37331,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["XTZTxStatus"]; + data: components["schemas"]["SOLStakeTx"]; }; }; }; @@ -32590,17 +37358,19 @@ export interface operations { }; }; }; - getXtzTxDecoding: { + postSolPrepareTx: { parameters: { - query: { - /** @description Raw transaction to decode */ - tx_serialized: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to sign */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["SOLPrepareTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -32608,7 +37378,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": Record; + "application/json; charset=utf-8": { + data: components["schemas"]["SOLPreparedTx"]; + }; }; }; /** @description Invalid parameters */ @@ -32634,23 +37406,19 @@ export interface operations { }; }; }; - getSolStakes: { + postSolBroadcastTx: { parameters: { - query?: { - /** @description Comma-separated list of stake addresses */ - stake_accounts?: components["parameters"]["SOLStakeAccountsParam"]; - /** @description Comma-separated list of validator addresses */ - validators?: components["parameters"]["SOLValidatorsParam"]; - /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["SOLWalletsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Signed transaction to broadcast */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["SOLBroadcastTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -32659,7 +37427,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["SOLStake"][]; + data: components["schemas"]["SOLBroadcastTx"]; }; }; }; @@ -32686,28 +37454,26 @@ export interface operations { }; }; }; - postSolStakes: { + getSolTxStatus: { parameters: { - query?: never; + query: { + /** @description Hash of the transaction */ + tx_hash: string; + }; header?: never; path?: never; cookie?: never; }; - /** @description Stakes to create */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["SOLPostStakesPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["CoreStake"]; + data: components["schemas"]["SOLTxStatus"]; }; }; }; @@ -32734,29 +37500,11 @@ export interface operations { }; }; }; - getSolRewards: { + getSolTxDecoding: { parameters: { - query?: { - /** @description Comma-separated list of stake addresses */ - stake_accounts?: components["parameters"]["SOLStakeAccountsParam"]; - /** @description Comma-separated list of validator addresses */ - validators?: components["parameters"]["SOLValidatorsParam"]; - /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["SOLWalletsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description The format of the response. Defaults to `daily` */ - format?: components["parameters"]["SOLRewardsFormatParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - /** @description The epoch from which we want to fetch rewards. Must be used with `format=epoch` */ - start_epoch?: components["parameters"]["SOLStartEpochParam"]; - /** @description The epoch until which we want to fetch rewards. Must be used with `format=epoch` */ - end_epoch?: components["parameters"]["SOLEndEpochParam"]; - /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ - include_usd?: components["parameters"]["IncludeUSDParam"]; + query: { + /** @description Raw transaction to decode */ + tx_serialized: string; }; header?: never; path?: never; @@ -32770,9 +37518,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: (components["schemas"]["SOLRewardByEpoch"] | components["schemas"]["SOLRewardByDay"])[]; - }; + "application/json; charset=utf-8": Record; }; }; /** @description Invalid parameters */ @@ -32798,19 +37544,23 @@ export interface operations { }; }; }; - getSolOperations: { + getAtomStakes: { parameters: { query?: { - /** @description Comma-separated list of stake addresses */ - stake_accounts?: components["parameters"]["SOLStakeAccountsParam"]; - /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["SOLWalletsParam"]; + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["ATOMValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["ATOMDelegatorsParam"]; /** @description Comma-separated list of Kiln accounts identifiers */ accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; }; header?: never; path?: never; @@ -32825,7 +37575,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: (components["schemas"]["SOLOperationCreateAccountWithSeed"] | components["schemas"]["SOLOperationCreateAccount"] | components["schemas"]["SOLOperationDelegate"] | components["schemas"]["SOLOperationDeactivate"] | components["schemas"]["SOLOperationRedelegate"] | components["schemas"]["SOLOperationSplit"] | components["schemas"]["SOLOperationWithdraw"] | components["schemas"]["SOLOperationMerge"])[]; + data: components["schemas"]["ATOMStake"][]; }; }; }; @@ -32852,26 +37602,38 @@ export interface operations { }; }; }; - getSolNetworkStats: { + postAtomStakes: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Stakes to create */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["PostATOMStakesPayload"]; + }; + }; responses: { /** @description Successful operation */ - 200: { + 201: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["SOLNetworkStats"]; + data?: components["schemas"]["CoreStake"]; }; }; }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; /** @description Unauthorized */ 401: { headers: { @@ -32888,17 +37650,29 @@ export interface operations { }; }; }; - getSolReports: { + getAtomRewards: { parameters: { query?: { - /** @description Comma-separated list of stake addresses */ - stake_accounts?: components["parameters"]["SOLStakeAccountsParam"]; - /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["SOLWalletsParam"]; + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["ATOMValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["ATOMDelegatorsParam"]; /** @description Comma-separated list of Kiln accounts identifiers */ accounts?: components["parameters"]["AccountsParam"]; - /** @description The format of the response. Defaults to `daily` */ - format?: components["parameters"]["SOLRewardsFormatParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ + include_usd?: components["parameters"]["IncludeUSDParam"]; }; header?: never; path?: never; @@ -32912,7 +37686,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/octet-stream": string; + "application/json; charset=utf-8": { + data: components["schemas"]["ATOMReward"][]; + }; }; }; /** @description Invalid parameters */ @@ -32938,9 +37714,30 @@ export interface operations { }; }; }; - getSolNonceAccount: { + getAtomOperations: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["ATOMValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["ATOMDelegatorsParam"]; + /** @description whether or not the operation returned will include authz operations, defaults to false */ + authz?: components["parameters"]["ATOMAuthzFlagParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + }; header?: never; path?: never; cookie?: never; @@ -32954,10 +37751,17 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["SOLNonceAccount"]; + data?: (components["schemas"]["ATOMOperationDelegate"] | components["schemas"]["ATOMOperationUndelegate"] | components["schemas"]["ATOMOperationRedelegate"] | components["schemas"]["ATOMOperationWithdrawRewards"] | components["schemas"]["ATOMOperationGrant"] | components["schemas"]["ATOMOperationExec"])[]; }; }; }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; /** @description Unauthorized */ 401: { headers: { @@ -32974,38 +37778,26 @@ export interface operations { }; }; }; - postSolStakeTx: { + getAtomNetworkStats: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Stake transaction to create */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["SOLStakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["SOLStakeTx"]; + data: components["schemas"]["ATOMNetworkStats"]; }; }; }; - /** @description Invalid parameters */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; /** @description Unauthorized */ 401: { headers: { @@ -33022,29 +37814,37 @@ export interface operations { }; }; }; - postSolDeactivateStakeTx: { + getAtomReports: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["ATOMDelegatorsParam"]; + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["ATOMValidatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Stake to deactivate */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["SOLDeactivateStakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: components["schemas"]["SOLStakeTx"]; - }; + "application/octet-stream": string; }; }; /** @description Invalid parameters */ @@ -33070,28 +37870,28 @@ export interface operations { }; }; }; - postSolWithdrawStakeTx: { + postAtomStakeTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Stake to withdraw */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["SOLWithdrawStakeTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["ATOMCraftStakeTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["SOLStakeTx"]; + data: components["schemas"]["ATOMStakeUnsignedTx"]; }; }; }; @@ -33118,28 +37918,28 @@ export interface operations { }; }; }; - postSolMergeStakesTx: { + postAtomWithdrawRewardsTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Stakes to merge */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["SOLMergeStakesTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["ATOMCraftWithdrawRewardsTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["SOLStakeTx"]; + data: components["schemas"]["ATOMUnsignedTx"]; }; }; }; @@ -33166,28 +37966,28 @@ export interface operations { }; }; }; - postSolSplitStakeTx: { + postAtomRestakeRewardsTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Stake to split */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["SOLSplitStakeTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["ATOMCraftRestakeRewardsTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["SOLStakeTx"]; + data: components["schemas"]["ATOMUnsignedTx"]; }; }; }; @@ -33214,28 +38014,28 @@ export interface operations { }; }; }; - postSolPrepareTx: { + postAtomUnstakeTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to sign */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["SOLPrepareTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["ATOMCraftUnstakeTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["SOLPreparedTx"]; + data: components["schemas"]["ATOMUnsignedTx"]; }; }; }; @@ -33262,28 +38062,28 @@ export interface operations { }; }; }; - postSolBroadcastTx: { + postAtomRedelegateTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Signed transaction to broadcast */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["SOLBroadcastTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["ATOMCraftRedelegateTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["SOLBroadcastTx"]; + data: components["schemas"]["ATOMUnsignedTx"]; }; }; }; @@ -33310,17 +38110,19 @@ export interface operations { }; }; }; - getSolTxStatus: { + postAtomPrepareTx: { parameters: { - query: { - /** @description Hash of the transaction */ - tx_hash: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to prepare */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["ATOMPrepareTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -33329,7 +38131,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["SOLTxStatus"]; + data: components["schemas"]["ATOMSignedTx"]; }; }; }; @@ -33356,17 +38158,19 @@ export interface operations { }; }; }; - getSolTxDecoding: { + postAtomBroadcastTx: { parameters: { - query: { - /** @description Raw transaction to decode */ - tx_serialized: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to broadcast */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["ATOMBroadcastTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -33374,7 +38178,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": Record; + "application/json; charset=utf-8": { + data: components["schemas"]["ATOMTxHash"]; + }; }; }; /** @description Invalid parameters */ @@ -33400,23 +38206,11 @@ export interface operations { }; }; }; - getAtomStakes: { + getAtomTxStatus: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["ATOMValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["ATOMDelegatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; + query: { + /** @description Hash of the transaction */ + tx_hash: string; }; header?: never; path?: never; @@ -33431,7 +38225,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ATOMStake"][]; + data?: components["schemas"]["ATOMTxStatus"]; }; }; }; @@ -33458,29 +38252,25 @@ export interface operations { }; }; }; - postAtomStakes: { + getAtomTxDecoding: { parameters: { - query?: never; + query: { + /** @description Raw transaction to decode */ + tx_serialized: string; + }; header?: never; path?: never; cookie?: never; }; - /** @description Stakes to create */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["PostATOMStakesPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data?: components["schemas"]["CoreStake"]; - }; + "application/json; charset=utf-8": Record; }; }; /** @description Invalid parameters */ @@ -33506,7 +38296,7 @@ export interface operations { }; }; }; - getAtomRewards: { + getCronosStakes: { parameters: { query?: { /** @description Comma-separated list of validators addresses, these addresses @@ -33514,21 +38304,15 @@ export interface operations { * fetch a specific stake, pass your wallet address and the * validator address as parameters. * */ - validators?: components["parameters"]["ATOMValidatorsParam"]; + validators?: components["parameters"]["CRONOSValidatorsParam"]; /** @description Comma-separated list of delegator addresses, these addresses * are matched with the corresponding validator addresses. To * fetch a specific stake, pass your wallet address and the * validator address as parameters. * */ - delegators?: components["parameters"]["ATOMDelegatorsParam"]; + delegators?: components["parameters"]["CRONOSDelegatorsParam"]; /** @description Comma-separated list of Kiln accounts identifiers */ accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ - include_usd?: components["parameters"]["IncludeUSDParam"]; }; header?: never; path?: never; @@ -33543,7 +38327,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ATOMReward"][]; + data: components["schemas"]["CRONOSStake"][]; }; }; }; @@ -33570,44 +38354,28 @@ export interface operations { }; }; }; - getAtomOperations: { + postCronosStakes: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["ATOMValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["ATOMDelegatorsParam"]; - /** @description whether or not the operation returned will include authz operations, defaults to false */ - authz?: components["parameters"]["ATOMAuthzFlagParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Stakes to create */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["PostCRONOSStakesPayload"]; + }; + }; responses: { /** @description Successful operation */ - 200: { + 201: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data?: (components["schemas"]["ATOMOperationDelegate"] | components["schemas"]["ATOMOperationUndelegate"] | components["schemas"]["ATOMOperationRedelegate"] | components["schemas"]["ATOMOperationWithdrawRewards"] | components["schemas"]["ATOMOperationGrant"] | components["schemas"]["ATOMOperationExec"])[]; + data: components["schemas"]["CoreStake"]; }; }; }; @@ -33634,59 +38402,29 @@ export interface operations { }; }; }; - getAtomNetworkStats: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful operation */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json; charset=utf-8": { - data: components["schemas"]["ATOMNetworkStats"]; - }; - }; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - getAtomReports: { + getCronosRewards: { parameters: { query?: { - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To * fetch a specific stake, pass your wallet address and the * validator address as parameters. * */ - delegators?: components["parameters"]["ATOMDelegatorsParam"]; - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To + validators?: components["parameters"]["CRONOSValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To * fetch a specific stake, pass your wallet address and the * validator address as parameters. * */ - validators?: components["parameters"]["ATOMValidatorsParam"]; + delegators?: components["parameters"]["CRONOSDelegatorsParam"]; /** @description Comma-separated list of Kiln accounts identifiers */ accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ + include_usd?: components["parameters"]["IncludeUSDParam"]; }; header?: never; path?: never; @@ -33696,58 +38434,12 @@ export interface operations { responses: { /** @description Successful operation */ 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/octet-stream": string; - }; - }; - /** @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; - }; - }; - }; - postAtomStakeTx: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["ATOMCraftStakeTxPayload"]; - }; - }; - responses: { - /** @description Successful operation */ - 201: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ATOMStakeUnsignedTx"]; + data: components["schemas"]["CRONOSReward"][]; }; }; }; @@ -33774,28 +38466,44 @@ export interface operations { }; }; }; - postAtomWithdrawRewardsTx: { + getCronosOperations: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["CRONOSValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["CRONOSDelegatorsParam"]; + /** @description whether or not the operation returned will include authz operations, defaults to false */ + authz?: components["parameters"]["CRONOSAuthzFlagParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["ATOMCraftWithdrawRewardsTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ATOMUnsignedTx"]; + data: (components["schemas"]["CRONOSOperationDelegate"] | components["schemas"]["CRONOSOperationUndelegate"] | components["schemas"]["CRONOSOperationRedelegate"] | components["schemas"]["CRONOSOperationWithdrawRewards"] | components["schemas"]["CRONOSOperationGrant"] | components["schemas"]["CRONOSOperationExec"])[]; }; }; }; @@ -33822,31 +38530,75 @@ export interface operations { }; }; }; - postAtomRestakeRewardsTx: { + getCronosNetworkStats: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["ATOMCraftRestakeRewardsTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ATOMUnsignedTx"]; + data: components["schemas"]["CRONOSNetworkStats"]; }; }; }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Internal server error */ + 500: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + getCronosReports: { + parameters: { + query?: { + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["CRONOSDelegatorsParam"]; + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["CRONOSValidatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/octet-stream": string; + }; + }; /** @description Invalid parameters */ 400: { headers: { @@ -33870,28 +38622,38 @@ export interface operations { }; }; }; - postAtomUnstakeTx: { + getMantraStakes: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["MANTRAValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["MANTRADelegatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["ATOMCraftUnstakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ATOMUnsignedTx"]; + data: components["schemas"]["MANTRAStake"][]; }; }; }; @@ -33918,17 +38680,17 @@ export interface operations { }; }; }; - postAtomRedelegateTx: { + postMantraStakes: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ + /** @description Stakes to create */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["ATOMCraftRedelegateTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["PostMANTRAStakesPayload"]; }; }; responses: { @@ -33939,7 +38701,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ATOMUnsignedTx"]; + data: components["schemas"]["CoreStake"]; }; }; }; @@ -33966,28 +38728,44 @@ export interface operations { }; }; }; - postAtomPrepareTx: { + getMantraRewards: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["MANTRAValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["MANTRADelegatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ + include_usd?: components["parameters"]["IncludeUSDParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to prepare */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["ATOMPrepareTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ATOMSignedTx"]; + data: components["schemas"]["MANTRAReward"][]; }; }; }; @@ -34014,28 +38792,44 @@ export interface operations { }; }; }; - postAtomBroadcastTx: { + getMantraOperations: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["MANTRAValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["MANTRADelegatorsParam"]; + /** @description whether or not the operation returned will include authz operations, defaults to false */ + authz?: components["parameters"]["MANTRAAuthzFlagParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to broadcast */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["ATOMBroadcastTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ATOMTxHash"]; + data: (components["schemas"]["MANTRAOperationDelegate"] | components["schemas"]["MANTRAOperationUndelegate"] | components["schemas"]["MANTRAOperationRedelegate"] | components["schemas"]["MANTRAOperationWithdrawRewards"] | components["schemas"]["MANTRAOperationGrant"] | components["schemas"]["MANTRAOperationExec"])[]; }; }; }; @@ -34062,12 +38856,9 @@ export interface operations { }; }; }; - getAtomTxStatus: { + getMantraNetworkStats: { parameters: { - query: { - /** @description Hash of the transaction */ - tx_hash: string; - }; + query?: never; header?: never; path?: never; cookie?: never; @@ -34081,17 +38872,10 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["ATOMTxStatus"]; + data: components["schemas"]["MANTRANetworkStats"]; }; }; }; - /** @description Invalid parameters */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; /** @description Unauthorized */ 401: { headers: { @@ -34108,11 +38892,23 @@ export interface operations { }; }; }; - getAtomTxDecoding: { + getMantraReports: { parameters: { - query: { - /** @description Raw transaction to decode */ - tx_serialized: string; + query?: { + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["MANTRADelegatorsParam"]; + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["MANTRAValidatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; }; header?: never; path?: never; @@ -34126,7 +38922,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": Record; + "application/octet-stream": string; }; }; /** @description Invalid parameters */ @@ -34466,7 +39262,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -34514,7 +39310,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -34562,7 +39358,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -34610,7 +39406,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -34658,7 +39454,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -34892,7 +39688,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -34940,7 +39736,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -35280,7 +40076,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -35328,7 +40124,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -35376,7 +40172,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -35424,7 +40220,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -35472,7 +40268,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -35520,7 +40316,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -35568,7 +40364,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -35616,7 +40412,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -36046,7 +40842,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -36094,7 +40890,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -36142,7 +40938,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -36190,7 +40986,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -36238,7 +41034,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -36286,7 +41082,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -36334,7 +41130,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -36382,7 +41178,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -37399,7 +42195,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -37447,7 +42243,7 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -37495,7 +42291,103 @@ export interface operations { }; responses: { /** @description Successful operation */ - 201: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data: components["schemas"]["OSMOUnsignedTx"]; + }; + }; + }; + /** @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; + }; + }; + }; + postOsmoUnstakeTx: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["OSMOCraftUnstakeTxPayload"]; + }; + }; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data: components["schemas"]["OSMOUnsignedTx"]; + }; + }; + }; + /** @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; + }; + }; + }; + postOsmoRedelegateTx: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["OSMOCraftRedelegateTxPayload"]; + }; + }; + responses: { + /** @description Successful operation */ + 200: { headers: { [name: string]: unknown; }; @@ -37528,38 +42420,316 @@ export interface operations { }; }; }; - postOsmoUnstakeTx: { + postOsmoPrepareTx: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** @description Transaction to prepare */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["OSMOPrepareTxPayload"]; + }; + }; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data: components["schemas"]["OSMOSignedTx"]; + }; + }; + }; + /** @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; + }; + }; + }; + postOsmoBroadcastTx: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** @description Transaction to broadcast */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["OSMOBroadcastTxPayload"]; + }; + }; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data: components["schemas"]["OSMOTxHash"]; + }; + }; + }; + /** @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; + }; + }; + }; + getOsmoTxStatus: { + parameters: { + query: { + /** @description Hash of the transaction */ + tx_hash: string; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data?: components["schemas"]["OSMOTxStatus"]; + }; + }; + }; + /** @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; + }; + }; + }; + getOsmoTxDecoding: { + parameters: { + query: { + /** @description Raw transaction to decode */ + tx_serialized: string; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": Record; + }; + }; + /** @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; + }; + }; + }; + getEgldStakes: { + parameters: { + query?: { + /** @description Comma-separated list of wallets addresses */ + wallets?: components["parameters"]["EGLDWalletsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Comma-separated list of validator contract addresses */ + validators?: components["parameters"]["EGLDValidatorsParam"]; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data?: components["schemas"]["EGLDStake"][]; + }; + }; + }; + /** @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; + }; + }; + }; + getEgldRewards: { + parameters: { + query?: { + /** @description Comma-separated list of wallets addresses */ + wallets?: components["parameters"]["EGLDWalletsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Comma-separated list of validator contract addresses */ + validators?: components["parameters"]["EGLDValidatorsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data: components["schemas"]["EGLDRewards"][]; + }; + }; + }; + /** @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; + }; + }; + }; + getEgldNetworkStats: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["OSMOCraftUnstakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["OSMOUnsignedTx"]; + data: components["schemas"]["EgldNetworkStats"]; }; }; }; - /** @description Invalid parameters */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; /** @description Unauthorized */ 401: { headers: { @@ -37576,28 +42746,34 @@ export interface operations { }; }; }; - postOsmoRedelegateTx: { + getEgldOperations: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of wallets addresses */ + wallets?: components["parameters"]["EGLDWalletsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Comma-separated list of validator contract addresses */ + validators?: components["parameters"]["EGLDValidatorsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["OSMOCraftRedelegateTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["OSMOUnsignedTx"]; + data?: components["schemas"]["EGLDOperations"][]; }; }; }; @@ -37608,7 +42784,7 @@ export interface operations { }; content?: never; }; - /** @description Unauthorized */ + /** @description UnauthorizedS */ 401: { headers: { [name: string]: unknown; @@ -37624,29 +42800,29 @@ export interface operations { }; }; }; - postOsmoPrepareTx: { + getEgldReports: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of wallets addresses */ + wallets?: components["parameters"]["EGLDWalletsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Comma-separated list of validator contract addresses */ + validators?: components["parameters"]["EGLDValidatorsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to prepare */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["OSMOPrepareTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: components["schemas"]["OSMOSignedTx"]; - }; + "application/octet-stream": string; }; }; /** @description Invalid parameters */ @@ -37672,28 +42848,27 @@ export interface operations { }; }; }; - postOsmoBroadcastTx: { + getDotStakes: { parameters: { - query?: never; + query?: { + addresses?: components["parameters"]["DOTAddressesParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to broadcast */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["OSMOBroadcastTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["OSMOTxHash"]; + data: components["schemas"]["DOTStake"][]; }; }; }; @@ -37720,11 +42895,20 @@ export interface operations { }; }; }; - getOsmoTxStatus: { + getDotRewards: { parameters: { - query: { - /** @description Hash of the transaction */ - tx_hash: string; + query?: { + addresses?: components["parameters"]["DOTAddressesParam"]; + validators?: components["parameters"]["DOTValidatorsParam"]; + pool_ids?: components["parameters"]["DOTPoolIDsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + /** @description The format of the response. Defaults to `daily` */ + format?: components["parameters"]["DOTRewardsFormatParam"]; }; header?: never; path?: never; @@ -37739,7 +42923,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["OSMOTxStatus"]; + data: (components["schemas"]["DOTRewardByDay"] | components["schemas"]["DOTRewardByEra"])[]; }; }; }; @@ -37766,11 +42950,16 @@ export interface operations { }; }; }; - getOsmoTxDecoding: { + getDotOperations: { parameters: { - query: { - /** @description Raw transaction to decode */ - tx_serialized: string; + query?: { + addresses?: components["parameters"]["DOTAddressesParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; }; header?: never; path?: never; @@ -37784,7 +42973,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": Record; + "application/json; charset=utf-8": { + data: components["schemas"]["DOTOperationStaking"][]; + }; }; }; /** @description Invalid parameters */ @@ -37810,15 +43001,12 @@ export interface operations { }; }; }; - getEgldStakes: { + getDotReports: { parameters: { query?: { - /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["EGLDWalletsParam"]; + addresses?: components["parameters"]["DOTAddressesParam"]; /** @description Comma-separated list of Kiln accounts identifiers */ accounts?: components["parameters"]["AccountsParam"]; - /** @description Comma-separated list of validator contract addresses */ - validators?: components["parameters"]["EGLDValidatorsParam"]; }; header?: never; path?: never; @@ -37832,9 +43020,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data?: components["schemas"]["EGLDStake"][]; - }; + "application/octet-stream": string; }; }; /** @description Invalid parameters */ @@ -37860,20 +43046,9 @@ export interface operations { }; }; }; - getEgldRewards: { + getDotNetworkStats: { parameters: { - query?: { - /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["EGLDWalletsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Comma-separated list of validator contract addresses */ - validators?: components["parameters"]["EGLDValidatorsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; @@ -37887,7 +43062,48 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["EGLDRewards"][]; + data: components["schemas"]["DOTNetworkStats"]; + }; + }; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Internal server error */ + 500: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + postDotBondTx: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["DOTCraftBondTxPayload"]; + }; + }; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data: components["schemas"]["DOTUnsignedTx"]; }; }; }; @@ -37914,14 +43130,19 @@ export interface operations { }; }; }; - getEgldNetworkStats: { + postDotBondExtraTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["DOTCraftBondExtraTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -37930,10 +43151,17 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["EgldNetworkStats"]; + data: components["schemas"]["DOTUnsignedTx"]; }; }; }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; /** @description Unauthorized */ 401: { headers: { @@ -37950,25 +43178,19 @@ export interface operations { }; }; }; - getEgldOperations: { + postDotRebondTx: { parameters: { - query?: { - /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["EGLDWalletsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Comma-separated list of validator contract addresses */ - validators?: components["parameters"]["EGLDValidatorsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["DOTCraftRebondTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -37977,7 +43199,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["EGLDOperations"][]; + data: components["schemas"]["DOTUnsignedTx"]; }; }; }; @@ -37988,7 +43210,7 @@ export interface operations { }; content?: never; }; - /** @description UnauthorizedS */ + /** @description Unauthorized */ 401: { headers: { [name: string]: unknown; @@ -38004,21 +43226,19 @@ export interface operations { }; }; }; - getEgldReports: { + postDotUnbondTx: { parameters: { - query?: { - /** @description Comma-separated list of wallets addresses */ - wallets?: components["parameters"]["EGLDWalletsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Comma-separated list of validator contract addresses */ - validators?: components["parameters"]["EGLDValidatorsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["DOTCraftUnbondTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -38026,7 +43246,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/octet-stream": string; + "application/json; charset=utf-8": { + data: components["schemas"]["DOTUnsignedTx"]; + }; }; }; /** @description Invalid parameters */ @@ -38052,72 +43274,19 @@ export interface operations { }; }; }; - getDotStakes: { + postDotNominateTx: { parameters: { - query?: { - addresses?: components["parameters"]["DOTAddressesParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; - responses: { - /** @description Successful operation */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json; charset=utf-8": { - data: components["schemas"]["DOTStake"][]; - }; - }; - }; - /** @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; - }; - }; - }; - getDotRewards: { - parameters: { - query?: { - addresses?: components["parameters"]["DOTAddressesParam"]; - pool_ids?: components["parameters"]["DOTPoolIDsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - /** @description The format of the response. Defaults to `daily` */ - format?: components["parameters"]["DOTRewardsFormatParam"]; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["DOTCraftNominateTxPayload"]; }; - header?: never; - path?: never; - cookie?: never; }; - requestBody?: never; responses: { /** @description Successful operation */ 200: { @@ -38126,7 +43295,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: (components["schemas"]["DOTRewardByDay"] | components["schemas"]["DOTRewardByEra"])[]; + data: components["schemas"]["DOTUnsignedTx"]; }; }; }; @@ -38153,22 +43322,19 @@ export interface operations { }; }; }; - getDotOperations: { + postDotWithdrawUnbondedTx: { parameters: { - query?: { - addresses?: components["parameters"]["DOTAddressesParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["DOTCraftWithdrawUnbondedTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -38177,7 +43343,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DOTOperationStaking"][]; + data: components["schemas"]["DOTUnsignedTx"]; }; }; }; @@ -38204,18 +43370,19 @@ export interface operations { }; }; }; - getDotReports: { + postDotChillTx: { parameters: { - query?: { - addresses?: components["parameters"]["DOTAddressesParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["DOTCraftChillTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -38223,7 +43390,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/octet-stream": string; + "application/json; charset=utf-8": { + data: components["schemas"]["DOTUnsignedTx"]; + }; }; }; /** @description Invalid parameters */ @@ -38249,43 +43418,7 @@ export interface operations { }; }; }; - getDotNetworkStats: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful operation */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json; charset=utf-8": { - data: components["schemas"]["DOTNetworkStats"]; - }; - }; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - postDotBondTx: { + postDotSetPayeeTx: { parameters: { query?: never; header?: never; @@ -38295,12 +43428,12 @@ export interface operations { /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["DOTCraftBondTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["DOTCraftSetPayeeTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -38333,7 +43466,7 @@ export interface operations { }; }; }; - postDotBondExtraTx: { + postDotJoinPoolTx: { parameters: { query?: never; header?: never; @@ -38343,12 +43476,12 @@ export interface operations { /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["DOTCraftBondExtraTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["DOTCraftJoinPoolTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -38381,7 +43514,7 @@ export interface operations { }; }; }; - postDotRebondTx: { + postDotBondExtraToPoolTx: { parameters: { query?: never; header?: never; @@ -38391,12 +43524,12 @@ export interface operations { /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["DOTCraftRebondTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["DOTCraftBondExtraToPoolTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -38429,7 +43562,7 @@ export interface operations { }; }; }; - postDotUnbondTx: { + postDotBondRewardsToPoolTx: { parameters: { query?: never; header?: never; @@ -38439,12 +43572,12 @@ export interface operations { /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["DOTCraftUnbondTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["DOTCraftBondRewardsToPoolTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -38477,7 +43610,7 @@ export interface operations { }; }; }; - postDotNominateTx: { + postDotClaimPayoutFromPoolTx: { parameters: { query?: never; header?: never; @@ -38487,12 +43620,12 @@ export interface operations { /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["DOTCraftNominateTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["DOTCraftClaimPayoutFromPoolTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -38525,7 +43658,7 @@ export interface operations { }; }; }; - postDotWithdrawUnbondedTx: { + postDotUnbondFromPoolTx: { parameters: { query?: never; header?: never; @@ -38535,12 +43668,12 @@ export interface operations { /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["DOTCraftWithdrawUnbondedTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["DOTCraftUnbondFromPoolTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -38573,7 +43706,7 @@ export interface operations { }; }; }; - postDotChillTx: { + postDotWithdrawUnbondedFromPoolTx: { parameters: { query?: never; header?: never; @@ -38583,12 +43716,12 @@ export interface operations { /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["DOTCraftChillTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["DOTCraftWithdrawUnbondedFromPoolTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -38621,28 +43754,26 @@ export interface operations { }; }; }; - postDotSetPayeeTx: { + getDotTxStatus: { parameters: { - query?: never; + query: { + /** @description Hash of the transaction */ + tx_hash: string; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["DOTCraftSetPayeeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DOTUnsignedTx"]; + data?: components["schemas"]["DOTTxStatus"]; }; }; }; @@ -38669,29 +43800,25 @@ export interface operations { }; }; }; - postDotJoinPoolTx: { + getDotTxDecoding: { parameters: { - query?: never; + query: { + /** @description Raw transaction to decode */ + tx_serialized: string; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["DOTCraftJoinPoolTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: components["schemas"]["DOTUnsignedTx"]; - }; + "application/json; charset=utf-8": Record; }; }; /** @description Invalid parameters */ @@ -38717,28 +43844,28 @@ export interface operations { }; }; }; - postDotBondExtraToPoolTx: { + postDotPrepareTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ + /** @description Transaction to prepare */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["DOTCraftBondExtraToPoolTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["DOTPrepareTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DOTUnsignedTx"]; + data: components["schemas"]["DOTSignedTx"]; }; }; }; @@ -38765,28 +43892,28 @@ export interface operations { }; }; }; - postDotBondRewardsToPoolTx: { + postDotBroadcastTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ + /** @description Transaction to broadcast */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["DOTCraftBondRewardsToPoolTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["DOTBroadcastTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DOTUnsignedTx"]; + data: components["schemas"]["DOTBroadcastedTx"]; }; }; }; @@ -38813,28 +43940,27 @@ export interface operations { }; }; }; - postDotClaimPayoutFromPoolTx: { + getKsmStakes: { parameters: { - query?: never; + query?: { + addresses?: components["parameters"]["KSMAddressesParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["DOTCraftClaimPayoutFromPoolTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DOTUnsignedTx"]; + data: components["schemas"]["KSMStake"][]; }; }; }; @@ -38861,28 +43987,35 @@ export interface operations { }; }; }; - postDotUnbondFromPoolTx: { + getKsmRewards: { parameters: { - query?: never; + query?: { + addresses?: components["parameters"]["KSMAddressesParam"]; + validators?: components["parameters"]["KSMValidatorsParam"]; + pool_ids?: components["parameters"]["KSMPoolIDsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + /** @description The format of the response. Defaults to `daily` */ + format?: components["parameters"]["KSMRewardsFormatParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["DOTCraftUnbondFromPoolTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DOTUnsignedTx"]; + data: (components["schemas"]["KSMRewardByDay"] | components["schemas"]["KSMRewardByEra"])[]; }; }; }; @@ -38909,28 +44042,31 @@ export interface operations { }; }; }; - postDotWithdrawUnbondedFromPoolTx: { + getKsmOperations: { parameters: { - query?: never; + query?: { + addresses?: components["parameters"]["KSMAddressesParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["DOTCraftWithdrawUnbondedFromPoolTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DOTUnsignedTx"]; + data: components["schemas"]["KSMOperationStaking"][]; }; }; }; @@ -38957,11 +44093,12 @@ export interface operations { }; }; }; - getDotTxStatus: { + getKsmReports: { parameters: { - query: { - /** @description Hash of the transaction */ - tx_hash: string; + query?: { + addresses?: components["parameters"]["KSMAddressesParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; }; header?: never; path?: never; @@ -38975,9 +44112,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data?: components["schemas"]["DOTTxStatus"]; - }; + "application/octet-stream": string; }; }; /** @description Invalid parameters */ @@ -39003,12 +44138,9 @@ export interface operations { }; }; }; - getDotTxDecoding: { + getKsmNetworkStats: { parameters: { - query: { - /** @description Raw transaction to decode */ - tx_serialized: string; - }; + query?: never; header?: never; path?: never; cookie?: never; @@ -39021,15 +44153,10 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": Record; - }; - }; - /** @description Invalid parameters */ - 400: { - headers: { - [name: string]: unknown; + "application/json; charset=utf-8": { + data: components["schemas"]["KSMNetworkStats"]; + }; }; - content?: never; }; /** @description Unauthorized */ 401: { @@ -39047,28 +44174,28 @@ export interface operations { }; }; }; - postDotPrepareTx: { + postKsmBondTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to prepare */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["DOTPrepareTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["KSMCraftBondTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DOTSignedTx"]; + data: components["schemas"]["KSMUnsignedTx"]; }; }; }; @@ -39095,28 +44222,28 @@ export interface operations { }; }; }; - postDotBroadcastTx: { + postKsmBondExtraTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to broadcast */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["DOTBroadcastTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["KSMCraftBondExtraTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DOTBroadcastedTx"]; + data: components["schemas"]["KSMUnsignedTx"]; }; }; }; @@ -39143,18 +44270,19 @@ export interface operations { }; }; }; - getKsmStakes: { + postKsmRebondTx: { parameters: { - query?: { - addresses?: components["parameters"]["KSMAddressesParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["KSMCraftRebondTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -39163,7 +44291,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KSMStake"][]; + data: components["schemas"]["KSMUnsignedTx"]; }; }; }; @@ -39190,25 +44318,19 @@ export interface operations { }; }; }; - getKsmRewards: { + postKsmUnbondTx: { parameters: { - query?: { - addresses?: components["parameters"]["KSMAddressesParam"]; - pool_ids?: components["parameters"]["KSMPoolIDsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - /** @description The format of the response. Defaults to `daily` */ - format?: components["parameters"]["KSMRewardsFormatParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["KSMCraftUnbondTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -39217,7 +44339,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: (components["schemas"]["KSMRewardByDay"] | components["schemas"]["KSMRewardByEra"])[]; + data: components["schemas"]["KSMUnsignedTx"]; }; }; }; @@ -39244,22 +44366,19 @@ export interface operations { }; }; }; - getKsmOperations: { + postKsmNominateTx: { parameters: { - query?: { - addresses?: components["parameters"]["KSMAddressesParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["KSMCraftNominateTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -39268,7 +44387,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KSMOperationStaking"][]; + data: components["schemas"]["KSMUnsignedTx"]; }; }; }; @@ -39295,18 +44414,19 @@ export interface operations { }; }; }; - getKsmReports: { + postKsmWithdrawUnbondedTx: { parameters: { - query?: { - addresses?: components["parameters"]["KSMAddressesParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["KSMCraftWithdrawUnbondedTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -39314,7 +44434,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/octet-stream": string; + "application/json; charset=utf-8": { + data: components["schemas"]["KSMUnsignedTx"]; + }; }; }; /** @description Invalid parameters */ @@ -39340,14 +44462,19 @@ export interface operations { }; }; }; - getKsmNetworkStats: { + postKsmChillTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["KSMCraftChillTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -39356,10 +44483,17 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KSMNetworkStats"]; + data: components["schemas"]["KSMUnsignedTx"]; }; }; }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; /** @description Unauthorized */ 401: { headers: { @@ -39376,7 +44510,7 @@ export interface operations { }; }; }; - postKsmBondTx: { + postKsmSetPayeeTx: { parameters: { query?: never; header?: never; @@ -39386,12 +44520,12 @@ export interface operations { /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["KSMCraftBondTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["KSMCraftSetPayeeTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -39424,7 +44558,7 @@ export interface operations { }; }; }; - postKsmBondExtraTx: { + postKsmJoinPoolTx: { parameters: { query?: never; header?: never; @@ -39434,12 +44568,12 @@ export interface operations { /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["KSMCraftBondExtraTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["KSMCraftJoinPoolTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -39472,7 +44606,7 @@ export interface operations { }; }; }; - postKsmRebondTx: { + postKsmBondExtraToPoolTx: { parameters: { query?: never; header?: never; @@ -39482,12 +44616,12 @@ export interface operations { /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["KSMCraftRebondTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["KSMCraftBondExtraToPoolTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -39520,7 +44654,7 @@ export interface operations { }; }; }; - postKsmUnbondTx: { + postKsmBondRewardsToPoolTx: { parameters: { query?: never; header?: never; @@ -39530,12 +44664,12 @@ export interface operations { /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["KSMCraftUnbondTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["KSMCraftBondRewardsToPoolTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -39568,7 +44702,7 @@ export interface operations { }; }; }; - postKsmNominateTx: { + postKsmClaimPayoutFromPoolTx: { parameters: { query?: never; header?: never; @@ -39578,12 +44712,12 @@ export interface operations { /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["KSMCraftNominateTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["KSMCraftClaimPayoutFromPoolTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -39616,7 +44750,7 @@ export interface operations { }; }; }; - postKsmWithdrawUnbondedTx: { + postKsmUnbondFromPoolTx: { parameters: { query?: never; header?: never; @@ -39626,12 +44760,12 @@ export interface operations { /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["KSMCraftWithdrawUnbondedTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["KSMCraftUnbondFromPoolTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -39664,7 +44798,7 @@ export interface operations { }; }; }; - postKsmChillTx: { + postKsmWithdrawUnbondedFromPoolTx: { parameters: { query?: never; header?: never; @@ -39674,12 +44808,12 @@ export interface operations { /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["KSMCraftChillTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["KSMCraftWithdrawUnbondedFromPoolTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; @@ -39712,28 +44846,26 @@ export interface operations { }; }; }; - postKsmSetPayeeTx: { + getKsmTxStatus: { parameters: { - query?: never; + query: { + /** @description Hash of the transaction */ + tx_hash: string; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["KSMCraftSetPayeeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KSMUnsignedTx"]; + data?: components["schemas"]["KSMTxStatus"]; }; }; }; @@ -39760,29 +44892,25 @@ export interface operations { }; }; }; - postKsmJoinPoolTx: { + getKsmTxDecoding: { parameters: { - query?: never; + query: { + /** @description Raw transaction to decode */ + tx_serialized: string; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["KSMCraftJoinPoolTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: components["schemas"]["KSMUnsignedTx"]; - }; + "application/json; charset=utf-8": Record; }; }; /** @description Invalid parameters */ @@ -39808,28 +44936,28 @@ export interface operations { }; }; }; - postKsmBondExtraToPoolTx: { + postKsmPrepareTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ + /** @description Transaction to prepare */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["KSMCraftBondExtraToPoolTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["KSMPrepareTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KSMUnsignedTx"]; + data: components["schemas"]["KSMSignedTx"]; }; }; }; @@ -39856,28 +44984,28 @@ export interface operations { }; }; }; - postKsmBondRewardsToPoolTx: { + postKsmBroadcastTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ + /** @description Transaction to broadcast */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["KSMCraftBondRewardsToPoolTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["KSMBroadcastTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KSMUnsignedTx"]; + data: components["schemas"]["KSMBroadcastedTx"]; }; }; }; @@ -39904,28 +45032,38 @@ export interface operations { }; }; }; - postKsmClaimPayoutFromPoolTx: { + getDydxStakes: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["DYDXValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["DYDXDelegatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["KSMCraftClaimPayoutFromPoolTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KSMUnsignedTx"]; + data: components["schemas"]["DYDXStake"][]; }; }; }; @@ -39952,17 +45090,17 @@ export interface operations { }; }; }; - postKsmUnbondFromPoolTx: { + postCelsdydxStakes: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ + /** @description Stakes to create */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["KSMCraftUnbondFromPoolTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["PostDYDXStakesPayload"]; }; }; responses: { @@ -39973,7 +45111,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KSMUnsignedTx"]; + data?: components["schemas"]["CoreStake"]; }; }; }; @@ -40000,28 +45138,44 @@ export interface operations { }; }; }; - postKsmWithdrawUnbondedFromPoolTx: { + getDydxRewards: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["DYDXValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["DYDXDelegatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ + include_usd?: components["parameters"]["IncludeUSDParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["KSMCraftWithdrawUnbondedFromPoolTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KSMUnsignedTx"]; + data: components["schemas"]["DYDXReward"][]; }; }; }; @@ -40048,11 +45202,29 @@ export interface operations { }; }; }; - getKsmTxStatus: { + getDydxOperations: { parameters: { - query: { - /** @description Hash of the transaction */ - tx_hash: string; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["DYDXValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["DYDXDelegatorsParam"]; + /** @description whether or not the operation returned will include authz operations, defaults to false */ + authz?: components["parameters"]["DYDXAuthzFlagParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; }; header?: never; path?: never; @@ -40067,7 +45239,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["KSMTxStatus"]; + data?: (components["schemas"]["DYDXOperationDelegate"] | components["schemas"]["DYDXOperationUndelegate"] | components["schemas"]["DYDXOperationRedelegate"] | components["schemas"]["DYDXOperationWithdrawRewards"] | components["schemas"]["DYDXOperationGrant"] | components["schemas"]["DYDXOperationExec"])[]; }; }; }; @@ -40094,11 +45266,59 @@ export interface operations { }; }; }; - getKsmTxDecoding: { + getDydxNetworkStats: { parameters: { - query: { - /** @description Raw transaction to decode */ - tx_serialized: string; + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful operation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json; charset=utf-8": { + data: components["schemas"]["DYDXNetworkStats"]; + }; + }; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Internal server error */ + 500: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + }; + getDydxReports: { + parameters: { + query?: { + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["DYDXDelegatorsParam"]; + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["DYDXValidatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; }; header?: never; path?: never; @@ -40112,7 +45332,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": Record; + "application/octet-stream": string; }; }; /** @description Invalid parameters */ @@ -40138,28 +45358,39 @@ export interface operations { }; }; }; - postKsmPrepareTx: { + postDydxGetBalance: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to prepare */ + /** @description Account to query */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["KSMPrepareTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["DYDXGetBalancePayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KSMSignedTx"]; + data: { + /** + * @description The balance of the account + * @example 1000000 + */ + amount: string; + /** + * @description The denomination of the balance + * @example uusdc + */ + denom: string; + }; }; }; }; @@ -40186,28 +45417,28 @@ export interface operations { }; }; }; - postKsmBroadcastTx: { + postDydxStakeTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to broadcast */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["KSMBroadcastTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["DYDXCraftStakeTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KSMBroadcastedTx"]; + data: components["schemas"]["DYDXUnsignedTx"]; }; }; }; @@ -40234,29 +45465,19 @@ export interface operations { }; }; }; - getDydxStakes: { + postDydxWithdrawRewardsTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["DYDXValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["DYDXDelegatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["DYDXCraftWithdrawRewardsTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -40265,7 +45486,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DYDXStake"][]; + data: components["schemas"]["DYDXUnsignedTx"]; }; }; }; @@ -40292,28 +45513,28 @@ export interface operations { }; }; }; - postCelsdydxStakes: { + postDydxUnstakeTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Stakes to create */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["PostDYDXStakesPayload"]; + "application/json; charset=utf-8": components["schemas"]["DYDXCraftUnstakeTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["CoreStake"]; + data: components["schemas"]["DYDXUnsignedTx"]; }; }; }; @@ -40340,35 +45561,19 @@ export interface operations { }; }; }; - getDydxRewards: { + postDydxRedelegateTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["DYDXValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["DYDXDelegatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ - include_usd?: components["parameters"]["IncludeUSDParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["DYDXCraftRedelegateTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -40377,7 +45582,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DYDXReward"][]; + data: components["schemas"]["DYDXUnsignedTx"]; }; }; }; @@ -40404,35 +45609,19 @@ export interface operations { }; }; }; - getDydxOperations: { + postDydxNobleIbcTransferTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["DYDXValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["DYDXDelegatorsParam"]; - /** @description whether or not the operation returned will include authz operations, defaults to false */ - authz?: components["parameters"]["DYDXAuthzFlagParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["DYDXCraftNobleIbcTransferTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -40441,7 +45630,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: (components["schemas"]["DYDXOperationDelegate"] | components["schemas"]["DYDXOperationUndelegate"] | components["schemas"]["DYDXOperationRedelegate"] | components["schemas"]["DYDXOperationWithdrawRewards"] | components["schemas"]["DYDXOperationGrant"] | components["schemas"]["DYDXOperationExec"])[]; + data: components["schemas"]["DYDXUnsignedTx"]; }; }; }; @@ -40468,14 +45657,19 @@ export interface operations { }; }; }; - getDydxNetworkStats: { + postDydxPrepareTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to prepare */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["DYDXPrepareTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -40484,10 +45678,17 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DYDXNetworkStats"]; + data: components["schemas"]["DYDXSignedTx"]; }; }; }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; /** @description Unauthorized */ 401: { headers: { @@ -40504,29 +45705,19 @@ export interface operations { }; }; }; - getDydxReports: { + postDydxBroadcastTx: { parameters: { - query?: { - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["DYDXDelegatorsParam"]; - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["DYDXValidatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to broadcast */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["DYDXBroadcastTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -40534,7 +45725,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/octet-stream": string; + "application/json; charset=utf-8": { + data: components["schemas"]["DYDXTxHash"]; + }; }; }; /** @description Invalid parameters */ @@ -40560,19 +45753,17 @@ export interface operations { }; }; }; - postDydxGetBalance: { + getDydxTxStatus: { parameters: { - query?: never; + query: { + /** @description Hash of the transaction */ + tx_hash: string; + }; header?: never; path?: never; cookie?: never; }; - /** @description Account to query */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["DYDXGetBalancePayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ 200: { @@ -40581,18 +45772,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: { - /** - * @description The balance of the account - * @example 1000000 - */ - amount: string; - /** - * @description The denomination of the balance - * @example uusdc - */ - denom: string; - }; + data?: components["schemas"]["DYDXTxStatus"]; }; }; }; @@ -40619,29 +45799,25 @@ export interface operations { }; }; }; - postDydxStakeTx: { + getDydxTxDecoding: { parameters: { - query?: never; + query: { + /** @description Raw transaction to decode */ + tx_serialized: string; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["DYDXCraftStakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: components["schemas"]["DYDXUnsignedTx"]; - }; + "application/json; charset=utf-8": Record; }; }; /** @description Invalid parameters */ @@ -40667,28 +45843,38 @@ export interface operations { }; }; }; - postDydxWithdrawRewardsTx: { + getCelestiaStakes: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["TIAValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["TIADelegatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["DYDXCraftWithdrawRewardsTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DYDXUnsignedTx"]; + data: components["schemas"]["TIAStake"][]; }; }; }; @@ -40715,17 +45901,17 @@ export interface operations { }; }; }; - postDydxUnstakeTx: { + postCelstiaStakes: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ + /** @description Stakes to create */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["DYDXCraftUnstakeTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["PostTIAStakesPayload"]; }; }; responses: { @@ -40736,7 +45922,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DYDXUnsignedTx"]; + data?: components["schemas"]["CoreStake"]; }; }; }; @@ -40763,28 +45949,44 @@ export interface operations { }; }; }; - postDydxRedelegateTx: { + getCelestiaRewards: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["TIAValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["TIADelegatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ + include_usd?: components["parameters"]["IncludeUSDParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["DYDXCraftRedelegateTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DYDXUnsignedTx"]; + data: components["schemas"]["TIAReward"][]; }; }; }; @@ -40811,28 +46013,44 @@ export interface operations { }; }; }; - postDydxNobleIbcTransferTx: { + getCelestiaOperations: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["TIAValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["TIADelegatorsParam"]; + /** @description whether or not the operation returned will include authz operations, defaults to false */ + authz?: components["parameters"]["TIAAuthzFlagParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["DYDXCraftNobleIbcTransferTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DYDXUnsignedTx"]; + data?: (components["schemas"]["TIAOperationDelegate"] | components["schemas"]["TIAOperationUndelegate"] | components["schemas"]["TIAOperationRedelegate"] | components["schemas"]["TIAOperationWithdrawRewards"] | components["schemas"]["TIAOperationGrant"] | components["schemas"]["TIAOperationExec"])[]; }; }; }; @@ -40859,38 +46077,26 @@ export interface operations { }; }; }; - postDydxPrepareTx: { + getCelestiaNetworkStats: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to prepare */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["DYDXPrepareTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DYDXSignedTx"]; + data: components["schemas"]["TIANetworkStats"]; }; }; }; - /** @description Invalid parameters */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; /** @description Unauthorized */ 401: { headers: { @@ -40907,29 +46113,37 @@ export interface operations { }; }; }; - postDydxBroadcastTx: { + getCelestiaReports: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["TIADelegatorsParam"]; + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["TIAValidatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to broadcast */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["DYDXBroadcastTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: components["schemas"]["DYDXTxHash"]; - }; + "application/octet-stream": string; }; }; /** @description Invalid parameters */ @@ -40955,17 +46169,19 @@ export interface operations { }; }; }; - getDydxTxStatus: { + postTiaStakeTx: { parameters: { - query: { - /** @description Hash of the transaction */ - tx_hash: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["TIACraftStakeTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -40974,7 +46190,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["DYDXTxStatus"]; + data: components["schemas"]["TIAStakeUnsignedTx"]; }; }; }; @@ -41001,17 +46217,19 @@ export interface operations { }; }; }; - getDydxTxDecoding: { + postTiaWithdrawRewardsTx: { parameters: { - query: { - /** @description Raw transaction to decode */ - tx_serialized: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["TIACraftWithdrawRewardsTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -41019,7 +46237,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": Record; + "application/json; charset=utf-8": { + data: components["schemas"]["TIAUnsignedTx"]; + }; }; }; /** @description Invalid parameters */ @@ -41045,29 +46265,19 @@ export interface operations { }; }; }; - getCelestiaStakes: { + postTiaRestakeRewardsTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["TIAValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["TIADelegatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["TIACraftRestakeRewardsTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -41076,7 +46286,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TIAStake"][]; + data: components["schemas"]["TIAUnsignedTx"]; }; }; }; @@ -41103,28 +46313,28 @@ export interface operations { }; }; }; - postCelstiaStakes: { + postTiaUnstakeTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Stakes to create */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["PostTIAStakesPayload"]; + "application/json; charset=utf-8": components["schemas"]["TIACraftUnstakeTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["CoreStake"]; + data: components["schemas"]["TIAUnsignedTx"]; }; }; }; @@ -41151,35 +46361,19 @@ export interface operations { }; }; }; - getCelestiaRewards: { + postTiaRedelegateTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["TIAValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["TIADelegatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ - include_usd?: components["parameters"]["IncludeUSDParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["TIACraftRedelegateTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -41188,7 +46382,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TIAReward"][]; + data: components["schemas"]["TIAUnsignedTx"]; }; }; }; @@ -41215,35 +46409,19 @@ export interface operations { }; }; }; - getCelestiaOperations: { + postTiaPrepareTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["TIAValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["TIADelegatorsParam"]; - /** @description whether or not the operation returned will include authz operations, defaults to false */ - authz?: components["parameters"]["TIAAuthzFlagParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to prepare */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["TIAPrepareTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -41252,7 +46430,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: (components["schemas"]["TIAOperationDelegate"] | components["schemas"]["TIAOperationUndelegate"] | components["schemas"]["TIAOperationRedelegate"] | components["schemas"]["TIAOperationWithdrawRewards"] | components["schemas"]["TIAOperationGrant"] | components["schemas"]["TIAOperationExec"])[]; + data: components["schemas"]["TIASignedTx"]; }; }; }; @@ -41279,14 +46457,19 @@ export interface operations { }; }; }; - getCelestiaNetworkStats: { + postTiaBroadcastTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to broadcast */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["TIABroadcastTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -41295,10 +46478,17 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TIANetworkStats"]; + data: components["schemas"]["TIATxHash"]; }; }; }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; /** @description Unauthorized */ 401: { headers: { @@ -41315,23 +46505,11 @@ export interface operations { }; }; }; - getCelestiaReports: { + getTiaTxStatus: { parameters: { - query?: { - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["TIADelegatorsParam"]; - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["TIAValidatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; + query: { + /** @description Hash of the transaction */ + tx_hash: string; }; header?: never; path?: never; @@ -41345,7 +46523,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/octet-stream": string; + "application/json; charset=utf-8": { + data?: components["schemas"]["TIATxStatus"]; + }; }; }; /** @description Invalid parameters */ @@ -41371,28 +46551,26 @@ export interface operations { }; }; }; - postTiaStakeTx: { + getTiaTxDecoding: { parameters: { - query?: never; + query: { + /** @description Raw transaction to decode */ + tx_serialized: string; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["TIACraftStakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TIAStakeUnsignedTx"]; + data?: components["schemas"]["TIATxDecoding"]; }; }; }; @@ -41419,28 +46597,38 @@ export interface operations { }; }; }; - postTiaWithdrawRewardsTx: { + getZetachainStakes: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["ZETAValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["ZETADelegatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["TIACraftWithdrawRewardsTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TIAUnsignedTx"]; + data: components["schemas"]["ZETAStake"][]; }; }; }; @@ -41467,17 +46655,17 @@ export interface operations { }; }; }; - postTiaRestakeRewardsTx: { + postZetachainStakes: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ + /** @description Stakes to create */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["TIACraftRestakeRewardsTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["PostZETAStakesPayload"]; }; }; responses: { @@ -41488,7 +46676,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TIAUnsignedTx"]; + data?: components["schemas"]["CoreStake"]; }; }; }; @@ -41515,28 +46703,44 @@ export interface operations { }; }; }; - postTiaUnstakeTx: { + getZetachainRewards: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["ZETAValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["ZETADelegatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ + include_usd?: components["parameters"]["IncludeUSDParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["TIACraftUnstakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TIAUnsignedTx"]; + data: components["schemas"]["ZETAReward"][]; }; }; }; @@ -41563,28 +46767,44 @@ export interface operations { }; }; }; - postTiaRedelegateTx: { + getZetachainOperations: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["ZETAValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["ZETADelegatorsParam"]; + /** @description whether or not the operation returned will include authz operations, defaults to false */ + authz?: components["parameters"]["ZETAAuthzFlagParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["TIACraftRedelegateTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TIAUnsignedTx"]; + data?: (components["schemas"]["ZETAOperationDelegate"] | components["schemas"]["ZETAOperationUndelegate"] | components["schemas"]["ZETAOperationRedelegate"] | components["schemas"]["ZETAOperationWithdrawRewards"] | components["schemas"]["ZETAOperationGrant"] | components["schemas"]["ZETAOperationExec"])[]; }; }; }; @@ -41611,38 +46831,26 @@ export interface operations { }; }; }; - postTiaPrepareTx: { + getZetachainNetworkStats: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to prepare */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["TIAPrepareTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TIASignedTx"]; + data: components["schemas"]["ZETANetworkStats"]; }; }; }; - /** @description Invalid parameters */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; /** @description Unauthorized */ 401: { headers: { @@ -41659,29 +46867,37 @@ export interface operations { }; }; }; - postTiaBroadcastTx: { + getZetachainReports: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["ZETADelegatorsParam"]; + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["ZETAValidatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to broadcast */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["TIABroadcastTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: components["schemas"]["TIATxHash"]; - }; + "application/octet-stream": string; }; }; /** @description Invalid parameters */ @@ -41707,17 +46923,19 @@ export interface operations { }; }; }; - getTiaTxStatus: { + postZetaGetBalance: { parameters: { - query: { - /** @description Hash of the transaction */ - tx_hash: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Account to query */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["ZETAGetBalancePayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -41726,7 +46944,18 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["TIATxStatus"]; + data: { + /** + * @description The balance of the account + * @example 1000000 + */ + amount: string; + /** + * @description The denomination of the balance + * @example azeta + */ + denom: string; + }; }; }; }; @@ -41753,17 +46982,19 @@ export interface operations { }; }; }; - getTiaTxDecoding: { + postZetaStakeTx: { parameters: { - query: { - /** @description Raw transaction to decode */ - tx_serialized: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["ZETACraftStakeTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -41772,7 +47003,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["TIATxDecoding"]; + data: components["schemas"]["ZETAStakeUnsignedTx"]; }; }; }; @@ -41799,29 +47030,19 @@ export interface operations { }; }; }; - getZetachainStakes: { + postZetaWithdrawRewardsTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["ZETAValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["ZETADelegatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["ZETACraftWithdrawRewardsTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -41830,7 +47051,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ZETAStake"][]; + data: components["schemas"]["ZETAUnsignedTx"]; }; }; }; @@ -41857,28 +47078,28 @@ export interface operations { }; }; }; - postZetachainStakes: { + postZetaUnstakeTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Stakes to create */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["PostZETAStakesPayload"]; + "application/json; charset=utf-8": components["schemas"]["ZETACraftUnstakeTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["CoreStake"]; + data: components["schemas"]["ZETAUnsignedTx"]; }; }; }; @@ -41905,35 +47126,19 @@ export interface operations { }; }; }; - getZetachainRewards: { + postZetaRedelegateTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["ZETAValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["ZETADelegatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ - include_usd?: components["parameters"]["IncludeUSDParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["ZETACraftRedelegateTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -41942,7 +47147,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ZETAReward"][]; + data: components["schemas"]["ZETAUnsignedTx"]; }; }; }; @@ -41969,35 +47174,19 @@ export interface operations { }; }; }; - getZetachainOperations: { + postZetaPrepareTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["ZETAValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["ZETADelegatorsParam"]; - /** @description whether or not the operation returned will include authz operations, defaults to false */ - authz?: components["parameters"]["ZETAAuthzFlagParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to prepare */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["ZETAPrepareTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -42006,7 +47195,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: (components["schemas"]["ZETAOperationDelegate"] | components["schemas"]["ZETAOperationUndelegate"] | components["schemas"]["ZETAOperationRedelegate"] | components["schemas"]["ZETAOperationWithdrawRewards"] | components["schemas"]["ZETAOperationGrant"] | components["schemas"]["ZETAOperationExec"])[]; + data: components["schemas"]["ZETASignedTx"]; }; }; }; @@ -42033,14 +47222,19 @@ export interface operations { }; }; }; - getZetachainNetworkStats: { + postZetaBroadcastTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to broadcast */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["ZETABroadcastTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -42049,10 +47243,17 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ZETANetworkStats"]; + data: components["schemas"]["ZETATxHash"]; }; }; }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; /** @description Unauthorized */ 401: { headers: { @@ -42069,23 +47270,11 @@ export interface operations { }; }; }; - getZetachainReports: { + getZetaTxStatus: { parameters: { - query?: { - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["ZETADelegatorsParam"]; - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["ZETAValidatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; + query: { + /** @description Hash of the transaction */ + tx_hash: string; }; header?: never; path?: never; @@ -42099,7 +47288,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/octet-stream": string; + "application/json; charset=utf-8": { + data?: components["schemas"]["ZETATxStatus"]; + }; }; }; /** @description Invalid parameters */ @@ -42125,19 +47316,17 @@ export interface operations { }; }; }; - postZetaGetBalance: { + getZetaTxDecoding: { parameters: { - query?: never; + query: { + /** @description Raw transaction to decode */ + tx_serialized: string; + }; header?: never; path?: never; cookie?: never; }; - /** @description Account to query */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["ZETAGetBalancePayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ 200: { @@ -42146,18 +47335,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: { - /** - * @description The balance of the account - * @example 1000000 - */ - amount: string; - /** - * @description The denomination of the balance - * @example azeta - */ - denom: string; - }; + data?: components["schemas"]["ZETATxDecoding"]; }; }; }; @@ -42184,28 +47362,38 @@ export interface operations { }; }; }; - postZetaStakeTx: { + getKavaStakes: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["KAVAValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["KAVADelegatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["ZETACraftStakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ZETAStakeUnsignedTx"]; + data: components["schemas"]["KAVAStake"][]; }; }; }; @@ -42232,17 +47420,17 @@ export interface operations { }; }; }; - postZetaWithdrawRewardsTx: { + postKavaStakes: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ + /** @description Stakes to create */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["ZETACraftWithdrawRewardsTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["PostKAVAStakesPayload"]; }; }; responses: { @@ -42253,7 +47441,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ZETAUnsignedTx"]; + data?: components["schemas"]["CoreStake"]; }; }; }; @@ -42280,28 +47468,44 @@ export interface operations { }; }; }; - postZetaUnstakeTx: { + getKavaRewards: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["KAVAValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["KAVADelegatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ + include_usd?: components["parameters"]["IncludeUSDParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["ZETACraftUnstakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ZETAUnsignedTx"]; + data: components["schemas"]["KAVAReward"][]; }; }; }; @@ -42328,28 +47532,44 @@ export interface operations { }; }; }; - postZetaRedelegateTx: { + getKavaOperations: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["KAVAValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["KAVADelegatorsParam"]; + /** @description whether or not the operation returned will include authz operations, defaults to false */ + authz?: components["parameters"]["KAVAAuthzFlagParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["ZETACraftRedelegateTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ZETAUnsignedTx"]; + data: (components["schemas"]["KAVAOperationDelegate"] | components["schemas"]["KAVAOperationUndelegate"] | components["schemas"]["KAVAOperationRedelegate"] | components["schemas"]["KAVAOperationWithdrawRewards"] | components["schemas"]["KAVAOperationGrant"] | components["schemas"]["KAVAOperationExec"])[]; }; }; }; @@ -42376,38 +47596,26 @@ export interface operations { }; }; }; - postZetaPrepareTx: { + getKavaNetworkStats: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to prepare */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["ZETAPrepareTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["ZETASignedTx"]; + data: components["schemas"]["KAVANetworkStats"]; }; }; }; - /** @description Invalid parameters */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; /** @description Unauthorized */ 401: { headers: { @@ -42424,29 +47632,37 @@ export interface operations { }; }; }; - postZetaBroadcastTx: { + getKavaReports: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["KAVADelegatorsParam"]; + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["KAVAValidatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to broadcast */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["ZETABroadcastTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: components["schemas"]["ZETATxHash"]; - }; + "application/octet-stream": string; }; }; /** @description Invalid parameters */ @@ -42472,17 +47688,19 @@ export interface operations { }; }; }; - getZetaTxStatus: { + postKavaGetBalance: { parameters: { - query: { - /** @description Hash of the transaction */ - tx_hash: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Account to query */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["KAVAGetBalancePayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -42491,7 +47709,18 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["ZETATxStatus"]; + data: { + /** + * @description The balance of the account + * @example 1000000 + */ + amount: string; + /** + * @description The denomination of the balance + * @example ukava + */ + denom: string; + }; }; }; }; @@ -42518,17 +47747,19 @@ export interface operations { }; }; }; - getZetaTxDecoding: { + postKavaStakeTx: { parameters: { - query: { - /** @description Raw transaction to decode */ - tx_serialized: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["KAVACraftStakeTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -42537,7 +47768,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["ZETATxDecoding"]; + data: components["schemas"]["KAVAStakeUnsignedTx"]; }; }; }; @@ -42564,29 +47795,19 @@ export interface operations { }; }; }; - getKavaStakes: { + postKavaWithdrawRewardsTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["KAVAValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["KAVADelegatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["KAVACraftWithdrawRewardsTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -42595,7 +47816,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KAVAStake"][]; + data: components["schemas"]["KAVAUnsignedTx"]; }; }; }; @@ -42622,28 +47843,28 @@ export interface operations { }; }; }; - postKavaStakes: { + postKavaUnstakeTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Stakes to create */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["PostKAVAStakesPayload"]; + "application/json; charset=utf-8": components["schemas"]["KAVACraftUnstakeTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["CoreStake"]; + data: components["schemas"]["KAVAUnsignedTx"]; }; }; }; @@ -42670,35 +47891,19 @@ export interface operations { }; }; }; - getKavaRewards: { + postKavaRestakeRewardsTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["KAVAValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["KAVADelegatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ - include_usd?: components["parameters"]["IncludeUSDParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["KAVACraftRestakeRewardsTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -42707,7 +47912,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KAVAReward"][]; + data: components["schemas"]["KAVAUnsignedTx"]; }; }; }; @@ -42734,35 +47939,19 @@ export interface operations { }; }; }; - getKavaOperations: { + postKavaRedelegateTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["KAVAValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["KAVADelegatorsParam"]; - /** @description whether or not the operation returned will include authz operations, defaults to false */ - authz?: components["parameters"]["KAVAAuthzFlagParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["KAVACraftRedelegateTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -42771,7 +47960,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: (components["schemas"]["KAVAOperationDelegate"] | components["schemas"]["KAVAOperationUndelegate"] | components["schemas"]["KAVAOperationRedelegate"] | components["schemas"]["KAVAOperationWithdrawRewards"] | components["schemas"]["KAVAOperationGrant"] | components["schemas"]["KAVAOperationExec"])[]; + data: components["schemas"]["KAVAUnsignedTx"]; }; }; }; @@ -42798,14 +47987,19 @@ export interface operations { }; }; }; - getKavaNetworkStats: { + postKavaPrepareTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to prepare */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["KAVAPrepareTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -42814,10 +48008,17 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KAVANetworkStats"]; + data: components["schemas"]["KAVASignedTx"]; }; }; }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; /** @description Unauthorized */ 401: { headers: { @@ -42834,29 +48035,19 @@ export interface operations { }; }; }; - getKavaReports: { + postKavaBroadcastTx: { parameters: { - query?: { - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["KAVADelegatorsParam"]; - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["KAVAValidatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to broadcast */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["KAVABroadcastTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -42864,7 +48055,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/octet-stream": string; + "application/json; charset=utf-8": { + data: components["schemas"]["KAVATxHash"]; + }; }; }; /** @description Invalid parameters */ @@ -42890,19 +48083,17 @@ export interface operations { }; }; }; - postKavaGetBalance: { + getKavaTxStatus: { parameters: { - query?: never; + query: { + /** @description Hash of the transaction */ + tx_hash: string; + }; header?: never; path?: never; cookie?: never; }; - /** @description Account to query */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["KAVAGetBalancePayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ 200: { @@ -42911,18 +48102,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: { - /** - * @description The balance of the account - * @example 1000000 - */ - amount: string; - /** - * @description The denomination of the balance - * @example ukava - */ - denom: string; - }; + data?: components["schemas"]["KAVATxStatus"]; }; }; }; @@ -42949,28 +48129,26 @@ export interface operations { }; }; }; - postKavaStakeTx: { + getKavaTxDecoding: { parameters: { - query?: never; + query: { + /** @description Raw transaction to decode */ + tx_serialized: string; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["KAVACraftStakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KAVAStakeUnsignedTx"]; + data?: components["schemas"]["KAVATxDecoding"]; }; }; }; @@ -42997,28 +48175,38 @@ export interface operations { }; }; }; - postKavaWithdrawRewardsTx: { + getFetchStakes: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["FETValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["FETDelegatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["KAVACraftWithdrawRewardsTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KAVAUnsignedTx"]; + data: components["schemas"]["FETStake"][]; }; }; }; @@ -43045,17 +48233,17 @@ export interface operations { }; }; }; - postKavaUnstakeTx: { + postFetchStakes: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ + /** @description Stakes to create */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["KAVACraftUnstakeTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["PostFETStakesPayload"]; }; }; responses: { @@ -43066,7 +48254,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KAVAUnsignedTx"]; + data?: components["schemas"]["CoreStake"]; }; }; }; @@ -43093,28 +48281,44 @@ export interface operations { }; }; }; - postKavaRestakeRewardsTx: { + getFetchRewards: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["FETValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["FETDelegatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ + include_usd?: components["parameters"]["IncludeUSDParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["KAVACraftRestakeRewardsTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KAVAUnsignedTx"]; + data: components["schemas"]["FETReward"][]; }; }; }; @@ -43141,28 +48345,44 @@ export interface operations { }; }; }; - postKavaRedelegateTx: { + getFetchOperations: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["FETValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["FETDelegatorsParam"]; + /** @description whether or not the operation returned will include authz operations, defaults to false */ + authz?: components["parameters"]["FETAuthzFlagParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["KAVACraftRedelegateTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KAVAUnsignedTx"]; + data?: (components["schemas"]["FETOperationDelegate"] | components["schemas"]["FETOperationUndelegate"] | components["schemas"]["FETOperationRedelegate"] | components["schemas"]["FETOperationWithdrawRewards"] | components["schemas"]["FETOperationGrant"] | components["schemas"]["FETOperationExec"])[]; }; }; }; @@ -43189,38 +48409,26 @@ export interface operations { }; }; }; - postKavaPrepareTx: { + getFetchNetworkStats: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to prepare */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["KAVAPrepareTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["KAVASignedTx"]; + data: components["schemas"]["FETNetworkStats"]; }; }; }; - /** @description Invalid parameters */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; /** @description Unauthorized */ 401: { headers: { @@ -43237,29 +48445,37 @@ export interface operations { }; }; }; - postKavaBroadcastTx: { + getFetchReports: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["FETDelegatorsParam"]; + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["FETValidatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to broadcast */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["KAVABroadcastTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: components["schemas"]["KAVATxHash"]; - }; + "application/octet-stream": string; }; }; /** @description Invalid parameters */ @@ -43285,17 +48501,19 @@ export interface operations { }; }; }; - getKavaTxStatus: { + postFetGetBalance: { parameters: { - query: { - /** @description Hash of the transaction */ - tx_hash: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Account to query */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["FETGetBalancePayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -43304,7 +48522,18 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["KAVATxStatus"]; + data: { + /** + * @description The balance of the account + * @example 1000000 + */ + amount: string; + /** + * @description The denomination of the balance + * @example afet + */ + denom: string; + }; }; }; }; @@ -43331,17 +48560,19 @@ export interface operations { }; }; }; - getKavaTxDecoding: { + postFetchStakeTx: { parameters: { - query: { - /** @description Raw transaction to decode */ - tx_serialized: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["FETCraftStakeTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -43350,7 +48581,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["KAVATxDecoding"]; + data: components["schemas"]["FETStakeUnsignedTx"]; }; }; }; @@ -43377,29 +48608,19 @@ export interface operations { }; }; }; - getFetchStakes: { + postFetchWithdrawRewardsTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["FETValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["FETDelegatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["FETCraftWithdrawRewardsTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -43408,7 +48629,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["FETStake"][]; + data: components["schemas"]["FETUnsignedTx"]; }; }; }; @@ -43435,28 +48656,28 @@ export interface operations { }; }; }; - postFetchStakes: { + postFetchRestakeRewardsTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Stakes to create */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["PostFETStakesPayload"]; + "application/json; charset=utf-8": components["schemas"]["FETCraftRestakeRewardsTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["CoreStake"]; + data: components["schemas"]["FETUnsignedTx"]; }; }; }; @@ -43483,35 +48704,19 @@ export interface operations { }; }; }; - getFetchRewards: { + postFetchUnstakeTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["FETValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["FETDelegatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ - include_usd?: components["parameters"]["IncludeUSDParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["FETCraftUnstakeTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -43520,7 +48725,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["FETReward"][]; + data: components["schemas"]["FETUnsignedTx"]; }; }; }; @@ -43547,35 +48752,19 @@ export interface operations { }; }; }; - getFetchOperations: { + postFetchRedelegateTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["FETValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["FETDelegatorsParam"]; - /** @description whether or not the operation returned will include authz operations, defaults to false */ - authz?: components["parameters"]["FETAuthzFlagParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["FETCraftRedelegateTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -43584,7 +48773,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: (components["schemas"]["FETOperationDelegate"] | components["schemas"]["FETOperationUndelegate"] | components["schemas"]["FETOperationRedelegate"] | components["schemas"]["FETOperationWithdrawRewards"] | components["schemas"]["FETOperationGrant"] | components["schemas"]["FETOperationExec"])[]; + data: components["schemas"]["FETUnsignedTx"]; }; }; }; @@ -43611,14 +48800,19 @@ export interface operations { }; }; }; - getFetchNetworkStats: { + postFetchPrepareTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to prepare */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["FETPrepareTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -43627,10 +48821,17 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["FETNetworkStats"]; + data: components["schemas"]["FETSignedTx"]; }; }; }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; /** @description Unauthorized */ 401: { headers: { @@ -43647,29 +48848,19 @@ export interface operations { }; }; }; - getFetchReports: { + postFetchBroadcastTx: { parameters: { - query?: { - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["FETDelegatorsParam"]; - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["FETValidatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to broadcast */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["FETBroadcastTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -43677,7 +48868,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/octet-stream": string; + "application/json; charset=utf-8": { + data: components["schemas"]["FETTxHash"]; + }; }; }; /** @description Invalid parameters */ @@ -43703,19 +48896,17 @@ export interface operations { }; }; }; - postFetGetBalance: { + getFetchTxStatus: { parameters: { - query?: never; + query: { + /** @description Hash of the transaction */ + tx_hash: string; + }; header?: never; path?: never; cookie?: never; }; - /** @description Account to query */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["FETGetBalancePayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ 200: { @@ -43724,18 +48915,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: { - /** - * @description The balance of the account - * @example 1000000 - */ - amount: string; - /** - * @description The denomination of the balance - * @example afet - */ - denom: string; - }; + data?: components["schemas"]["FETTxStatus"]; }; }; }; @@ -43762,28 +48942,26 @@ export interface operations { }; }; }; - postFetchStakeTx: { + getFetchTxDecoding: { parameters: { - query?: never; + query: { + /** @description Raw transaction to decode */ + tx_serialized: string; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["FETCraftStakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["FETStakeUnsignedTx"]; + data?: components["schemas"]["FETTxDecoding"]; }; }; }; @@ -43810,28 +48988,38 @@ export interface operations { }; }; }; - postFetchWithdrawRewardsTx: { + getInjStakes: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["INJValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["INJDelegatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["FETCraftWithdrawRewardsTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["FETUnsignedTx"]; + data: components["schemas"]["INJStake"][]; }; }; }; @@ -43858,17 +49046,17 @@ export interface operations { }; }; }; - postFetchRestakeRewardsTx: { + postInjStakes: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ + /** @description Stakes to create */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["FETCraftRestakeRewardsTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["PostINJStakesPayload"]; }; }; responses: { @@ -43879,7 +49067,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["FETUnsignedTx"]; + data?: components["schemas"]["CoreStake"]; }; }; }; @@ -43906,28 +49094,44 @@ export interface operations { }; }; }; - postFetchUnstakeTx: { + getInjRewards: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["INJValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["INJDelegatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ + include_usd?: components["parameters"]["IncludeUSDParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["FETCraftUnstakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["FETUnsignedTx"]; + data: components["schemas"]["INJReward"][]; }; }; }; @@ -43954,28 +49158,44 @@ export interface operations { }; }; }; - postFetchRedelegateTx: { + getInjOperations: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["INJValidatorsParam"]; + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["INJDelegatorsParam"]; + /** @description whether or not the operation returned will include authz operations, defaults to false */ + authz?: components["parameters"]["INJAuthzFlagParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["FETCraftRedelegateTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["FETUnsignedTx"]; + data?: (components["schemas"]["INJOperationDelegate"] | components["schemas"]["INJOperationUndelegate"] | components["schemas"]["INJOperationRedelegate"] | components["schemas"]["INJOperationWithdrawRewards"] | components["schemas"]["INJOperationGrant"] | components["schemas"]["INJOperationExec"])[]; }; }; }; @@ -44002,38 +49222,26 @@ export interface operations { }; }; }; - postFetchPrepareTx: { + getInjNetworkStats: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to prepare */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["FETPrepareTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["FETSignedTx"]; + data: components["schemas"]["INJNetworkStats"]; }; }; }; - /** @description Invalid parameters */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; /** @description Unauthorized */ 401: { headers: { @@ -44050,29 +49258,37 @@ export interface operations { }; }; }; - postFetchBroadcastTx: { + getInjReports: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of delegator addresses, these addresses + * are matched with the corresponding validator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + delegators?: components["parameters"]["INJDelegatorsParam"]; + /** @description Comma-separated list of validators addresses, these addresses + * are matched with the corresponding delegator addresses. To + * fetch a specific stake, pass your wallet address and the + * validator address as parameters. + * */ + validators?: components["parameters"]["INJValidatorsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to broadcast */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["FETBroadcastTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: components["schemas"]["FETTxHash"]; - }; + "application/octet-stream": string; }; }; /** @description Invalid parameters */ @@ -44098,17 +49314,19 @@ export interface operations { }; }; }; - getFetchTxStatus: { + postInjStakeTx: { parameters: { - query: { - /** @description Hash of the transaction */ - tx_hash: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["INJCraftStakeTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -44117,7 +49335,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["FETTxStatus"]; + data: components["schemas"]["INJStakeUnsignedTx"]; }; }; }; @@ -44144,17 +49362,19 @@ export interface operations { }; }; }; - getFetchTxDecoding: { + postInjWithdrawRewardsTx: { parameters: { - query: { - /** @description Raw transaction to decode */ - tx_serialized: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["INJCraftWithdrawRewardsTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -44163,7 +49383,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["FETTxDecoding"]; + data: components["schemas"]["INJUnsignedTx"]; }; }; }; @@ -44190,29 +49410,19 @@ export interface operations { }; }; }; - getInjStakes: { + postInjUnstakeTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["INJValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["INJDelegatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to craft */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["INJCraftUnstakeTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -44221,7 +49431,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["INJStake"][]; + data: components["schemas"]["INJUnsignedTx"]; }; }; }; @@ -44248,28 +49458,28 @@ export interface operations { }; }; }; - postInjStakes: { + postInjRedelegateTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Stakes to create */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["PostINJStakesPayload"]; + "application/json; charset=utf-8": components["schemas"]["INJCraftRedelegateTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["CoreStake"]; + data: components["schemas"]["INJUnsignedTx"]; }; }; }; @@ -44296,35 +49506,19 @@ export interface operations { }; }; }; - getInjRewards: { + postInjPrepareTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["INJValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["INJDelegatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ - include_usd?: components["parameters"]["IncludeUSDParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to prepare */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["INJPrepareTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -44333,7 +49527,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["INJReward"][]; + data: components["schemas"]["INJSignedTx"]; }; }; }; @@ -44360,35 +49554,19 @@ export interface operations { }; }; }; - getInjOperations: { + postInjBroadcastTx: { parameters: { - query?: { - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["INJValidatorsParam"]; - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["INJDelegatorsParam"]; - /** @description whether or not the operation returned will include authz operations, defaults to false */ - authz?: components["parameters"]["INJAuthzFlagParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to broadcast */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["INJBroadcastTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -44397,7 +49575,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: (components["schemas"]["INJOperationDelegate"] | components["schemas"]["INJOperationUndelegate"] | components["schemas"]["INJOperationRedelegate"] | components["schemas"]["INJOperationWithdrawRewards"] | components["schemas"]["INJOperationGrant"] | components["schemas"]["INJOperationExec"])[]; + data: components["schemas"]["INJTxHash"]; }; }; }; @@ -44424,9 +49602,12 @@ export interface operations { }; }; }; - getInjNetworkStats: { + getInjTxStatus: { parameters: { - query?: never; + query: { + /** @description Hash of the transaction */ + tx_hash: string; + }; header?: never; path?: never; cookie?: never; @@ -44440,10 +49621,17 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["INJNetworkStats"]; + data?: components["schemas"]["INJTxStatus"]; }; }; }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; /** @description Unauthorized */ 401: { headers: { @@ -44460,23 +49648,11 @@ export interface operations { }; }; }; - getInjReports: { + getInjTxDecoding: { parameters: { - query?: { - /** @description Comma-separated list of delegator addresses, these addresses - * are matched with the corresponding validator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - delegators?: components["parameters"]["INJDelegatorsParam"]; - /** @description Comma-separated list of validators addresses, these addresses - * are matched with the corresponding delegator addresses. To - * fetch a specific stake, pass your wallet address and the - * validator address as parameters. - * */ - validators?: components["parameters"]["INJValidatorsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; + query: { + /** @description Raw transaction to decode */ + tx_serialized: string; }; header?: never; path?: never; @@ -44490,7 +49666,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/octet-stream": string; + "application/json; charset=utf-8": { + data?: components["schemas"]["INJTxDecoding"]; + }; }; }; /** @description Invalid parameters */ @@ -44516,28 +49694,30 @@ export interface operations { }; }; }; - postInjStakeTx: { + getTonStakes: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of nominator addresses */ + nominators?: components["parameters"]["TONNominatorsParam"]; + /** @description Comma-separated list of pool addresses */ + pools?: components["parameters"]["TONPoolsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["INJCraftStakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["INJStakeUnsignedTx"]; + data: components["schemas"]["TONStake"][]; }; }; }; @@ -44564,17 +49744,17 @@ export interface operations { }; }; }; - postInjWithdrawRewardsTx: { + postTonStakes: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ + /** @description Stakes to create */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["INJCraftWithdrawRewardsTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["TONPostStakesPayload"]; }; }; responses: { @@ -44585,7 +49765,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["INJUnsignedTx"]; + data: components["schemas"]["CoreStake"]; }; }; }; @@ -44612,28 +49792,38 @@ export interface operations { }; }; }; - postInjUnstakeTx: { + getTonRewards: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of nominator addresses */ + nominators?: components["parameters"]["TONNominatorsParam"]; + /** @description Comma-separated list of pool addresses */ + pools?: components["parameters"]["TONPoolsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + /** @description Get data from this date (YYYY-MM-DD) */ + start_date?: components["parameters"]["StartDateParam"]; + /** @description The format of the response. Defaults to `daily` */ + format?: components["parameters"]["TONRewardsFormatParam"]; + /** @description Get data to this date (YYYY-MM-DD) */ + end_date?: components["parameters"]["EndDateParam"]; + /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ + include_usd?: components["parameters"]["IncludeUSDParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["INJCraftUnstakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["INJUnsignedTx"]; + data: (components["schemas"]["TONRewardByDay"] | components["schemas"]["TONRewardByEpoch"])[]; }; }; }; @@ -44660,38 +49850,26 @@ export interface operations { }; }; }; - postInjRedelegateTx: { + getTonNetworkStats: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["INJCraftRedelegateTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["INJUnsignedTx"]; + data: components["schemas"]["TONNetworkStats"]; }; }; }; - /** @description Invalid parameters */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; /** @description Unauthorized */ 401: { headers: { @@ -44708,29 +49886,29 @@ export interface operations { }; }; }; - postInjPrepareTx: { + getTonReports: { parameters: { - query?: never; + query?: { + /** @description Comma-separated list of nominator addresses */ + nominators?: components["parameters"]["TONNominatorsParam"]; + /** @description Comma-separated list of pool addresses */ + pools?: components["parameters"]["TONPoolsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to prepare */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["INJPrepareTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: components["schemas"]["INJSignedTx"]; - }; + "application/octet-stream": string; }; }; /** @description Invalid parameters */ @@ -44756,28 +49934,32 @@ export interface operations { }; }; }; - postInjBroadcastTx: { + getTonWalletInfo: { parameters: { - query?: never; + query: { + /** @description Wallet address */ + wallet: components["parameters"]["TONGetWalletInfoParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to broadcast */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["INJBroadcastTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["INJTxHash"]; + data: { + /** + * @description Status of the wallet + * @example active + */ + status: string; + }; }; }; }; @@ -44804,17 +49986,19 @@ export interface operations { }; }; }; - getInjTxStatus: { + postTonGetBalance: { parameters: { - query: { - /** @description Hash of the transaction */ - tx_hash: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Account to query */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["TONGetBalancePayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -44823,7 +50007,18 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["INJTxStatus"]; + data: { + /** + * @description The balance of the account + * @example 1000000 + */ + amount: string; + /** + * @description The denomination of the balance + * @example nanoton + */ + denom: string; + }; }; }; }; @@ -44850,11 +50045,11 @@ export interface operations { }; }; }; - getInjTxDecoding: { + getTonWithdrawRequest: { parameters: { query: { - /** @description Raw transaction to decode */ - tx_serialized: string; + /** @description Pool address */ + pool: components["parameters"]["TONPoolParam"]; }; header?: never; path?: never; @@ -44869,7 +50064,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["INJTxDecoding"]; + data?: components["schemas"]["TONWithdrawRequest"]; }; }; }; @@ -44896,21 +50091,19 @@ export interface operations { }; }; }; - getTonStakes: { + postTonWithdrawRequest: { parameters: { - query?: { - /** @description Comma-separated list of nominator addresses */ - nominators?: components["parameters"]["TONNominatorsParam"]; - /** @description Comma-separated list of pool addresses */ - pools?: components["parameters"]["TONPoolsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Withdraw request to create */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["TONWithdrawRequestPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -44919,7 +50112,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TONStake"][]; + data?: components["schemas"]["TONWithdrawRequest"]; }; }; }; @@ -44946,30 +50139,26 @@ export interface operations { }; }; }; - postTonStakes: { + deleteTonWithdrawRequest: { parameters: { - query?: never; + query: { + /** @description Pool address */ + pool: components["parameters"]["TONPoolParam"]; + /** @description Transaction hash */ + tx_hash?: components["parameters"]["TONTxHashParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Stakes to create */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["TONPostStakesPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; - content: { - "application/json; charset=utf-8": { - data: components["schemas"]["CoreStake"]; - }; - }; + content?: never; }; /** @description Invalid parameters */ 400: { @@ -44994,29 +50183,19 @@ export interface operations { }; }; }; - getTonRewards: { + postTonPrepareTx: { parameters: { - query?: { - /** @description Comma-separated list of nominator addresses */ - nominators?: components["parameters"]["TONNominatorsParam"]; - /** @description Comma-separated list of pool addresses */ - pools?: components["parameters"]["TONPoolsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; - /** @description Get data from this date (YYYY-MM-DD) */ - start_date?: components["parameters"]["StartDateParam"]; - /** @description The format of the response. Defaults to `daily` */ - format?: components["parameters"]["TONRewardsFormatParam"]; - /** @description Get data to this date (YYYY-MM-DD) */ - end_date?: components["parameters"]["EndDateParam"]; - /** @description Include rewards and balance in USD in response.
If a `format` parameter exists it will only work with `format=daily` */ - include_usd?: components["parameters"]["IncludeUSDParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to sign */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["TONPrepareTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -45025,7 +50204,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: (components["schemas"]["TONRewardByDay"] | components["schemas"]["TONRewardByEpoch"])[]; + data: components["schemas"]["TONPreparedTx"]; }; }; }; @@ -45052,14 +50231,19 @@ export interface operations { }; }; }; - getTonNetworkStats: { + postTonBroadcastTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Signed transaction to broadcast */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["TONBroadcastTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -45068,10 +50252,17 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TONNetworkStats"]; + data: components["schemas"]["TONBroadcastTx"]; }; }; }; + /** @description Invalid parameters */ + 400: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; /** @description Unauthorized */ 401: { headers: { @@ -45088,15 +50279,11 @@ export interface operations { }; }; }; - getTonReports: { + getTonTxStatus: { parameters: { - query?: { - /** @description Comma-separated list of nominator addresses */ - nominators?: components["parameters"]["TONNominatorsParam"]; - /** @description Comma-separated list of pool addresses */ - pools?: components["parameters"]["TONPoolsParam"]; - /** @description Comma-separated list of Kiln accounts identifiers */ - accounts?: components["parameters"]["AccountsParam"]; + query: { + /** @description Hash of the message */ + msg_hash: string; }; header?: never; path?: never; @@ -45110,7 +50297,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/octet-stream": string; + "application/json; charset=utf-8": { + data: components["schemas"]["TONTxStatus"]; + }; }; }; /** @description Invalid parameters */ @@ -45136,17 +50325,19 @@ export interface operations { }; }; }; - getTonWalletInfo: { + postTonStakeSingleNominationPoolTx: { parameters: { - query: { - /** @description Wallet address */ - wallet: components["parameters"]["TONGetWalletInfoParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Stake transaction to create */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["TONStakeTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -45155,13 +50346,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: { - /** - * @description Status of the wallet - * @example active - */ - status: string; - }; + data: components["schemas"]["TONTx"]; }; }; }; @@ -45188,17 +50373,17 @@ export interface operations { }; }; }; - postTonGetBalance: { + postTonStakeWhalesPoolTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Account to query */ + /** @description Stake transaction to create */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["TONGetBalancePayload"]; + "application/json; charset=utf-8": components["schemas"]["TONStakeTxPayload"]; }; }; responses: { @@ -45209,18 +50394,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: { - /** - * @description The balance of the account - * @example 1000000 - */ - amount: string; - /** - * @description The denomination of the balance - * @example nanoton - */ - denom: string; - }; + data: components["schemas"]["TONTx"]; }; }; }; @@ -45247,17 +50421,19 @@ export interface operations { }; }; }; - getTonWithdrawRequest: { + postTonUnstakeSingleNominationPoolTx: { parameters: { - query: { - /** @description Pool address */ - pool: components["parameters"]["TONPoolParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Unstake transaction to create */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["TONUnstakeTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -45266,7 +50442,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["TONWithdrawRequest"]; + data: components["schemas"]["TONTx"]; }; }; }; @@ -45293,17 +50469,17 @@ export interface operations { }; }; }; - postTonWithdrawRequest: { + postTonUnstakeWhalesPoolTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Withdraw request to create */ + /** @description Unstake transaction to create */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["TONWithdrawRequestPayload"]; + "application/json; charset=utf-8": components["schemas"]["TONUnstakeTxPayload"]; }; }; responses: { @@ -45314,7 +50490,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["TONWithdrawRequest"]; + data: components["schemas"]["TONTx"]; }; }; }; @@ -45341,26 +50517,30 @@ export interface operations { }; }; }; - deleteTonWithdrawRequest: { + postTonWhitelistVestingContractTx: { parameters: { - query: { - /** @description Pool address */ - pool: components["parameters"]["TONPoolParam"]; - /** @description Transaction hash */ - tx_hash?: components["parameters"]["TONTxHashParam"]; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Whitelist transaction to create */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["TONWhitelistTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { headers: { [name: string]: unknown; }; - content?: never; + content: { + "application/json; charset=utf-8": { + data: components["schemas"]["TONTx"]; + }; + }; }; /** @description Invalid parameters */ 400: { @@ -45385,28 +50565,39 @@ export interface operations { }; }; }; - postTonPrepareTx: { + postNobleGetBalance: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to sign */ + /** @description Account to query */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["TONPrepareTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["NOBLEGetBalancePayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TONPreparedTx"]; + data: { + /** + * @description The balance of the account + * @example 1000000 + */ + amount: string; + /** + * @description The denomination of the balance + * @example uusdc + */ + denom: string; + }; }; }; }; @@ -45433,28 +50624,28 @@ export interface operations { }; }; }; - postTonBroadcastTx: { + postNobleBurnUsdcTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Signed transaction to broadcast */ + /** @description Transaction payload */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["TONBroadcastTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["NOBLEBurnUsdcPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TONBroadcastTx"]; + data: components["schemas"]["DYDXUnsignedTx"]; }; }; }; @@ -45481,17 +50672,19 @@ export interface operations { }; }; }; - getTonTxStatus: { + postNobleOsmoIbcTransferTx: { parameters: { - query: { - /** @description Hash of the message */ - msg_hash: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction payload */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["NOBLEOsmoIbcTransferPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -45500,7 +50693,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TONTxStatus"]; + data: components["schemas"]["DYDXUnsignedTx"]; }; }; }; @@ -45527,28 +50720,28 @@ export interface operations { }; }; }; - postTonStakeSingleNominationPoolTx: { + postNoblePrepareTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Stake transaction to create */ + /** @description Transaction to prepare */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["TONStakeTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["DYDXPrepareTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TONTx"]; + data: components["schemas"]["DYDXSignedTx"]; }; }; }; @@ -45575,28 +50768,28 @@ export interface operations { }; }; }; - postTonStakeWhalesPoolTx: { + postNobleBroadcastTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Stake transaction to create */ + /** @description Transaction to broadcast */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["TONStakeTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["DYDXBroadcastTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TONTx"]; + data: components["schemas"]["DYDXTxHash"]; }; }; }; @@ -45623,28 +50816,26 @@ export interface operations { }; }; }; - postTonUnstakeSingleNominationPoolTx: { + getNobleTxStatus: { parameters: { - query?: never; + query: { + /** @description Hash of the transaction */ + tx_hash: string; + }; header?: never; path?: never; cookie?: never; }; - /** @description Unstake transaction to create */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["TONUnstakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TONTx"]; + data?: components["schemas"]["DYDXTxStatus"]; }; }; }; @@ -45671,29 +50862,25 @@ export interface operations { }; }; }; - postTonUnstakeWhalesPoolTx: { + getNobleTxDecoding: { parameters: { - query?: never; + query: { + /** @description Raw transaction to decode */ + tx_serialized: string; + }; header?: never; path?: never; cookie?: never; }; - /** @description Unstake transaction to create */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["TONUnstakeTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": { - data: components["schemas"]["TONTx"]; - }; + "application/json; charset=utf-8": Record; }; }; /** @description Invalid parameters */ @@ -45719,28 +50906,27 @@ export interface operations { }; }; }; - postTonWhitelistVestingContractTx: { + getTrxStakes: { parameters: { - query?: never; + query?: { + wallet?: components["parameters"]["TRXWalletsParam"]; + /** @description Comma-separated list of Kiln accounts identifiers */ + accounts?: components["parameters"]["AccountsParam"]; + }; header?: never; path?: never; cookie?: never; }; - /** @description Whitelist transaction to create */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["TONWhitelistTxPayload"]; - }; - }; + requestBody?: never; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["TONTx"]; + data: components["schemas"]["TRXStake"][]; }; }; }; @@ -45767,17 +50953,17 @@ export interface operations { }; }; }; - postNobleGetBalance: { + postTrxStakeTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Account to query */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["NOBLEGetBalancePayload"]; + "application/json; charset=utf-8": components["schemas"]["TRXCraftStakeTxPayload"]; }; }; responses: { @@ -45788,18 +50974,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data: { - /** - * @description The balance of the account - * @example 1000000 - */ - amount: string; - /** - * @description The denomination of the balance - * @example uusdc - */ - denom: string; - }; + data: components["schemas"]["TRXUnsignedTx"]; }; }; }; @@ -45826,28 +51001,28 @@ export interface operations { }; }; }; - postNobleBurnUsdcTx: { + postTrxUnstakeTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction payload */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["NOBLEBurnUsdcPayload"]; + "application/json; charset=utf-8": components["schemas"]["TRXCraftUnstakeTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DYDXUnsignedTx"]; + data: components["schemas"]["TRXUnsignedTx"]; }; }; }; @@ -45874,28 +51049,28 @@ export interface operations { }; }; }; - postNobleOsmoIbcTransferTx: { + postTrxWithdrawUnstakedTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction payload */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["NOBLEOsmoIbcTransferPayload"]; + "application/json; charset=utf-8": components["schemas"]["TRXCraftWithdrawUnstakedTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DYDXUnsignedTx"]; + data: components["schemas"]["TRXUnsignedTx"]; }; }; }; @@ -45922,28 +51097,28 @@ export interface operations { }; }; }; - postNoblePrepareTx: { + postTrxVoteTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to prepare */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["DYDXPrepareTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["TRXCraftVoteTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DYDXSignedTx"]; + data: components["schemas"]["TRXUnsignedTx"]; }; }; }; @@ -45970,28 +51145,28 @@ export interface operations { }; }; }; - postNobleBroadcastTx: { + postTrxWithdrawRewardsTx: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - /** @description Transaction to broadcast */ + /** @description Transaction to craft */ requestBody: { content: { - "application/json; charset=utf-8": components["schemas"]["DYDXBroadcastTxPayload"]; + "application/json; charset=utf-8": components["schemas"]["TRXCraftWithdrawRewardsTxPayload"]; }; }; responses: { /** @description Successful operation */ - 201: { + 200: { headers: { [name: string]: unknown; }; content: { "application/json; charset=utf-8": { - data: components["schemas"]["DYDXTxHash"]; + data: components["schemas"]["TRXUnsignedTx"]; }; }; }; @@ -46018,17 +51193,19 @@ export interface operations { }; }; }; - getNobleTxStatus: { + postTrxPrepareTx: { parameters: { - query: { - /** @description Hash of the transaction */ - tx_hash: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to prepare */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["TRXPrepareTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -46037,7 +51214,7 @@ export interface operations { }; content: { "application/json; charset=utf-8": { - data?: components["schemas"]["DYDXTxStatus"]; + data: components["schemas"]["TRXUnsignedTx"]; }; }; }; @@ -46064,17 +51241,19 @@ export interface operations { }; }; }; - getNobleTxDecoding: { + postTrxBroadcastTx: { parameters: { - query: { - /** @description Raw transaction to decode */ - tx_serialized: string; - }; + query?: never; header?: never; path?: never; cookie?: never; }; - requestBody?: never; + /** @description Transaction to broadcast */ + requestBody: { + content: { + "application/json; charset=utf-8": components["schemas"]["TRXBroadcastTxPayload"]; + }; + }; responses: { /** @description Successful operation */ 200: { @@ -46082,7 +51261,9 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json; charset=utf-8": Record; + "application/json; charset=utf-8": { + data: components["schemas"]["TRXUnsignedTx"]; + }; }; }; /** @description Invalid parameters */ From c6e106b9e1a7ed4f23175ebbc3f1a6c36697a016 Mon Sep 17 00:00:00 2001 From: Elliott Denis Date: Fri, 20 Dec 2024 17:46:57 +0000 Subject: [PATCH 2/2] bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1af088c..546f8e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kilnfi/sdk", - "version": "4.0.0", + "version": "4.0.1", "autor": "Kiln (https://kiln.fi)", "license": "BUSL-1.1", "description": "JavaScript sdk for Kiln API",