Module BSV::Wallet::Serializer::CreateActionResult ¶
BRC-103 serialiser for create_action result (call byte 1).
Wire layout (port of go-sdk/wallet/serializer/create_action_result.go): [1 byte] 0x00 success sentinel (frame-level, already checked by Frame) [flag + 32 bytes] txid (wire-order) with flag byte: 0=absent, 1=present [flag + int_bytes] tx (BEEF bytes) with flag byte: 0=absent, 1=present + varint_len [optional_bytes] no_send_change encoded outpoints (NegativeOne = nil) [send_with_results] varint count + txid + status_byte each [1 byte flag] signable_transaction: 0=absent, 1=present If signable_transaction present: [int_bytes] tx (BEEF bytes) [int_bytes] reference bytes
Public Class Methods¶
deserialize(bytes) ¶
- @param
bytes[String] binary - @raise [ArgumentError]
- @return [Hash]
serialize(result) ¶
- @param
result[Hash] - @return [String] binary