Fetches details of a specific token given its unique identifier.
Every token in your network of wallets has a UUID associated with it, regardless of whether it's already recognized or was added as a monitored token.
Represents the input parameters for retrieving a token.
The ID of the token to retrieve.
1const response = await client.getToken({
2 id: 'uuid-token-id',
3})
4console.log(response.data?.token)
1{
2 "data": {
3 "token": {
4 "id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
5 "name": "",
6 "standard": "ERC20",
7 "blockchain": "MATIC-AMOY",
8 "decimals": 0,
9 "isNative": false,
10 "symbol": "",
11 "tokenAddress": "0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350",
12 "updateDate": "2023-01-01T12:04:05Z",
13 "createDate": "2023-01-01T12:04:05Z"
14 }
15 }
16}