TokenIdentifier
¶
Used by
-
AsyncManagedBlockchainQueryClient Operationsget_token_balance -
ManagedBlockchainQueryClient Operationsget_token_balance
Source code in docs_src/capo_managedblockchain_query/types/token_identifier.py
contract_address
instance-attribute
¶
contract_address: NotRequired[ChainAddress]
This is the token's contract address.
token_id
instance-attribute
¶
token_id: NotRequired[QueryTokenId]
The unique identifier of the token.
For native tokens, use the 3 character abbreviation that best matches your token. For example, btc for Bitcoin, eth for Ether, etc. For all other token types you must specify the tokenId in the 64 character hexadecimal tokenid format.