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,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)


913
914
915
916
917
918
919
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 913

class TokenIdentifier < Struct.new(
  :network,
  :contract_address,
  :token_id)
  SENSITIVE = []
  include Aws::Structure
end

#networkString

The blockchain network of the token.

Returns:

  • (String)


913
914
915
916
917
918
919
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 913

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”> You must specify this container with ‘btc` for the native BTC token, and `eth` for the native ETH token. For all other token types you must specify the `tokenId` in the 64 character hexadecimal `tokenid` format.

</note>

Returns:

  • (String)


913
914
915
916
917
918
919
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 913

class TokenIdentifier < Struct.new(
  :network,
  :contract_address,
  :token_id)
  SENSITIVE = []
  include Aws::Structure
end