alchemy_getTokenMetadata

Returns metadata for a given token contract (name, symbol, decimals, logo).

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
contractAddressstringRequiredformat: "^0x[0-9a-fA-F]{40}$"

A single 20-byte token contract address.

Response

Object with name, symbol, decimals, and an optional logo URL.
namestring or null
Token's name, or null if not found.
symbolstring or null
Token's symbol, or null if not found.
decimalsdouble or null
Number of decimals the token uses, or null if not found.