/AWS1/CL_MBQTOKENIDENTIFIER¶
The container for the identifier for the token including the unique token ID and its blockchain network.
Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_network TYPE /AWS1/MBQQUERYNETWORK /AWS1/MBQQUERYNETWORK¶
The blockchain network of the token.
Optional arguments:¶
iv_contractaddress TYPE /AWS1/MBQCHAINADDRESS /AWS1/MBQCHAINADDRESS¶
This is the token's contract address.
iv_tokenid TYPE /AWS1/MBQQUERYTOKENID /AWS1/MBQQUERYTOKENID¶
The unique identifier of the token.
For native tokens, use the 3 character abbreviation that best matches your token. For example, btc for Bitcoin, eth for Ether, etc. For all other token types you must specify the
tokenIdin the 64 character hexadecimaltokenidformat.
Queryable Attributes¶
network¶
The blockchain network of the token.
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 |
contractAddress¶
This is the token's contract address.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONTRACTADDRESS() |
Getter for CONTRACTADDRESS, with configurable default |
ASK_CONTRACTADDRESS() |
Getter for CONTRACTADDRESS w/ exceptions if field has no val |
HAS_CONTRACTADDRESS() |
Determine if CONTRACTADDRESS has a value |
tokenId¶
The unique identifier of the token.
For native tokens, use the 3 character abbreviation that best matches your token. For example, btc for Bitcoin, eth for Ether, etc. For all other token types you must specify the
tokenIdin the 64 character hexadecimaltokenidformat.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TOKENID() |
Getter for TOKENID, with configurable default |
ASK_TOKENID() |
Getter for TOKENID w/ exceptions if field has no value |
HAS_TOKENID() |
Determine if TOKENID has a value |