Skip to main content

getTokenMetadata

Parameters

  • contractAddress :(string) REQUIRED - The token contract address

Returns

  • contractAddress: <string> - The token contract address
  • contractDecimals : <string> - Token decimals specified in the contract
  • contractName: <string> - The name of the token
  • contractSymbols: <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"
}