@me2em/x402
Preparing search index...
encodePaymentRequired
Function encodePaymentRequired
encodePaymentRequired
(
pr
:
X402PaymentRequired
,
opts
?:
HeaderSizeOptions
)
:
string
Encodes the 402 body for the
PAYMENT-REQUIRED
response header.
Parameters
pr
:
X402PaymentRequired
Optional
opts
:
HeaderSizeOptions
Returns
string
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
@me2em/x402
Loading...
Encodes the 402 body for the
PAYMENT-REQUIREDresponse header.