Skip to content

Bedrock AgentCore  >  Structures  >  TokenBalance

TokenBalance

Structure Class

TokenBalance dataclass

A single token balance entry.

Attributes

amount instance-attribute
amount: str

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

chain instance-attribute
chain: str

The specific blockchain chain.

decimals instance-attribute
decimals: int

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

network instance-attribute
network: str

The blockchain network family (ETHEREUM or SOLANA).

token instance-attribute
token: str

The supported token for this balance.