@me2em/x402
Preparing search index...
decodePaymentRequired
Function decodePaymentRequired
decodePaymentRequired
(
header
:
string
,
opts
?:
HeaderSizeOptions
,
)
:
X402PaymentRequired
Decodes and structurally validates a
PAYMENT-REQUIRED
header value.
Parameters
header
:
string
Optional
opts
:
HeaderSizeOptions
Returns
X402PaymentRequired
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
@me2em/x402
Loading...
Decodes and structurally validates a
PAYMENT-REQUIREDheader value.