# \NetworkApi All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- [**ban**](NetworkApi.md#ban) | **GET** /thorchain/ban/{address} | [**constants**](NetworkApi.md#constants) | **GET** /thorchain/constants | [**inbound_addresses**](NetworkApi.md#inbound_addresses) | **GET** /thorchain/inbound_addresses | [**lastblock**](NetworkApi.md#lastblock) | **GET** /thorchain/lastblock | [**lastblock_chain**](NetworkApi.md#lastblock_chain) | **GET** /thorchain/lastblock/{chain} | [**network**](NetworkApi.md#network) | **GET** /thorchain/network | [**outbound_fee_asset**](NetworkApi.md#outbound_fee_asset) | **GET** /thorchain/outbound_fee/{asset} | [**outbound_fees**](NetworkApi.md#outbound_fees) | **GET** /thorchain/outbound_fees | [**ragnarok**](NetworkApi.md#ragnarok) | **GET** /thorchain/ragnarok | [**upgrade_proposal**](NetworkApi.md#upgrade_proposal) | **GET** /thorchain/upgrade_proposal/{name} | [**upgrade_proposals**](NetworkApi.md#upgrade_proposals) | **GET** /thorchain/upgrade_proposals | [**upgrade_votes**](NetworkApi.md#upgrade_votes) | **GET** /thorchain/upgrade_votes/{name} | [**version**](NetworkApi.md#version) | **GET** /thorchain/version | ## ban > crate::models::BanResponse ban(address, height) Returns the ban status for the provided node address. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **address** | **String** | | [required] | **height** | Option<**i64**> | optional block height, defaults to current tip | | ### Return type [**crate::models::BanResponse**](BanResponse.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## constants > crate::models::ConstantsResponse constants(height) Returns constant configuration, can be overridden by mimir. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **height** | Option<**i64**> | optional block height, defaults to current tip | | ### Return type [**crate::models::ConstantsResponse**](ConstantsResponse.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## inbound_addresses > Vec inbound_addresses(height) Returns the set of asgard addresses that should be used for inbound transactions. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **height** | Option<**i64**> | optional block height, defaults to current tip | | ### Return type [**Vec**](InboundAddress.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## lastblock > Vec lastblock(height) Returns the last block information for all chains. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **height** | Option<**i64**> | optional block height, defaults to current tip | | ### Return type [**Vec**](LastBlock.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## lastblock_chain > Vec lastblock_chain(chain, height) Returns the last block information for the provided chain. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **chain** | **String** | | [required] | **height** | Option<**i64**> | optional block height, defaults to current tip | | ### Return type [**Vec**](LastBlock.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## network > crate::models::NetworkResponse network(height) Returns network overview statistics. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **height** | Option<**i64**> | optional block height, defaults to current tip | | ### Return type [**crate::models::NetworkResponse**](NetworkResponse.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## outbound_fee_asset > Vec outbound_fee_asset(asset, height) Returns the outbound fee information for the provided asset. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **asset** | **String** | | [required] | **height** | Option<**i64**> | optional block height, defaults to current tip | | ### Return type [**Vec**](OutboundFee.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## outbound_fees > Vec outbound_fees(height) Returns the last block information for all chains. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **height** | Option<**i64**> | optional block height, defaults to current tip | | ### Return type [**Vec**](OutboundFee.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## ragnarok > bool ragnarok(height) Returns a boolean indicating whether the chain is in ragnarok. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **height** | Option<**i64**> | optional block height, defaults to current tip | | ### Return type **bool** ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## upgrade_proposal > crate::models::UpgradeProposal upgrade_proposal(name, height) Returns the upgrade proposal for the provided name. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **name** | **String** | | [required] | **height** | Option<**i64**> | optional block height, defaults to current tip | | ### Return type [**crate::models::UpgradeProposal**](UpgradeProposal.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## upgrade_proposals > Vec upgrade_proposals(height) Returns the current upgrade proposals. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **height** | Option<**i64**> | optional block height, defaults to current tip | | ### Return type [**Vec**](UpgradeProposal.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## upgrade_votes > Vec upgrade_votes(name, height) Returns the upgrade votes for the provided name. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **name** | **String** | | [required] | **height** | Option<**i64**> | optional block height, defaults to current tip | | ### Return type [**Vec**](UpgradeVote.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## version > crate::models::VersionResponse version(height) Returns the network's current THORNode version, the network's next THORNode version, and the querier's THORNode version. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **height** | Option<**i64**> | optional block height, defaults to current tip | | ### Return type [**crate::models::VersionResponse**](VersionResponse.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)