Add a new token to the monitored token list.
The list of tokens to add to the monitored tokens list. When fetching wallet balances, only these tokens will be shown by default.
1from circle.web3 import configurations
2from circle.web3 import utils
3
4client = utils.init_configurations_client(api_key=key)
5api_instance = configurations.MonitorTokensApi(client)
6
7request = configurations.CreateMonitoredTokensRequest.from_dict({
8 "tokenIds": ["979869da-9115-5f7d-917d-12d434e56ae7"],
9})
10response = api_instance.create_monitored_tokens(create_monitored_tokens_request=request)
11print(response.json())
12
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 "is_native": false,
12 "symbol": "",
13 "token_address": "0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350",
14 "update_date": "2023-01-01T12:04:05Z",
15 "create_date": "2023-01-01T12:04:05Z"
16 }
17 ]
18 }
19}