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

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.