Skip to content

TokenBalance

Source code in docs_src/capo_bedrock_agentcore/types/token_balance.py
class TokenBalance(TypedDict, closed=True):
    amount: "str"
    """<p>Raw balance in the smallest denomination (e.g., USDC base units where 1 USDC = 1000000).</p>"""
    decimals: "int"
    """<p>Number of decimal places for the token (e.g., 6 for USDC).</p>"""
    token: (
        "capo_bedrock_agentcore.types.instrument_balance_token.InstrumentBalanceToken"
    )
    """<p>The supported token for this balance.</p>"""
    network: "capo_bedrock_agentcore.types.crypto_wallet_network.CryptoWalletNetwork"
    """<p>The blockchain network family (ETHEREUM or SOLANA).</p>"""
    chain: "capo_bedrock_agentcore.types.blockchain_chain_id.BlockchainChainId"
    """<p>The specific blockchain chain.</p>"""

amount instance-attribute

amount: str

Raw balance in the smallest denomination (e.g., USDC base units where 1 USDC = 1000000).

chain instance-attribute

The specific blockchain chain.

decimals instance-attribute

decimals: int

Number of decimal places for the token (e.g., 6 for USDC).

network instance-attribute

The blockchain network family (ETHEREUM or SOLANA).

token instance-attribute

The supported token for this balance.