SDK reference · Rails
x402BindingHash
x402BindingHash in @provenanceauth/rails/x402, Rails. Sha256(canonical JSON) of the binding, the value a bound token carries as payload_hash.
Signature
x402BindingHash(b: X402Binding): Promise<string>Parameters
bX402BindingRequired
Returns
Promise<string>
HTTP operation
Runs locally, with no request to the API.