• Deserializes a transaction payload from the byte encoding used by concordium nodes.

    Returns

    the deserialized payload

    Throws

    if the transaction type is invalid or buffer is not fully consumed

    Parameters

    • value: ArrayBuffer | Cursor

      the bytes to deserialize, either as a Cursor or ArrayBuffer

    Returns Payload

Generated using TypeDoc