# \NetworkApi
All URIs are relative to *http://localhost*
[**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
**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
**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<crate::models::InboundAddress> inbound_addresses(height)
Returns the set of asgard addresses that should be used for inbound transactions.
### Parameters
**height** | Option<**i64**> | optional block height, defaults to current tip | |
### Return type
[**Vec<crate::models::InboundAddress>**](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<crate::models::LastBlock> lastblock(height)
Returns the last block information for all chains.
### Parameters
**height** | Option<**i64**> | optional block height, defaults to current tip | |
### Return type
[**Vec<crate::models::LastBlock>**](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<crate::models::LastBlock> lastblock_chain(chain, height)
Returns the last block information for the provided chain.
### Parameters
**chain** | **String** | | [required] |
**height** | Option<**i64**> | optional block height, defaults to current tip | |
### Return type
[**Vec<crate::models::LastBlock>**](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
**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<crate::models::OutboundFee> outbound_fee_asset(asset, height)
Returns the outbound fee information for the provided asset.
### Parameters
**asset** | **String** | | [required] |
**height** | Option<**i64**> | optional block height, defaults to current tip | |
### Return type
[**Vec<crate::models::OutboundFee>**](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<crate::models::OutboundFee> outbound_fees(height)
Returns the last block information for all chains.
### Parameters
**height** | Option<**i64**> | optional block height, defaults to current tip | |
### Return type
[**Vec<crate::models::OutboundFee>**](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
**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** | **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<crate::models::UpgradeProposal> upgrade_proposals(height)
Returns the current upgrade proposals.
### Parameters
**height** | Option<**i64**> | optional block height, defaults to current tip | |
### Return type
[**Vec<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_votes
> Vec<crate::models::UpgradeVote> upgrade_votes(name, height)
Returns the upgrade votes for the provided name.
### Parameters
**name** | **String** | | [required] |
**height** | Option<**i64**> | optional block height, defaults to current tip | |
### Return type
[**Vec<crate::models::UpgradeVote>**](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
**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)