Class: Aws::ManagedBlockchainQuery::Types::TokenIdentifier

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#contract_addressString

This is the token’s contract address.

Returns:

  • (String)


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

#networkString

The blockchain network of the token.

Returns:

  • (String)


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_idString

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>

Returns:

  • (String)


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