The payload for a token update transaction. The contents of the byte array is a CBOR encoding of the update type and (e.g. "mint") and the associated update details.
const payload = Cbor.encode(['mint', {amount}]); // plt v1 mint payload
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. The contents of the byte array is a CBOR encoding of the update type and (e.g. "mint") and the associated update details.
Example