Jump to
Ctrl
+
/

Get Token Details by Contract Address

GET
/blockchain-data/{blockchain}/{network}/addresses/{contractAddress}/contract

Though this endpoint customers can obtain information about token details. This can be done by providing the contact address parameter.

This address is not the same as the smart contract creator address.

Path Parameters

blockchain string Required

Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.

network string Required

Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "sepolia" are test networks.

contractAddress string Required

Defines the specific address of the contract.

Query Parameters

context string Optional

In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

Response Schema

apiVersion string Required

Specifies the version of the API that incorporates this endpoint.

2021-03-20
requestId string Required

Defines the ID of the request. The requestId is generated by Crypto APIs and it's unique for every request.

601c1710034ed6d407996b30
context string Optional

In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

yourExampleString
data object Required
item object Required
tokenDecimals string Required

Defines the number of decimals that the token possesses.

18
tokenName string Optional

Specifies the token's name.

Band Protocol
tokenSymbol string Optional

Defines the unique symbol of the token.

BAND
tokenType string Required

Defines the type of the token.

ERC-20
totalSupply string Required

Defines the total number of tokens created that exist on the market minus the ones that have been burned.

1000000

Credits Cost : 1000 Credits for 1 Results

Was this page helpful?
Yes
No
Language
URL

{
    "apiVersion": "2021-03-20",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "tokenDecimals": "18",
            "tokenName": "Band Protocol",
            "tokenSymbol": "BAND",
            "tokenType": "ERC-20",
            "totalSupply": "1000000"
        }
    }
}