# Rust API client for thorchain_rs Thornode REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 2.137.3 - Package version: 2.137.3 - Build package: `org.openapitools.codegen.languages.RustClientCodegen` ## Installation Put the package under your project folder in a directory named `thorchain_rs` and add the following to `Cargo.toml` under `[dependencies]`: ``` thorchain_rs = { path = "./thorchain_rs" } ``` ## Documentation for API Endpoints All URIs are relative to *http://localhost* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *BlockApi* | [**block**](docs/BlockApi.md#block) | **GET** /thorchain/block | *BorrowersApi* | [**borrower**](docs/BorrowersApi.md#borrower) | **GET** /thorchain/pool/{asset}/borrower/{address} | *BorrowersApi* | [**borrowers**](docs/BorrowersApi.md#borrowers) | **GET** /thorchain/pool/{asset}/borrowers | *CloutApi* | [**swapper_clout**](docs/CloutApi.md#swapper_clout) | **GET** /thorchain/clout/swap/{address} | *HealthApi* | [**ping**](docs/HealthApi.md#ping) | **GET** /thorchain/ping | *InvariantsApi* | [**invariant**](docs/InvariantsApi.md#invariant) | **GET** /thorchain/invariant/{invariant} | *InvariantsApi* | [**invariants**](docs/InvariantsApi.md#invariants) | **GET** /thorchain/invariants | *LiquidityProvidersApi* | [**liquidity_provider**](docs/LiquidityProvidersApi.md#liquidity_provider) | **GET** /thorchain/pool/{asset}/liquidity_provider/{address} | *LiquidityProvidersApi* | [**liquidity_providers**](docs/LiquidityProvidersApi.md#liquidity_providers) | **GET** /thorchain/pool/{asset}/liquidity_providers | *MimirApi* | [**mimir**](docs/MimirApi.md#mimir) | **GET** /thorchain/mimir | *MimirApi* | [**mimir_admin**](docs/MimirApi.md#mimir_admin) | **GET** /thorchain/mimir/admin | *MimirApi* | [**mimir_key**](docs/MimirApi.md#mimir_key) | **GET** /thorchain/mimir/key/{key} | *MimirApi* | [**mimir_node**](docs/MimirApi.md#mimir_node) | **GET** /thorchain/mimir/node/{address} | *MimirApi* | [**mimir_nodes**](docs/MimirApi.md#mimir_nodes) | **GET** /thorchain/mimir/nodes_all | *NetworkApi* | [**ban**](docs/NetworkApi.md#ban) | **GET** /thorchain/ban/{address} | *NetworkApi* | [**constants**](docs/NetworkApi.md#constants) | **GET** /thorchain/constants | *NetworkApi* | [**inbound_addresses**](docs/NetworkApi.md#inbound_addresses) | **GET** /thorchain/inbound_addresses | *NetworkApi* | [**lastblock**](docs/NetworkApi.md#lastblock) | **GET** /thorchain/lastblock | *NetworkApi* | [**lastblock_chain**](docs/NetworkApi.md#lastblock_chain) | **GET** /thorchain/lastblock/{chain} | *NetworkApi* | [**network**](docs/NetworkApi.md#network) | **GET** /thorchain/network | *NetworkApi* | [**outbound_fee_asset**](docs/NetworkApi.md#outbound_fee_asset) | **GET** /thorchain/outbound_fee/{asset} | *NetworkApi* | [**outbound_fees**](docs/NetworkApi.md#outbound_fees) | **GET** /thorchain/outbound_fees | *NetworkApi* | [**ragnarok**](docs/NetworkApi.md#ragnarok) | **GET** /thorchain/ragnarok | *NetworkApi* | [**upgrade_proposal**](docs/NetworkApi.md#upgrade_proposal) | **GET** /thorchain/upgrade_proposal/{name} | *NetworkApi* | [**upgrade_proposals**](docs/NetworkApi.md#upgrade_proposals) | **GET** /thorchain/upgrade_proposals | *NetworkApi* | [**upgrade_votes**](docs/NetworkApi.md#upgrade_votes) | **GET** /thorchain/upgrade_votes/{name} | *NetworkApi* | [**version**](docs/NetworkApi.md#version) | **GET** /thorchain/version | *NodesApi* | [**node**](docs/NodesApi.md#node) | **GET** /thorchain/node/{address} | *NodesApi* | [**nodes**](docs/NodesApi.md#nodes) | **GET** /thorchain/nodes | *PoolSlipApi* | [**poolslip**](docs/PoolSlipApi.md#poolslip) | **GET** /thorchain/slip/{asset} | *PoolSlipApi* | [**poolslips**](docs/PoolSlipApi.md#poolslips) | **GET** /thorchain/slips | *PoolsApi* | [**dpool**](docs/PoolsApi.md#dpool) | **GET** /thorchain/dpool/{asset} | *PoolsApi* | [**dpools**](docs/PoolsApi.md#dpools) | **GET** /thorchain/dpools | *PoolsApi* | [**pool**](docs/PoolsApi.md#pool) | **GET** /thorchain/pool/{asset} | *PoolsApi* | [**pools**](docs/PoolsApi.md#pools) | **GET** /thorchain/pools | *QueueApi* | [**queue**](docs/QueueApi.md#queue) | **GET** /thorchain/queue | *QueueApi* | [**queue_outbound**](docs/QueueApi.md#queue_outbound) | **GET** /thorchain/queue/outbound | *QueueApi* | [**queue_scheduled**](docs/QueueApi.md#queue_scheduled) | **GET** /thorchain/queue/scheduled | *QueueApi* | [**queue_swap**](docs/QueueApi.md#queue_swap) | **GET** /thorchain/queue/swap | *QuoteApi* | [**quoteloanclose**](docs/QuoteApi.md#quoteloanclose) | **GET** /thorchain/quote/loan/close | *QuoteApi* | [**quoteloanopen**](docs/QuoteApi.md#quoteloanopen) | **GET** /thorchain/quote/loan/open | *QuoteApi* | [**quotesaverdeposit**](docs/QuoteApi.md#quotesaverdeposit) | **GET** /thorchain/quote/saver/deposit | *QuoteApi* | [**quotesaverwithdraw**](docs/QuoteApi.md#quotesaverwithdraw) | **GET** /thorchain/quote/saver/withdraw | *QuoteApi* | [**quoteswap**](docs/QuoteApi.md#quoteswap) | **GET** /thorchain/quote/swap | *RunePoolApi* | [**rune_pool**](docs/RunePoolApi.md#rune_pool) | **GET** /thorchain/runepool | *RunePoolApi* | [**rune_provider**](docs/RunePoolApi.md#rune_provider) | **GET** /thorchain/rune_provider/{address} | *RunePoolApi* | [**rune_providers**](docs/RunePoolApi.md#rune_providers) | **GET** /thorchain/rune_providers | *SaversApi* | [**saver**](docs/SaversApi.md#saver) | **GET** /thorchain/pool/{asset}/saver/{address} | *SaversApi* | [**savers**](docs/SaversApi.md#savers) | **GET** /thorchain/pool/{asset}/savers | *StreamingSwapApi* | [**stream_swap**](docs/StreamingSwapApi.md#stream_swap) | **GET** /thorchain/swap/streaming/{hash} | *StreamingSwapApi* | [**stream_swaps**](docs/StreamingSwapApi.md#stream_swaps) | **GET** /thorchain/swaps/streaming | *TssApi* | [**keygen_pubkey**](docs/TssApi.md#keygen_pubkey) | **GET** /thorchain/keygen/{height}/{pubkey} | *TssApi* | [**keysign**](docs/TssApi.md#keysign) | **GET** /thorchain/keysign/{height} | *TssApi* | [**keysign_pubkey**](docs/TssApi.md#keysign_pubkey) | **GET** /thorchain/keysign/{height}/{pubkey} | *TssApi* | [**metrics**](docs/TssApi.md#metrics) | **GET** /thorchain/metrics | *TssApi* | [**metrics_keygen**](docs/TssApi.md#metrics_keygen) | **GET** /thorchain/metric/keygen/{pubkey} | *ThornamesApi* | [**thorname**](docs/ThornamesApi.md#thorname) | **GET** /thorchain/thorname/{name} | *TradeAccountApi* | [**trade_account**](docs/TradeAccountApi.md#trade_account) | **GET** /thorchain/trade/account/{address} | *TradeAccountsApi* | [**trade_accounts**](docs/TradeAccountsApi.md#trade_accounts) | **GET** /thorchain/trade/accounts/{asset} | *TradeUnitApi* | [**trade_unit**](docs/TradeUnitApi.md#trade_unit) | **GET** /thorchain/trade/unit/{asset} | *TradeUnitsApi* | [**trade_units**](docs/TradeUnitsApi.md#trade_units) | **GET** /thorchain/trade/units | *TransactionsApi* | [**tx**](docs/TransactionsApi.md#tx) | **GET** /thorchain/tx/{hash} | *TransactionsApi* | [**tx_signers**](docs/TransactionsApi.md#tx_signers) | **GET** /thorchain/tx/details/{hash} | *TransactionsApi* | [**tx_signers_old**](docs/TransactionsApi.md#tx_signers_old) | **GET** /thorchain/tx/{hash}/signers | *TransactionsApi* | [**tx_stages**](docs/TransactionsApi.md#tx_stages) | **GET** /thorchain/tx/stages/{hash} | *TransactionsApi* | [**tx_status**](docs/TransactionsApi.md#tx_status) | **GET** /thorchain/tx/status/{hash} | *VaultsApi* | [**asgard**](docs/VaultsApi.md#asgard) | **GET** /thorchain/vaults/asgard | *VaultsApi* | [**vault**](docs/VaultsApi.md#vault) | **GET** /thorchain/vault/{pubkey} | *VaultsApi* | [**vault_pubkeys**](docs/VaultsApi.md#vault_pubkeys) | **GET** /thorchain/vaults/pubkeys | *VaultsApi* | [**yggdrasil**](docs/VaultsApi.md#yggdrasil) | **GET** /thorchain/vaults/yggdrasil | ## Documentation For Models - [BanResponse](docs/BanResponse.md) - [BaseQuoteResponse](docs/BaseQuoteResponse.md) - [BlockResponse](docs/BlockResponse.md) - [BlockResponseHeader](docs/BlockResponseHeader.md) - [BlockResponseHeaderVersion](docs/BlockResponseHeaderVersion.md) - [BlockResponseId](docs/BlockResponseId.md) - [BlockResponseIdParts](docs/BlockResponseIdParts.md) - [BlockTx](docs/BlockTx.md) - [BlockTxResult](docs/BlockTxResult.md) - [Borrower](docs/Borrower.md) - [ChainHeight](docs/ChainHeight.md) - [Coin](docs/Coin.md) - [ConstantsResponse](docs/ConstantsResponse.md) - [DerivedPool](docs/DerivedPool.md) - [InboundAddress](docs/InboundAddress.md) - [InboundConfirmationCountedStage](docs/InboundConfirmationCountedStage.md) - [InboundFinalisedStage](docs/InboundFinalisedStage.md) - [InboundObservedStage](docs/InboundObservedStage.md) - [InvariantResponse](docs/InvariantResponse.md) - [InvariantsResponse](docs/InvariantsResponse.md) - [Keygen](docs/Keygen.md) - [KeygenBlock](docs/KeygenBlock.md) - [KeygenMetric](docs/KeygenMetric.md) - [KeygenResponse](docs/KeygenResponse.md) - [KeysignInfo](docs/KeysignInfo.md) - [KeysignMetrics](docs/KeysignMetrics.md) - [KeysignResponse](docs/KeysignResponse.md) - [LastBlock](docs/LastBlock.md) - [LiquidityProvider](docs/LiquidityProvider.md) - [LiquidityProviderSummary](docs/LiquidityProviderSummary.md) - [MetricsResponse](docs/MetricsResponse.md) - [MimirNodesResponse](docs/MimirNodesResponse.md) - [MimirVote](docs/MimirVote.md) - [MsgSwap](docs/MsgSwap.md) - [NetworkResponse](docs/NetworkResponse.md) - [Node](docs/Node.md) - [NodeBondProvider](docs/NodeBondProvider.md) - [NodeBondProviders](docs/NodeBondProviders.md) - [NodeJail](docs/NodeJail.md) - [NodeKeygenMetric](docs/NodeKeygenMetric.md) - [NodePreflightStatus](docs/NodePreflightStatus.md) - [NodePubKeySet](docs/NodePubKeySet.md) - [ObservedTx](docs/ObservedTx.md) - [OutboundDelayStage](docs/OutboundDelayStage.md) - [OutboundFee](docs/OutboundFee.md) - [OutboundSignedStage](docs/OutboundSignedStage.md) - [Ping](docs/Ping.md) - [PlannedOutTx](docs/PlannedOutTx.md) - [Pol](docs/Pol.md) - [Pool](docs/Pool.md) - [PoolSlipResponseInner](docs/PoolSlipResponseInner.md) - [QueueResponse](docs/QueueResponse.md) - [QuoteFees](docs/QuoteFees.md) - [QuoteLoanCloseResponse](docs/QuoteLoanCloseResponse.md) - [QuoteLoanOpenResponse](docs/QuoteLoanOpenResponse.md) - [QuoteSaverDepositResponse](docs/QuoteSaverDepositResponse.md) - [QuoteSaverWithdrawResponse](docs/QuoteSaverWithdrawResponse.md) - [QuoteSwapResponse](docs/QuoteSwapResponse.md) - [RunePoolResponse](docs/RunePoolResponse.md) - [RunePoolResponseProviders](docs/RunePoolResponseProviders.md) - [RunePoolResponseReserve](docs/RunePoolResponseReserve.md) - [RuneProvider](docs/RuneProvider.md) - [Saver](docs/Saver.md) - [StreamingStatus](docs/StreamingStatus.md) - [StreamingSwap](docs/StreamingSwap.md) - [SwapFinalisedStage](docs/SwapFinalisedStage.md) - [SwapStatus](docs/SwapStatus.md) - [SwapperCloutResponse](docs/SwapperCloutResponse.md) - [Thorname](docs/Thorname.md) - [ThornameAlias](docs/ThornameAlias.md) - [TradeAccountResponse](docs/TradeAccountResponse.md) - [TradeUnitResponse](docs/TradeUnitResponse.md) - [TssKeysignMetric](docs/TssKeysignMetric.md) - [TssMetric](docs/TssMetric.md) - [Tx](docs/Tx.md) - [TxDetailsResponse](docs/TxDetailsResponse.md) - [TxOutItem](docs/TxOutItem.md) - [TxResponse](docs/TxResponse.md) - [TxSignersResponse](docs/TxSignersResponse.md) - [TxStagesResponse](docs/TxStagesResponse.md) - [TxStatusResponse](docs/TxStatusResponse.md) - [UpgradeProposal](docs/UpgradeProposal.md) - [UpgradeVote](docs/UpgradeVote.md) - [Vault](docs/Vault.md) - [VaultAddress](docs/VaultAddress.md) - [VaultInfo](docs/VaultInfo.md) - [VaultPubkeysResponse](docs/VaultPubkeysResponse.md) - [VaultRouter](docs/VaultRouter.md) - [VersionResponse](docs/VersionResponse.md) - [YggdrasilVault](docs/YggdrasilVault.md) To get access to the crate's generated documentation, use: ``` cargo doc --open ``` ## Author devs@thorchain.org