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