Class: Aws::BedrockAgentCore::Types::TokenBalance

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb

Overview

A single token balance entry.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amount ⇒ String

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

Returns:

  • (String)


10761
10762
10763
10764
10765
10766
10767
10768
10769
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 10761

class TokenBalance < Struct.new(
  :amount,
  :decimals,
  :token,
  :network,
  :chain)
  SENSITIVE = []
  include Aws::Structure
end

#chain ⇒ String

The specific blockchain chain.

Returns:

  • (String)


10761
10762
10763
10764
10765
10766
10767
10768
10769
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 10761

class TokenBalance < Struct.new(
  :amount,
  :decimals,
  :token,
  :network,
  :chain)
  SENSITIVE = []
  include Aws::Structure
end

#decimals ⇒ Integer

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

Returns:

  • (Integer)


10761
10762
10763
10764
10765
10766
10767
10768
10769
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 10761

class TokenBalance < Struct.new(
  :amount,
  :decimals,
  :token,
  :network,
  :chain)
  SENSITIVE = []
  include Aws::Structure
end

#network ⇒ String

The blockchain network family (ETHEREUM or SOLANA).

Returns:

  • (String)


10761
10762
10763
10764
10765
10766
10767
10768
10769
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 10761

class TokenBalance < Struct.new(
  :amount,
  :decimals,
  :token,
  :network,
  :chain)
  SENSITIVE = []
  include Aws::Structure
end

#token ⇒ String

The supported token for this balance.

Returns:

  • (String)


10761
10762
10763
10764
10765
10766
10767
10768
10769
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 10761

class TokenBalance < Struct.new(
  :amount,
  :decimals,
  :token,
  :network,
  :chain)
  SENSITIVE = []
  include Aws::Structure
end