Mayanode API
Project description
xchainpy2-mayanode
Mayanode REST API.
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.111.0
- Package version: 1.111.0
- 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 | |
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 | 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 | quotesaverdeposit | GET /mayachain/quote/saver/deposit | |
QuoteApi | quotesaverwithdraw | GET /mayachain/quote/saver/withdraw | |
QuoteApi | quoteswap | GET /mayachain/quote/swap | |
SaversApi | saver | GET /mayachain/pool/{asset}/saver/{address} | |
SaversApi | savers | GET /mayachain/pool/{asset}/savers | |
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} | |
TransactionsApi | tx | GET /mayachain/tx/{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/vaults/{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
- 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
- MetricsResponse
- MimirNodesResponse
- MimirResponse
- MimirVote
- MsgSwap
- NetworkResponse
- Node
- NodeBondProvider
- NodeBondProviders
- NodeJail
- NodeKeygenMetric
- NodePreflightStatus
- NodePubKeySet
- NodeResponse
- NodesResponse
- ObservedTx
- OutboundDelayStage
- OutboundResponse
- OutboundSignedStage
- POLResponse
- Ping
- PlannedOutTx
- Pool
- PoolResponse
- PoolsResponse
- QueueResponse
- QuoteFees
- QuoteSaverDepositResponse
- QuoteSaverWithdrawResponse
- QuoteSwapResponse
- Saver
- SaverResponse
- SaversResponse
- ScheduledResponse
- StreamingStatus
- StreamingSwap
- StreamingSwapResponse
- StreamingSwapsResponse
- SwapFinalisedStage
- SwapQueueResponse
- SwapStatus
- 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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file xchainpy2_mayanode-1.111.0.tar.gz
.
File metadata
- Download URL: xchainpy2_mayanode-1.111.0.tar.gz
- Upload date:
- Size: 82.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff7638ef49da9e10ad7e5301ecd5fee9a11517a2685bffd4cf6d1548abe4c384 |
|
MD5 | 4af392f8fa09d5b0fde54b6ab05e563c |
|
BLAKE2b-256 | e3cb0ab783fc061fbfc3a552c31ca1b31dcbc19c7906385fa2fd4a8b988fcdac |
File details
Details for the file xchainpy2_mayanode-1.111.0-py3-none-any.whl
.
File metadata
- Download URL: xchainpy2_mayanode-1.111.0-py3-none-any.whl
- Upload date:
- Size: 271.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46b9a697148327742695c011c53e6cdfb43deccf5eaccfb5237cf611507355a1 |
|
MD5 | 62c3f6b436a4fb8b957a94ea8be7a509 |
|
BLAKE2b-256 | 788fa036b74ccbdd60d36f5d8690aa240708b421132fd3299045679842bd142d |