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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract | Yes |