Method: Chain::Asset#id

Defined in:
lib/chain/asset.rb

#idString (readonly)

Globally unique identifier of the asset. Asset version 1 specifies the asset id as the hash of:

  • the asset version

  • the asset’s issuance program

  • the core’s VM version

  • the hash of the network’s initial block

Returns:

  • (String)


19
# File 'lib/chain/asset.rb', line 19

attrib :id