The payload for a token update transaction. Token ID and contents of the "operations" byte array is a CBOR encoding of the update type. (e.g. "mint") and the associated update details.
const payload = { tokenId: TokenId.fromString('PLT'), operations: Cbor.encode([{mint: { amount } }]),};
The CBOR encoded operations
const operations = Cbor.encode([{mint: { amount } }]); // plt mint payload
The token id identifying the token to perform the list of operations on
Generated using TypeDoc
The payload for a token update transaction. Token ID and contents of the "operations" byte array is a CBOR encoding of the update type. (e.g. "mint") and the associated update details.
Example