SDK reference · Verifiers

OfferHash

OfferHash in go.provenanceauth.com/verify (Go), Verifiers. OfferHash is sha256 (hex) of the offer payload's canonical JSON.

Signature

provenanceverify.OfferHash(payload map[string]any) (string, error)

Parameters

payloadmap[string]anyRequired

Returns

(string, error)

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.