Skip to content

TokenIdentifier

Source code in docs_src/capo_managedblockchain_query/types/token_identifier.py
class TokenIdentifier(TypedDict, closed=True):
    network: "capo_managedblockchain_query.types.query_network.QueryNetwork"
    """<p>The blockchain network of the token.</p>"""
    contract_address: NotRequired[
        "capo_managedblockchain_query.types.chain_address.ChainAddress"
    ]
    """<p>This is the token's contract address.</p>"""
    token_id: NotRequired[
        "capo_managedblockchain_query.types.query_token_id.QueryTokenId"
    ]
    """<p>The unique identifier of the token.</p> <note> <p>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 <code>tokenId</code> in the 64 character hexadecimal <code>tokenid</code> format.</p> </note>"""

contract_address instance-attribute

contract_address: NotRequired[ChainAddress]

This is the token's contract address.

network instance-attribute

network: QueryNetwork

The blockchain network of the token.

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.