getTokenMetadata
Parameters
contractAddress
:(string)
REQUIRED - The token contract address
Returns
contractAddress
:<string>
- The token contract addresscontractDecimals
:<string>
- Token decimals specified in the contractcontractName
:<string>
- The name of the tokencontractSymbols
:<string>
- The name of the token
Example Request and Result for getTokenMetadata
Request
curl --location 'https://eth-mainnet.blastapi.io/<project-id>/builder/getTokenMetadata?contractAddress=0x013062189dc3dcc99e9Cee714c513033b8d99e3c'
Result
{
"contractAddress": "0x013062189dc3dcc99e9cee714c513033b8d99e3c",
"contractDecimals": "18",
"contractName": "Bware",
"contractSymbol": "INFRA"
}