Skip to main content

Function: offerBytes()

function offerBytes(offer): Uint8Array;

Defined in: packages/overcast-core/src/serialization.ts:175

Offer byte layout (351 bytes): tag(0x00) · side(1) · salt(32) · creator(32) · option_details(245) · expiry(i64) · counterparty(32).

Exported because these exact bytes are also the operation payload a maker signs when delegating make_collateral_offer (see operation.ts).

Parameters

ParameterType
offerOffer

Returns

Uint8Array