xchainpy2-thornode
Thornode REST API.
This Python package is automatically generated by the Swagger Codegen project:
- API version: 3.17.0
- Package version: 3.17.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_thornode
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_thornode
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import xchainpy2_thornode
from xchainpy2_thornode.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = xchainpy2_thornode.AuthApi(xchainpy2_thornode.ApiClient(configuration))
address = 'address_example' # str |
height = 789 # int | optional block height, defaults to current tip (optional)
try:
api_response = api_instance.account(address, height=height)
pprint(api_response)
except ApiException as e:
print("Exception when calling AuthApi->account: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://gateway.liquify.com/chain/thorchain_api
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AuthApi | account | GET /auth/accounts/{address} | |
| BankApi | balances | GET /bank/balances/{address} | |
| BlockApi | block | GET /thorchain/block | |
| CloutApi | swapper_clout | GET /thorchain/clout/swap/{address} | |
| CodesApi | codes | GET /thorchain/codes | |
| ExportApi | export | GET /thorchain/export | |
| HealthApi | ping | GET /thorchain/ping | |
| InvariantsApi | invariant | GET /thorchain/invariant/{invariant} | |
| InvariantsApi | invariants | GET /thorchain/invariants | |
| LimitOrderApi | quotelimit | GET /thorchain/quote/limit | |
| LiquidityProvidersApi | liquidity_provider | GET /thorchain/pool/{asset}/liquidity_provider/{address} | |
| LiquidityProvidersApi | liquidity_providers | GET /thorchain/pool/{asset}/liquidity_providers | |
| MimirApi | mimir | GET /thorchain/mimir | |
| MimirApi | mimir_admin | GET /thorchain/mimir/admin | |
| MimirApi | mimir_key | GET /thorchain/mimir/key/{key} | |
| MimirApi | mimir_node | GET /thorchain/mimir/node/{address} | |
| MimirApi | mimir_nodes | GET /thorchain/mimir/nodes_all | |
| NetworkApi | ban | GET /thorchain/ban/{address} | |
| NetworkApi | constants | GET /thorchain/constants | |
| NetworkApi | inbound_addresses | GET /thorchain/inbound_addresses | |
| NetworkApi | lastblock | GET /thorchain/lastblock | |
| NetworkApi | lastblock_chain | GET /thorchain/lastblock/{chain} | |
| NetworkApi | network | GET /thorchain/network | |
| NetworkApi | outbound_fee_asset | GET /thorchain/outbound_fee/{asset} | |
| NetworkApi | outbound_fees | GET /thorchain/outbound_fees | |
| NetworkApi | ragnarok | GET /thorchain/ragnarok | |
| NetworkApi | upgrade_proposal | GET /thorchain/upgrade_proposal/{name} | |
| NetworkApi | upgrade_proposals | GET /thorchain/upgrade_proposals | |
| NetworkApi | upgrade_votes | GET /thorchain/upgrade_votes/{name} | |
| NetworkApi | version | GET /thorchain/version | |
| NodesApi | node | GET /thorchain/node/{address} | |
| NodesApi | nodes | GET /thorchain/nodes | |
| OracleApi | oracle_price | GET /thorchain/oracle/price/{symbol} | |
| OracleApi | oracle_prices | GET /thorchain/oracle/prices | |
| PoolSlipApi | poolslip | GET /thorchain/slip/{asset} | |
| PoolSlipApi | poolslips | GET /thorchain/slips | |
| PoolsApi | dpool | GET /thorchain/dpool/{asset} | |
| PoolsApi | dpools | GET /thorchain/dpools | |
| PoolsApi | pool | GET /thorchain/pool/{asset} | |
| PoolsApi | pools | GET /thorchain/pools | |
| QueueApi | limit_swaps | GET /thorchain/queue/limit_swaps | |
| QueueApi | limit_swaps_summary | GET /thorchain/queue/limit_swaps/summary | |
| QueueApi | queue | GET /thorchain/queue | |
| QueueApi | queue_outbound | GET /thorchain/queue/outbound | |
| QueueApi | queue_scheduled | GET /thorchain/queue/scheduled | |
| QueueApi | queue_swap | GET /thorchain/queue/swap | |
| QuoteApi | quoteswap | GET /thorchain/quote/swap | |
| RUNEPoolApi | rune_pool | GET /thorchain/runepool | |
| RUNEPoolApi | rune_provider | GET /thorchain/rune_provider/{address} | |
| RUNEPoolApi | rune_providers | GET /thorchain/rune_providers | |
| ReferenceMemosApi | reference_memo | GET /thorchain/memo/{asset}/{reference} | |
| ReferenceMemosApi | reference_memo_by_hash | GET /thorchain/memo/{hash} | |
| ReferenceMemosApi | reference_memo_check | GET /thorchain/memo/check/{asset}/{amount} | |
| SaversApi | saver | GET /thorchain/pool/{asset}/saver/{address} | |
| SaversApi | savers | GET /thorchain/pool/{asset}/savers | |
| SecuredAssetApi | secured_asset | GET /thorchain/securedasset/{asset} | |
| SecuredAssetsApi | secured_assets | GET /thorchain/securedassets | |
| SmartContractsApi | contract_info | GET /thorchain/contract/{address} | |
| SmartContractsApi | contract_infos | GET /thorchain/contracts | |
| StreamingSwapApi | stream_swap | GET /thorchain/swap/streaming/{hash} | |
| StreamingSwapApi | stream_swaps | GET /thorchain/swaps/streaming | |
| SupplyApi | supply | GET /thorchain/supply | |
| SupplyApi | supply_cmc | GET /thorchain/supply/cmc | |
| SwapApi | swap_details | GET /thorchain/queue/swap/details/{tx_id} | |
| TCYClaimersApi | tcy_claimer | GET /thorchain/tcy_claimer/{address} | |
| TCYClaimersApi | tcy_claimers | GET /thorchain/tcy_claimers | |
| TCYStakersApi | tcy_staker | GET /thorchain/tcy_staker/{address} | |
| TCYStakersApi | tcy_stakers | GET /thorchain/tcy_stakers | |
| TSSApi | keygen_pubkey | GET /thorchain/keygen/{height}/{pubkey} | |
| TSSApi | keysign | GET /thorchain/keysign/{height} | |
| TSSApi | keysign_pubkey | GET /thorchain/keysign/{height}/{pubkey} | |
| TSSApi | metrics | GET /thorchain/metrics | |
| TSSApi | metrics_keygen | GET /thorchain/metric/keygen/{pubkey} | |
| ThornamesApi | thorname | GET /thorchain/thorname/{name} | |
| TradeAccountApi | trade_account | GET /thorchain/trade/account/{address} | |
| TradeAccountsApi | trade_accounts | GET /thorchain/trade/accounts/{asset} | |
| TradeUnitApi | trade_unit | GET /thorchain/trade/unit/{asset} | |
| TradeUnitsApi | trade_units | GET /thorchain/trade/units | |
| TransactionsApi | tx | GET /thorchain/tx/{hash} | |
| TransactionsApi | tx_signers | GET /thorchain/tx/details/{hash} | |
| TransactionsApi | tx_signers_old | GET /thorchain/tx/{hash}/signers | |
| TransactionsApi | tx_stages | GET /thorchain/tx/stages/{hash} | |
| TransactionsApi | tx_status | GET /thorchain/tx/status/{hash} | |
| VaultsApi | asgard | GET /thorchain/vaults/asgard | |
| VaultsApi | vault | GET /thorchain/vault/{pubkey} | |
| VaultsApi | vault_pubkeys | GET /thorchain/vaults/pubkeys | |
| VaultsApi | vault_solvency | GET /thorchain/vaults/solvency | |
| VaultsApi | yggdrasil | GET /thorchain/vaults/yggdrasil |
Documentation For Models
- Account
- AccountResponse
- AccountResponseResult
- Amount
- AssetPairSummary
- BalancesResponse
- BanResponse
- BaseQuoteResponse
- BlockResponse
- BlockResponseHeader
- BlockResponseHeaderVersion
- BlockResponseId
- BlockResponseIdParts
- BlockTx
- BlockTxResult
- ChainHeight
- Code
- CodesResponse
- Coin
- ConstantsResponse
- ContractInfo
- ContractInfoResponse
- ContractInfosResponse
- DerivedPool
- DerivedPoolResponse
- DerivedPoolsResponse
- ExportResponse
- InboundAddress
- InboundAddressesResponse
- InboundConfirmationCountedStage
- InboundFinalisedStage
- InboundObservedStage
- InlineResponse200
- InvariantResponse
- InvariantsResponse
- Keygen
- KeygenBlock
- KeygenMetric
- KeygenMetricsResponse
- KeygenResponse
- KeysignInfo
- KeysignMetrics
- KeysignResponse
- LastBlock
- LastBlockResponse
- LimitSwapWithDetails
- LimitSwapsResponse
- LimitSwapsSummaryResponse
- LiquidityProvider
- LiquidityProviderResponse
- LiquidityProviderSummary
- LiquidityProvidersResponse
- LockedSupply
- MetricsResponse
- MimirNodesResponse
- MimirResponse
- MimirVote
- MsgSwap
- NetworkResponse
- Node
- NodeBondProvider
- NodeBondProviders
- NodeJail
- NodeKeygenMetric
- NodePreflightStatus
- NodePubKeySet
- NodeResponse
- NodesResponse
- ObservedTx
- OraclePrice
- OraclePriceResponse
- OraclePricesResponse
- OutboundDelayStage
- OutboundFee
- OutboundFeesResponse
- OutboundResponse
- OutboundSignedStage
- POL
- PaginationMeta
- Ping
- PlannedOutTx
- Pool
- PoolResponse
- PoolSlipResponse
- PoolsResponse
- QueueResponse
- QuoteFees
- QuoteLimitResponse
- QuoteSaverDepositResponse
- QuoteSaverWithdrawResponse
- QuoteSwapResponse
- RUNEPoolResponse
- RUNEPoolResponseProviders
- RUNEPoolResponseReserve
- RUNEProvider
- RUNEProviderResponse
- RUNEProvidersResponse
- ReferenceMemoPreflightResponse
- ReferenceMemoResponse
- Saver
- SaverResponse
- SaversResponse
- ScheduledResponse
- SecuredAssetResponse
- SecuredAssetsResponse
- StreamingStatus
- StreamingSwap
- StreamingSwapResponse
- StreamingSwapsResponse
- SupplyResponse
- SwapDetailsResponse
- SwapFinalisedStage
- SwapQueueResponse
- SwapState
- SwapStatus
- SwapperCloutResponse
- TCYClaimer
- TCYClaimerResponse
- TCYClaimerSummary
- TCYClaimersResponse
- TCYStaker
- TCYStakerResponse
- TCYStakerSummary
- TCYStakersResponse
- Thorname
- ThornameAlias
- ThornameResponse
- TradeAccountResponse
- TradeAccountsResponse
- TradeUnitResponse
- TradeUnitsResponse
- TssKeysignMetric
- TssMetric
- Tx
- TxDetailsResponse
- TxOutItem
- TxResponse
- TxSignersResponse
- TxStagesResponse
- TxStatusResponse
- UpgradeProposal
- UpgradeProposalResponse
- UpgradeProposalsResponse
- UpgradeVote
- UpgradeVotesResponse
- Vault
- VaultAddress
- VaultInfo
- VaultPubkeysResponse
- VaultResponse
- VaultRouter
- VaultSolvencyAsset
- VaultSolvencyResponse
- VaultsResponse
- VersionResponse
- YggdrasilVault
- YggdrasilVaultsResponse
Documentation For Authorization
All endpoints do not require authorization.
Author
Metadata
Release files for xchainpy2-thornode 3.17.0
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_thornode-3.17.0.tar.gz | 123.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xchainpy2_thornode-3.17.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 566.3 kB
Release files / xchainpy2_thornode-3.17.0.tar.gz
| Download URL | xchainpy2_thornode-3.17.0.tar.gz |
|---|---|
| Size | 123.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92b7b6c01e891d98b5ec196ea4ab257171e51d62cc9150a1e6a5179a0ce0ca21
|
|
BLAKE2b-256 checksum How to use checksums |
23034281b395e88a46693fd2f754453c25c830fa7e7f38364710af909d9872eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Release files / xchainpy2_thornode-3.17.0-py3-none-any.whl
| Download URL | xchainpy2_thornode-3.17.0-py3-none-any.whl |
|---|---|
| Size | 442.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6172629b955e7c9fbcea7659d7a7167bd2f1859a3bb24aa6748140a526bdc919
|
|
BLAKE2b-256 checksum How to use checksums |
3ad40512a974d042660a160518c773e4dbbb32593c576729b2df166b1b935a87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|