# Rust API client for mayachain_rs Mayanode 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: 1.113.0-0.1 - Package version: 1.113.0-0.1 - Build package: `org.openapitools.codegen.languages.RustClientCodegen` ## Installation Put the package under your project folder in a directory named `mayachain_rs` and add the following to `Cargo.toml` under `[dependencies]`: ``` mayachain_rs = { path = "./mayachain_rs" } ``` ## Documentation for API Endpoints All URIs are relative to *http://localhost* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *BlockApi* | [**block**](docs/BlockApi.md#block) | **GET** /mayachain/block | *HealthApi* | [**ping**](docs/HealthApi.md#ping) | **GET** /mayachain/ping | *InvariantsApi* | [**invariant**](docs/InvariantsApi.md#invariant) | **GET** /mayachain/invariant/{invariant} | *InvariantsApi* | [**invariants**](docs/InvariantsApi.md#invariants) | **GET** /mayachain/invariants | *LiquidityProvidersApi* | [**liquidity_provider**](docs/LiquidityProvidersApi.md#liquidity_provider) | **GET** /mayachain/pool/{asset}/liquidity_provider/{address} | *LiquidityProvidersApi* | [**liquidity_providers**](docs/LiquidityProvidersApi.md#liquidity_providers) | **GET** /mayachain/pool/{asset}/liquidity_providers | *MayanamesApi* | [**mayaname**](docs/MayanamesApi.md#mayaname) | **GET** /mayachain/mayaname/{name} | *MimirApi* | [**mimir**](docs/MimirApi.md#mimir) | **GET** /mayachain/mimir | *MimirApi* | [**mimir_admin**](docs/MimirApi.md#mimir_admin) | **GET** /mayachain/mimir/admin | *MimirApi* | [**mimir_key**](docs/MimirApi.md#mimir_key) | **GET** /mayachain/mimir/key/{key} | *MimirApi* | [**mimir_node**](docs/MimirApi.md#mimir_node) | **GET** /mayachain/mimir/node/{address} | *MimirApi* | [**mimir_nodes**](docs/MimirApi.md#mimir_nodes) | **GET** /mayachain/mimir/nodes_all | *NetworkApi* | [**ban**](docs/NetworkApi.md#ban) | **GET** /mayachain/ban/{address} | *NetworkApi* | [**constants**](docs/NetworkApi.md#constants) | **GET** /mayachain/constants | *NetworkApi* | [**inbound_addresses**](docs/NetworkApi.md#inbound_addresses) | **GET** /mayachain/inbound_addresses | *NetworkApi* | [**lastblock**](docs/NetworkApi.md#lastblock) | **GET** /mayachain/lastblock | *NetworkApi* | [**lastblock_chain**](docs/NetworkApi.md#lastblock_chain) | **GET** /mayachain/lastblock/{chain} | *NetworkApi* | [**network**](docs/NetworkApi.md#network) | **GET** /mayachain/network | *NetworkApi* | [**ragnarok**](docs/NetworkApi.md#ragnarok) | **GET** /mayachain/ragnarok | *NetworkApi* | [**version**](docs/NetworkApi.md#version) | **GET** /mayachain/version | *NodesApi* | [**node**](docs/NodesApi.md#node) | **GET** /mayachain/node/{address} | *NodesApi* | [**nodes**](docs/NodesApi.md#nodes) | **GET** /mayachain/nodes | *PolApi* | [**pol**](docs/PolApi.md#pol) | **GET** /mayachain/pol | *PoolsApi* | [**pool**](docs/PoolsApi.md#pool) | **GET** /mayachain/pool/{asset} | *PoolsApi* | [**pools**](docs/PoolsApi.md#pools) | **GET** /mayachain/pools | *QueueApi* | [**queue**](docs/QueueApi.md#queue) | **GET** /mayachain/queue | *QueueApi* | [**queue_outbound**](docs/QueueApi.md#queue_outbound) | **GET** /mayachain/queue/outbound | *QueueApi* | [**queue_scheduled**](docs/QueueApi.md#queue_scheduled) | **GET** /mayachain/queue/scheduled | *QueueApi* | [**queue_swap**](docs/QueueApi.md#queue_swap) | **GET** /mayachain/queue/swap | *QuoteApi* | [**quotesaverdeposit**](docs/QuoteApi.md#quotesaverdeposit) | **GET** /mayachain/quote/saver/deposit | *QuoteApi* | [**quotesaverwithdraw**](docs/QuoteApi.md#quotesaverwithdraw) | **GET** /mayachain/quote/saver/withdraw | *QuoteApi* | [**quoteswap**](docs/QuoteApi.md#quoteswap) | **GET** /mayachain/quote/swap | *SaversApi* | [**saver**](docs/SaversApi.md#saver) | **GET** /mayachain/pool/{asset}/saver/{address} | *SaversApi* | [**savers**](docs/SaversApi.md#savers) | **GET** /mayachain/pool/{asset}/savers | *StreamingSwapApi* | [**stream_swap**](docs/StreamingSwapApi.md#stream_swap) | **GET** /mayachain/swap/streaming/{hash} | *StreamingSwapApi* | [**stream_swaps**](docs/StreamingSwapApi.md#stream_swaps) | **GET** /mayachain/swaps/streaming | *TssApi* | [**keygen_pubkey**](docs/TssApi.md#keygen_pubkey) | **GET** /mayachain/keygen/{height}/{pubkey} | *TssApi* | [**keysign**](docs/TssApi.md#keysign) | **GET** /mayachain/keysign/{height} | *TssApi* | [**keysign_pubkey**](docs/TssApi.md#keysign_pubkey) | **GET** /mayachain/keysign/{height}/{pubkey} | *TssApi* | [**metrics**](docs/TssApi.md#metrics) | **GET** /mayachain/metrics | *TssApi* | [**metrics_keygen**](docs/TssApi.md#metrics_keygen) | **GET** /mayachain/metric/keygen/{pubkey} | *TransactionsApi* | [**tx**](docs/TransactionsApi.md#tx) | **GET** /mayachain/tx/{hash} | *TransactionsApi* | [**tx_signers**](docs/TransactionsApi.md#tx_signers) | **GET** /mayachain/tx/details/{hash} | *TransactionsApi* | [**tx_signers_old**](docs/TransactionsApi.md#tx_signers_old) | **GET** /mayachain/tx/{hash}/signers | *TransactionsApi* | [**tx_stages**](docs/TransactionsApi.md#tx_stages) | **GET** /mayachain/tx/stages/{hash} | *TransactionsApi* | [**tx_status**](docs/TransactionsApi.md#tx_status) | **GET** /mayachain/tx/status/{hash} | *VaultsApi* | [**asgard**](docs/VaultsApi.md#asgard) | **GET** /mayachain/vaults/asgard | *VaultsApi* | [**vault**](docs/VaultsApi.md#vault) | **GET** /mayachain/vault/{pubkey} | *VaultsApi* | [**vault_pubkeys**](docs/VaultsApi.md#vault_pubkeys) | **GET** /mayachain/vaults/pubkeys | *VaultsApi* | [**yggdrasil**](docs/VaultsApi.md#yggdrasil) | **GET** /mayachain/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) - [ChainHeight](docs/ChainHeight.md) - [Coin](docs/Coin.md) - [ConstantsResponse](docs/ConstantsResponse.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) - [LpBondedNode](docs/LpBondedNode.md) - [Mayaname](docs/Mayaname.md) - [Mayaname1](docs/Mayaname1.md) - [MayanameAlias](docs/MayanameAlias.md) - [MayanameSubaffiliate](docs/MayanameSubaffiliate.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) - [OutboundSignedStage](docs/OutboundSignedStage.md) - [Ping](docs/Ping.md) - [PlannedOutTx](docs/PlannedOutTx.md) - [PolResponse](docs/PolResponse.md) - [Pool](docs/Pool.md) - [QueueResponse](docs/QueueResponse.md) - [QuoteFees](docs/QuoteFees.md) - [QuoteSaverDepositResponse](docs/QuoteSaverDepositResponse.md) - [QuoteSaverWithdrawResponse](docs/QuoteSaverWithdrawResponse.md) - [QuoteSwapResponse](docs/QuoteSwapResponse.md) - [Saver](docs/Saver.md) - [StreamingStatus](docs/StreamingStatus.md) - [StreamingSwap](docs/StreamingSwap.md) - [SwapFinalisedStage](docs/SwapFinalisedStage.md) - [SwapStatus](docs/SwapStatus.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) - [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@mayachain.org