Decode a list of MetaUpdate operations from CBOR.
the decoded operations.
const ops = decodeMetaUpdateOperations(cbor);ops.forEach(op => { switch (true) { case MetaUpdateOperationType.LockFund in op: console.log(op[MetaUpdateOperationType.LockFund].lock); break; default: console.warn('Unknown operation', op); }});
CBOR encoding of a MetaUpdate operation array.
Generated using TypeDoc
Decode a list of MetaUpdate operations from CBOR.
Returns
the decoded operations.
Example