API Kit Reference
getToken

getToken

Returns the information of a given ERC-20 token.

Usage


_10
import { apiKit } from './setup.ts'
_10
_10
const tokenAddress = '0x...'
_10
_10
const 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.


_10
const token = await apiKit.getToken(
_10
'0x...'
_10
)

Was this page helpful?