thorchain_rs 2.137.3

Thornode REST API.
Documentation
# \TradeAccountsApi

All URIs are relative to *http://localhost*

Method | HTTP request | Description
------------- | ------------- | -------------
[**trade_accounts**]TradeAccountsApi.md#trade_accounts | **GET** /thorchain/trade/accounts/{asset} | 



## trade_accounts

> Vec<crate::models::TradeAccountResponse> trade_accounts(asset, height)


Returns all trade accounts for an asset

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**asset** | **String** |  | [required] |
**height** | Option<**i64**> | optional block height, defaults to current tip |  |

### Return type

[**Vec<crate::models::TradeAccountResponse>**](TradeAccountResponse.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)