Edit the monitored token list.
Represents the input to update monitored tokens.
The list of tokens that will be added to the monitored tokens list. When fetching wallet balances, these tokens will be shown by default.
1const response = await client.updateMonitoredTokens({
2 tokenIds: ['4fdb0a55-cb17-4db5-b5a7-2cca2b26dfd6'],
3})
4console.log(response)
1{
2 "data": {
3 "scope": "SELECTED",
4 "tokens": [
5 {
6 "id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
7 "name": "",
8 "standard": "ERC20",
9 "blockchain": "MATIC-AMOY",
10 "decimals": 0,
11 "isNative": false,
12 "symbol": "",
13 "tokenAddress": "0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350",
14 "updateDate": "2023-01-01T12:04:05Z",
15 "createDate": "2023-01-01T12:04:05Z"
16 }
17 ]
18 }
19}