getToken
Returns the information of a given ERC-20 token.
Usage
_10import { apiKit } from './setup.ts'_10_10const tokenAddress = '0x...'_10_10const token = await apiKit.getToken(tokenAddress)
Returns
Promise<TokenInfoResponse>
The information of the given ERC-20 token.
Parameters
tokenAddress
- Type:
string
The ERC-20 token address.
_10const token = await apiKit.getToken(_10 '0x...'_10)