detect_token_standard
Detect token standard of a contract: ERC-20, ERC-721, or ERC-1155 via ERC-165 supportsInterface and ERC-20 fallback.
Instructions
Detect whether a contract is ERC-20, ERC-721, or ERC-1155, using ERC-165 supportsInterface with an ERC-20 fallback.
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": {
"contract": "<contract>"
},
"name": "detect_token_standard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract | Yes |