Get Symbol By Asset
obyte_get_symbol_by_assetResolve an Obyte asset ID to its token symbol via the selected registry, handling base/null as GBYTE and falling back to sanitized characters for unknown assets, with mainnet/testnet support.
Instructions
Resolves an Obyte asset id to a token symbol through the selected registry. base/null maps to GBYTE; unknown assets fall back to the first sanitized asset characters as in obyte.js.
Network: this server serves both Obyte networks at once. Pass "network":"mainnet" or "network":"testnet" to choose; when omitted it defaults to mainnet. If the user has not made the network explicit, confirm which network they mean before calling.
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": "obyte_get_symbol_by_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | ||
| network | No | ||
| token_registry_address | No |