Skip to content

/AWS1/CL_BDCTOKENBALANCE

A single token balance entry.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_amount TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

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

iv_decimals TYPE /AWS1/BDCINTEGER /AWS1/BDCINTEGER

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

iv_token TYPE /AWS1/BDCINSTRMBALANCETOKEN /AWS1/BDCINSTRMBALANCETOKEN

The supported token for this balance.

iv_network TYPE /AWS1/BDCCRYPTOWALLETNETWORK /AWS1/BDCCRYPTOWALLETNETWORK

The blockchain network family (ETHEREUM or SOLANA).

iv_chain TYPE /AWS1/BDCBLOCKCHAINCHAINID /AWS1/BDCBLOCKCHAINCHAINID

The specific blockchain chain.


Queryable Attributes

amount

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

Accessible with the following methods

Method Description
GET_AMOUNT() Getter for AMOUNT, with configurable default
ASK_AMOUNT() Getter for AMOUNT w/ exceptions if field has no value
HAS_AMOUNT() Determine if AMOUNT has a value

decimals

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

Accessible with the following methods

Method Description
GET_DECIMALS() Getter for DECIMALS, with configurable default
ASK_DECIMALS() Getter for DECIMALS w/ exceptions if field has no value
HAS_DECIMALS() Determine if DECIMALS has a value

token

The supported token for this balance.

Accessible with the following methods

Method Description
GET_TOKEN() Getter for TOKEN, with configurable default
ASK_TOKEN() Getter for TOKEN w/ exceptions if field has no value
HAS_TOKEN() Determine if TOKEN has a value

network

The blockchain network family (ETHEREUM or SOLANA).

Accessible with the following methods

Method Description
GET_NETWORK() Getter for NETWORK, with configurable default
ASK_NETWORK() Getter for NETWORK w/ exceptions if field has no value
HAS_NETWORK() Determine if NETWORK has a value

chain

The specific blockchain chain.

Accessible with the following methods

Method Description
GET_CHAIN() Getter for CHAIN, with configurable default
ASK_CHAIN() Getter for CHAIN w/ exceptions if field has no value
HAS_CHAIN() Determine if CHAIN has a value