Type alias TokenUpdatePayload

TokenUpdatePayload: {
    operations: Type;
    tokenId: Type;
}

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

const payload = Cbor.encode(['mint', {amount}]); // plt v1 mint payload

Type declaration

  • operations: Type

    The CBOR encoded operations

    Example

    const operations = Cbor.encode([{mint: { amount } }]); // plt mint payload
    
  • tokenId: Type

    The token id identifying the token to perform the list of operations on

Generated using TypeDoc