SDK reference · Rails
offerPayloadOf
offerPayloadOf in @provenanceauth/rails/deals, Rails. The offer payload from a signed offer or a payload object (no checks).
Signature
offerPayloadOf(offer: string | OfferPayload): OfferPayload | nullParameters
offerstring | OfferPayloadRequired
Returns
OfferPayload | null
HTTP operation
Runs locally, with no request to the API.