Function: settlementOfferBytes()
function settlementOfferBytes(offer): Uint8Array;
Defined in: packages/overcast-core/src/serialization.ts:131
SettlementOffer byte layout (246 bytes):
tag(0x02) · salt(32) · taker(32) · option_details(173) · expiry(i64).
Exported because these exact bytes are also the operation payload a taker
signs when delegating make_settlement_offer (see operation.ts).
Parameters
| Parameter | Type |
|---|---|
offer | SettlementOffer |
Returns
Uint8Array