Decodes an p2panda operation.
Plain operation which has not been checked against a schema yet
import { decodeOperation } from 'p2panda-js';const encodedOperation = '840100781a736368656d615f6669656c645f646566696e697469' + '6f6e5f7631a2646e616d656576656e7565647479706563737472';const result = decodeOperation(encodedOperation);console.log(result.action); // "create"
Hexadecimal string of an encoded operation
Generated using TypeDoc
Decodes an p2panda operation.
Returns
Plain operation which has not been checked against a schema yet
Example