xchainpy2-mayanode
Mayanode REST API.
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.129.2
- Package version: 1.129.2
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
Requirements.
Python 2.7 and 3.4+
Installation & Usage
pip install
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)
Then import the package:
import xchainpy2_mayanode
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import xchainpy2_mayanode
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import xchainpy2_mayanode
from xchainpy2_mayanode.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = xchainpy2_mayanode.BlockApi(xchainpy2_mayanode.ApiClient(configuration))
height = 789 # int | optional block height, defaults to current tip (optional)
try:
api_response = api_instance.block(height=height)
pprint(api_response)
except ApiException as e:
print("Exception when calling BlockApi->block: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to /
| Class | Method | HTTP request | Description |
|---|---|---|---|
| BlockApi | block | GET /mayachain/block | |
| CACAOPoolApi | cacao_pool | GET /mayachain/cacaopool | |
| CACAOPoolApi | cacao_provider | GET /mayachain/cacao_provider/{address} | |
| CACAOPoolApi | cacao_providers | GET /mayachain/cacao_providers | |
| CloutApi | swapper_clout | GET /mayachain/clout/swap/{address} | |
| HealthApi | ping | GET /mayachain/ping | |
| InvariantsApi | invariant | GET /mayachain/invariant/{invariant} | |
| InvariantsApi | invariants | GET /mayachain/invariants | |
| LiquidityProvidersApi | liquidity_provider | GET /mayachain/pool/{asset}/liquidity_provider/{address} | |
| LiquidityProvidersApi | liquidity_providers | GET /mayachain/pool/{asset}/liquidity_providers | |
| MayanamesApi | mayaname | GET /mayachain/mayaname/{name} | |
| MimirApi | mimir | GET /mayachain/mimir | |
| MimirApi | mimir_admin | GET /mayachain/mimir/admin | |
| MimirApi | mimir_key | GET /mayachain/mimir/key/{key} | |
| MimirApi | mimir_node | GET /mayachain/mimir/node/{address} | |
| MimirApi | mimir_nodes | GET /mayachain/mimir/nodes_all | |
| NetworkApi | ban | GET /mayachain/ban/{address} | |
| NetworkApi | constants | GET /mayachain/constants | |
| NetworkApi | inbound_addresses | GET /mayachain/inbound_addresses | |
| NetworkApi | lastblock | GET /mayachain/lastblock | |
| NetworkApi | lastblock_chain | GET /mayachain/lastblock/{chain} | |
| NetworkApi | network | GET /mayachain/network | |
| NetworkApi | outbound_fee_asset | GET /mayachain/outbound_fee/{asset} | |
| NetworkApi | outbound_fees | GET /mayachain/outbound_fees | |
| NetworkApi | ragnarok | GET /mayachain/ragnarok | |
| NetworkApi | version | GET /mayachain/version | |
| NodesApi | node | GET /mayachain/node/{address} | |
| NodesApi | nodes | GET /mayachain/nodes | |
| POLApi | pol | GET /mayachain/pol | |
| PoolsApi | pool | GET /mayachain/pool/{asset} | |
| PoolsApi | pools | GET /mayachain/pools | |
| QueueApi | queue | GET /mayachain/queue | |
| QueueApi | queue_outbound | GET /mayachain/queue/outbound | |
| QueueApi | queue_scheduled | GET /mayachain/queue/scheduled | |
| QueueApi | queue_swap | GET /mayachain/queue/swap | |
| QuoteApi | quoteswap | GET /mayachain/quote/swap | |
| StreamingSwapApi | stream_swap | GET /mayachain/swap/streaming/{hash} | |
| StreamingSwapApi | stream_swaps | GET /mayachain/swaps/streaming | |
| TSSApi | keygen_pubkey | GET /mayachain/keygen/{height}/{pubkey} | |
| TSSApi | keysign | GET /mayachain/keysign/{height} | |
| TSSApi | keysign_pubkey | GET /mayachain/keysign/{height}/{pubkey} | |
| TSSApi | metrics | GET /mayachain/metrics | |
| TSSApi | metrics_keygen | GET /mayachain/metric/keygen/{pubkey} | |
| TradeAccountApi | trade_account | GET /mayachain/trade/account/{address} | |
| TradeAccountsApi | trade_accounts | GET /mayachain/trade/accounts/{asset} | |
| TradeUnitApi | trade_unit | GET /mayachain/trade/unit/{asset} | |
| TradeUnitsApi | trade_units | GET /mayachain/trade/units | |
| TransactionsApi | tx | GET /mayachain/tx/{hash} | |
| TransactionsApi | tx_in_voter | GET /mayachain/tx/in/{hash} | |
| TransactionsApi | tx_out_voter | GET /mayachain/tx/out/{hash} | |
| TransactionsApi | tx_signers | GET /mayachain/tx/details/{hash} | |
| TransactionsApi | tx_signers_old | GET /mayachain/tx/{hash}/signers | |
| TransactionsApi | tx_stages | GET /mayachain/tx/stages/{hash} | |
| TransactionsApi | tx_status | GET /mayachain/tx/status/{hash} | |
| VaultsApi | asgard | GET /mayachain/vaults/asgard | |
| VaultsApi | vault | GET /mayachain/vault/{pubkey} | |
| VaultsApi | vault_pubkeys | GET /mayachain/vaults/pubkeys | |
| VaultsApi | yggdrasil | GET /mayachain/vaults/yggdrasil |
Documentation For Models
- BanResponse
- BaseQuoteResponse
- BlockResponse
- BlockResponseHeader
- BlockResponseHeaderVersion
- BlockResponseId
- BlockResponseIdParts
- BlockTx
- BlockTxResult
- CACAOPoolResponse
- CACAOPoolResponseProviders
- CACAOPoolResponseReserve
- CACAOProvider
- CACAOProviderResponse
- CACAOProvidersResponse
- ChainHeight
- Coin
- ConstantsResponse
- InboundAddress
- InboundAddressesResponse
- InboundConfirmationCountedStage
- InboundFinalisedStage
- InboundObservedStage
- InvariantResponse
- InvariantsResponse
- Keygen
- KeygenBlock
- KeygenMetric
- KeygenMetricsResponse
- KeygenResponse
- KeysignInfo
- KeysignMetrics
- KeysignResponse
- LPBondedNode
- LastBlock
- LastBlockResponse
- LiquidityProvider
- LiquidityProviderResponse
- LiquidityProviderSummary
- LiquidityProvidersResponse
- Mayaname
- Mayaname1
- MayanameAlias
- MayanameResponse
- MayanameSubaffiliate
- MetricsResponse
- MimirNodesResponse
- MimirResponse
- MimirVote
- MsgSwap
- NetworkResponse
- Node
- NodeBondProvider
- NodeBondProviders
- NodeJail
- NodeKeygenMetric
- NodePreflightStatus
- NodePubKeySet
- NodeResponse
- NodesResponse
- ObservedTx
- OutboundDelayStage
- OutboundFee
- OutboundFeesResponse
- OutboundResponse
- OutboundSignedStage
- POL
- POLResponse
- Ping
- PlannedOutTx
- Pool
- PoolResponse
- PoolsResponse
- QueueResponse
- QuoteFees
- QuoteSwapResponse
- ScheduledResponse
- ShieldedMemoConfig
- StreamingStatus
- StreamingSwap
- StreamingSwapResponse
- StreamingSwapsResponse
- SwapFinalisedStage
- SwapQueueResponse
- SwapStatus
- SwapperCloutResponse
- TradeAccountResponse
- TradeAccountsResponse
- TradeUnitResponse
- TradeUnitsResponse
- TssKeysignMetric
- TssMetric
- Tx
- TxDetailsResponse
- TxOutItem
- TxResponse
- TxSignersResponse
- TxStagesResponse
- TxStatusResponse
- Vault
- VaultAddress
- VaultInfo
- VaultPubkeysResponse
- VaultResponse
- VaultRouter
- VaultsResponse
- VersionResponse
- YggdrasilVault
Documentation For Authorization
All endpoints do not require authorization.
Author
Metadata
Release files for xchainpy2-mayanode 1.129.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xchainpy2_mayanode-1.129.2.tar.gz | 93.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xchainpy2_mayanode-1.129.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 399.9 kB
Release files / xchainpy2_mayanode-1.129.2.tar.gz
| Download URL | xchainpy2_mayanode-1.129.2.tar.gz |
|---|---|
| Size | 93.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
295398d43524d3214df5741151af4778e2ad2894a08fe4d9be12942a050a376b
|
|
BLAKE2b-256 checksum How to use checksums |
4cf7426759aeeb49b4efd03d929e782a257211612a3d4eca40340a2ffbc3ea12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Release files / xchainpy2_mayanode-1.129.2-py3-none-any.whl
| Download URL | xchainpy2_mayanode-1.129.2-py3-none-any.whl |
|---|---|
| Size | 306.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35ead0be0834539cebf9ebba5748dccb15a3f733d5d55d588aabb5f844277527
|
|
BLAKE2b-256 checksum How to use checksums |
106fb3135d196d0251000b7d7439ac3c42c87c91d39021d658449f16d678455f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|