Class X402::Proof ¶
Inherits: Object
Attributes¶
challenge_sha256 [R] ¶
Returns the value of attribute challenge_sha256.
payment [R] ¶
Returns the value of attribute payment.
Public Class Methods¶
from_header(header_value) ¶
Parse a proof from the X402-Proof header (base64url-encoded JSON).
Public Instance Methods¶
initialize(challenge_sha256:, payment:) ¶
- @return [Proof] a new instance of Proof
rawtx_b64() ¶
Convenience accessors for payment fields.
txid() ¶
Not documented.