SDK reference · Rails
x402OfferOf
x402OfferOf in @provenanceauth/rails/deals, Rails. Buyer side: the signed offer a 402 carries, or null.
Signature
x402OfferOf(challenge: Pick<X402IntentChallenge, "extension">): string | nullParameters
challengePick<X402IntentChallenge, "extension">Required
Returns
string | null
HTTP operation
Runs locally, with no request to the API.