View as Markdown

SDK reference · Rails

offerHash

offerHash in @provenanceauth/rails/deals, Rails. Sha256 (hex) of the offer's canonical JSON payload: the value the acceptance token binds.

Signature

offerHash(payload: OfferPayload | Record<string, unknown>): Promise<string>

Parameters

payloadOfferPayload | Record<string, unknown>Required

Returns

Promise<string>

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.