With the Token API, you can easily request information on specific tokens such as metadata or balances. Alchemy currently supports the following endpoints:
alchemy_getTokenAllowance: Returns the amount which the spender is allowed to withdraw from the owner.
alchemy_getTokenBalances: Returns token balances for a specific address given a list of contracts.
alchemy_getTokenMetadata: Returns metadata (name, symbol, decimals, logo) for a given token contract address.
Want to get started with code but not sure how to? Take a look at our Quickstart Guide.
Unless otherwise specified, Alchemy methods will return decoded values in their responses (e.g., for token decimals, 18 will be returned instead of "0x12"). We plan to eventually normalize all methods in our enhanced API to return decoded values.