Skip to content

TokenBalance

Source code in docs_src/capo_managedblockchain_query/types/token_balance.py
class TokenBalance(TypedDict, closed=True):
    owner_identifier: NotRequired[
        "capo_managedblockchain_query.types.owner_identifier.OwnerIdentifier"
    ]
    """<p>The container for the identifier of the owner.</p>"""
    token_identifier: NotRequired[
        "capo_managedblockchain_query.types.token_identifier.TokenIdentifier"
    ]
    """<p>The identifier for the token, including the unique token ID and its blockchain network.</p>"""
    balance: "str"
    """<p>The container of the token balance.</p>"""
    at_blockchain_instant: (
        "capo_managedblockchain_query.types.blockchain_instant.BlockchainInstant"
    )
    """<p>The time for when the TokenBalance is requested or the current time if a time is not provided in the request.</p> <note> <p>This time will only be recorded up to the second.</p> </note>"""
    last_updated_time: NotRequired[
        "capo_managedblockchain_query.types.blockchain_instant.BlockchainInstant"
    ]
    """<p>The <code>Timestamp</code> of the last transaction at which the balance for the token in the wallet was updated.</p>"""

at_blockchain_instant instance-attribute

at_blockchain_instant: BlockchainInstant

The time for when the TokenBalance is requested or the current time if a time is not provided in the request.

This time will only be recorded up to the second.

balance instance-attribute

balance: str

The container of the token balance.

last_updated_time instance-attribute

last_updated_time: NotRequired[BlockchainInstant]

The Timestamp of the last transaction at which the balance for the token in the wallet was updated.

owner_identifier instance-attribute

owner_identifier: NotRequired[OwnerIdentifier]

The container for the identifier of the owner.

token_identifier instance-attribute

token_identifier: NotRequired[TokenIdentifier]

The identifier for the token, including the unique token ID and its blockchain network.