Validate a wallet address
validate_addressCheck that an address is valid for the network of an asset before creating a swap (checksums included). Returns the canonical form.
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": {
"assetId": "<assetId>",
"address": "<address>"
},
"name": "validate_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Address to check. | |
| assetId | Yes | Asset the address will receive, e.g. "tron-usdt". Determines the network. |