Get Token Contract Metadata by Contracts
POST
Retrieves metadata for specific ERC20 contracts. Multiple contracts can be queried, up to a maximum of 100 contracts.
Path Parameters
chainstringrequired
Parameter specifying the target chain to query.networkstringrequired
Parameter specifying the network of the target chain.Request Body
contractAddressesarrayrequired
Parameter specifying the array of contract addresses to query. Contract addresses use a 34-character base58 string format starting with "T".Responses
addressstringrequired
Returns the contract address. This address serves as a unique identifier for the contract within the blockchain network where it is deployed.deployedTransactionHashstringrequired
Returns the hash of the transaction generated when the contract was deployed.deployedAtstringrequired
Returns the exact time when the contract was deployed. Displayed in ISO 8601 date and time format.deployerAddressstringrequired
Returns the address that deployed the contract. This address represents the entity or account that created and deployed the contract to the network.logoUrlstringrequired
Returns the URL of the logo or image associated with the contract. This URL can be used to visually identify the contract. <strong style='color: red;'>*</strong> Logo images are not provided for all contracts.typestringrequired
Returns the contract type. The contract type is specified by the name of the standard specification (e.g., TRC20).namestringrequired
Represents the name of the contract. Returns an empty string if the contract does not follow the standard or if name was not provided during contract creation.symbolstringrequired
Represents the symbol of the contract. Returns an empty string if the contract does not follow the standard or if symbol was not provided during contract creation.totalSupplystringrequired
Represents the total supply of the contract. This value indicates the total token issuance and is displayed as a decimal string.decimalsintegerrequired
Represents the number of decimal places for the token.codestringrequired
Code identifying the cause of the failed request.messagestringrequired
Detailed message including the name and value of the invalid parameter.{"code": "MISSING_REQUIRED_PARAMETER","message": "Missing required parameter: { PARAMETER_NAME }"}
cURL
curl -X POST 'https://web3.nodit.io/v1/tron/mainnet/token/getTokenContractMetadataByContracts' \-H 'Content-Type: application/json' \-H 'X-API-KEY: nodit-demo' \-d '{"contractAddresses": ["TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t","TLZSucJRjnqBKwvQz6n5hd29gbS4P7u7w8"]}'