Class: Aws::ManagedBlockchainQuery::Types::TokenIdentifier
- Inherits:
-
Struct
- Object
- Struct
- Aws::ManagedBlockchainQuery::Types::TokenIdentifier
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-managedblockchainquery/types.rb
Overview
The container for the identifier for the token including the unique token ID and its blockchain network.
<note markdown=“1”> Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
</note>
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#contract_address ⇒ String
This is the token’s contract address.
-
#network ⇒ String
The blockchain network of the token.
-
#token_id ⇒ String
The unique identifier of the token.
Instance Attribute Details
#contract_address ⇒ String
This is the token’s contract address.
1139 1140 1141 1142 1143 1144 1145 |
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1139 class TokenIdentifier < Struct.new( :network, :contract_address, :token_id) SENSITIVE = [] include Aws::Structure end |
#network ⇒ String
The blockchain network of the token.
1139 1140 1141 1142 1143 1144 1145 |
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1139 class TokenIdentifier < Struct.new( :network, :contract_address, :token_id) SENSITIVE = [] include Aws::Structure end |
#token_id ⇒ String
The unique identifier of the token.
<note markdown=“1”> 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 ‘tokenId` in the 64 character hexadecimal `tokenid` format.
</note>
1139 1140 1141 1142 1143 1144 1145 |
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1139 class TokenIdentifier < Struct.new( :network, :contract_address, :token_id) SENSITIVE = [] include Aws::Structure end |