AssetGroup: {
    policyIdHex: string;
    tokens: Token[];
}

Describes a group of assets belonging to the same policy in a multiasset structure. The asset names of tokens must be unique and sorted lowest value to highest to reflect a canonical CBOR. The sorting rules (as described in the CBOR RFC) are:

  • if two keys have different lengths, the shorter one sorts earlier;
  • if two keys have the same length, the one with the lower value in lexical order sorts earlier.

See

TxOutput

Type declaration

  • policyIdHex: string
  • tokens: Token[]

Generated using TypeDoc