Asset details
get_assetEverything needed to build a swap for one asset: the canonical id, the legacy ticker used in website links, decimals, whether a memo is required and what the receiving side calls it, the address format, the token contract and the warnings to relay to the user. Minimum and maximum amounts are not here because they belong to the pair, not to the asset: get them from quote_swap.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"asset": "<asset>"
},
"name": "get_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Canonical id "usdt.trx". A legacy ticker "usdttrc20" or a page slug "tether-trc20" is also accepted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| memo | Yes | ||
| name | Yes | ||
| slug | Yes | ||
| asset | Yes | ||
| ticker | Yes | ||
| network | Yes | ||
| decimals | Yes | ||
| memo_name | Yes | ||
| price_usd | Yes | ||
| fixed_rate | Yes | ||
| memo_regex | Yes | ||
| warning_send | Yes | ||
| address_regex | Yes | ||
| token_contract | Yes | ||
| explorer_tx_url | Yes | ||
| warning_receive | Yes | ||
| explorer_address_url | Yes |