Package: xchainpy2-thornode
xchainpy2-thornodeThornode REST API.This Python package is automatically generated by theSwagger Codegenproject:API version: 1.125.0Package version: 1.125.0Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegenRequirements.Python 2.7 and 3.4+Installation & Usagepip installIf the python package is hosted on Github, you can install directly from Githubpipinstallgit+https://github.com/GIT_USER_ID/GIT_REPO_ID.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)Then import the package:importxchainpy2_thornodeSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importxchainpy2_thornodeGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportxchainpy2_thornodefromxchainpy2_thornode.restimportApiExceptionfrompprintimportpprint# create an instance of the API classapi_instance=xchainpy2_thornode.BlockApi(xchainpy2_thornode.ApiClient(configuration))height=789# int | optional block height, defaults to current tip (optional)try:api_response=api_instance.block(height=height)pprint(api_response)exceptApiExceptionase:print("Exception when calling BlockApi->block:%s\n"%e)Documentation for API EndpointsAll URIs are relative to/ClassMethodHTTP requestDescriptionBlockApiblockGET/thorchain/blockBorrowersApiborrowerGET/thorchain/pool/{asset}/borrower/{address}BorrowersApiborrowersGET/thorchain/pool/{asset}/borrowersCloutApiswapper_cloutGET/thorchain/clout/swap/{address}HealthApipingGET/thorchain/pingInvariantsApiinvariantGET/thorchain/invariant/{invariant}InvariantsApiinvariantsGET/thorchain/invariantsLiquidityProvidersApiliquidity_providerGET/thorchain/pool/{asset}/liquidity_provider/{address}LiquidityProvidersApiliquidity_providersGET/thorchain/pool/{asset}/liquidity_providersMimirApimimirGET/thorchain/mimirMimirApimimir_adminGET/thorchain/mimir/adminMimirApimimir_keyGET/thorchain/mimir/key/{key}MimirApimimir_nodeGET/thorchain/mimir/node/{address}MimirApimimir_nodesGET/thorchain/mimir/nodes_allMimirApimimir_v2GET/thorchain/mimirV2MimirApimimir_v2_idsGET/thorchain/mimirV2/idsNetworkApibanGET/thorchain/ban/{address}NetworkApiconstantsGET/thorchain/constantsNetworkApiinbound_addressesGET/thorchain/inbound_addressesNetworkApilastblockGET/thorchain/lastblockNetworkApilastblock_chainGET/thorchain/lastblock/{chain}NetworkApinetworkGET/thorchain/networkNetworkApiragnarokGET/thorchain/ragnarokNetworkApiversionGET/thorchain/versionNodesApinodeGET/thorchain/node/{address}NodesApinodesGET/thorchain/nodesPOLApipolGET/thorchain/polPoolsApidpoolGET/thorchain/dpool/{asset}PoolsApidpoolsGET/thorchain/dpoolsPoolsApipoolGET/thorchain/pool/{asset}PoolsApipoolsGET/thorchain/poolsQueueApiqueueGET/thorchain/queueQueueApiqueue_outboundGET/thorchain/queue/outboundQueueApiqueue_scheduledGET/thorchain/queue/scheduledQueueApiqueue_swapGET/thorchain/queue/swapQuoteApiquoteloancloseGET/thorchain/quote/loan/closeQuoteApiquoteloanopenGET/thorchain/quote/loan/openQuoteApiquotesaverdepositGET/thorchain/quote/saver/depositQuoteApiquotesaverwithdrawGET/thorchain/quote/saver/withdrawQuoteApiquoteswapGET/thorchain/quote/swapSaversApisaverGET/thorchain/pool/{asset}/saver/{address}SaversApisaversGET/thorchain/pool/{asset}/saversStreamingSwapApistream_swapGET/thorchain/swap/streaming/{hash}StreamingSwapApistream_swapsGET/thorchain/swaps/streamingTSSApikeysignGET/thorchain/keysign/{height}TSSApikeysign_pubkeyGET/thorchain/keysign/{height}/{pubkey}TSSApimetricsGET/thorchain/metricsTSSApimetrics_keygenGET/thorchain/metric/keygen/{pubkey}ThornamesApithornameGET/thorchain/thorname/{name}TransactionsApitxGET/thorchain/tx/{hash}TransactionsApitx_signersGET/thorchain/tx/details/{hash}TransactionsApitx_signers_oldGET/thorchain/tx/{hash}/signersTransactionsApitx_stagesGET/thorchain/tx/stages/{hash}TransactionsApitx_statusGET/thorchain/tx/status/{hash}VaultsApiasgardGET/thorchain/vaults/asgardVaultsApivaultGET/thorchain/vault/{pubkey}VaultsApivault_pubkeysGET/thorchain/vaults/pubkeysVaultsApiyggdrasilGET/thorchain/vaults/yggdrasilDocumentation For ModelsBanResponseBaseQuoteResponseBlockResponseBlockResponseHeaderBlockResponseHeaderVersionBlockResponseIdBlockResponseIdPartsBlockTxBlockTxResultBorrowerBorrowerResponseBorrowersResponseChainHeightCoinConstantsResponseDerivedPoolDerivedPoolResponseDerivedPoolsResponseInboundAddressInboundAddressesResponseInvariantResponseInvariantsResponseKeygenMetricKeygenMetricsResponseKeysignInfoKeysignMetricsKeysignResponseLastBlockLastBlockResponseLiquidityProviderLiquidityProviderResponseLiquidityProviderSummaryLiquidityProvidersResponseMetricsResponseMimirNodesResponseMimirResponseMimirV2IDsResponseMimirVoteMsgSwapNetworkResponseNodeNodeBondProviderNodeBondProvidersNodeJailNodeKeygenMetricNodePreflightStatusNodePubKeySetNodeResponseNodesResponseObservedTxOutboundResponsePOLResponsePingPoolPoolResponsePoolsResponseQueueResponseQuoteFeesQuoteLoanCloseResponseQuoteLoanOpenResponseQuoteSaverDepositResponseQuoteSaverWithdrawResponseQuoteSwapResponseSaverSaverResponseSaversResponseScheduledResponseStreamingSwapStreamingSwapResponseStreamingSwapsResponseSwapQueueResponseSwapperCloutResponseThornameThornameAliasThornameResponseTssKeysignMetricTssMetricTxTxDetailsResponseTxOutItemTxResponseTxSignersResponseTxStagesResponseTxStagesResponseInboundConfirmationCountedTxStagesResponseInboundFinalisedTxStagesResponseInboundObservedTxStagesResponseOutboundDelayTxStagesResponseOutboundSignedTxStagesResponseSwapFinalisedTxStagesResponseSwapStatusTxStagesResponseSwapStatusStreamingTxStatusResponseTxStatusResponsePlannedOutTxsVaultVaultAddressVaultInfoVaultPubkeysResponseVaultResponseVaultRouterVaultsResponseVersionResponseDocumentation For AuthorizationAll endpoints do not require authorization.Authordevs@thorchain.org