Skip to main content

Get token by contract address.

GET 

/:network/tokens/single

Get token by contract address.

Request

Path Parameters

    network stringrequired

    Blockchain network name or chain id

Query Parameters

    token_address stringrequired

    The unique identifier (contract address) of the token in hexadecimal format.

    projectId stringrequired

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

Responses

The token details.

Schema

    network_name stringrequired

    Blockchain network name For the requested query

    chain_id numberrequired

    The chain ID of the network.

    token_address stringrequired

    The contract address of the token.

    block_height numberrequired

    The block number at which the token was created.

    token_type stringrequired

    The type of the token (erc20, erc777, etc.).

    name stringrequired

    The name of the token.

    symbol stringrequired

    The symbol of the token.

    decimals number

    The number of decimals for an ERC20 token (optional).

    granularity string

    The granularity of an ERC777 token (optional).

Loading...