Function: getId()
function getId(input): Promise<string>;
Defined in: packages/overcast-core/src/utils.ts:86
Content-addressed id for one of the local Overcast types, matching the on-chain
HashId derivation. Discriminates the input by shape: collateral offers carry a
maker, settlement offers a taker, and options reference both offers.
Parameters
| Parameter | Type |
|---|---|
input | | SettlementOffer | CollateralOffer | MarketOption |
Returns
Promise<string>