Skip to main content

Check if a contract implements a specific ERC standard

GET 

/:network/contract/is-of-type

Check if a contract implements a specific ERC standard

Request

Path Parameters

    network stringrequired

    Blockchain network name or chain id

Query Parameters

    token_address stringrequired

    The contract address of the token.

    token_type stringrequired

    Possible values: [erc20, erc721, erc777, erc1155]

    Check for token type (erc20, erc721, erc777, erc1155)

    projectId stringrequired

    The id of your project. Can be found in your Histori dashboard.

Responses

Contract type check completed successfully.

Schema

    network_name stringrequired

    The blockchain network name

    chain_id numberrequired

    The chain ID of the network.

    token_address stringrequired

    The contract address being checked

    type_checked stringrequired

    The ERC standard being checked (erc20, erc721, erc1155, erc777)

    is_of_type booleanrequired

    Whether the contract implements the specified ERC standard

Loading...