HTTP 402 ("d402") payments as one-call programmatic transactions.
Wraps D402Client.createPayment, which turns the payment
requirements from a 402 response into an UNSIGNED d402_payment
transaction. The method hands a thunk producing that transaction to
ctx.run(...), which signs, confirms against the fee ceiling and
auto-broadcasts — keeping fee-cap policy, confirmation strategy and result
shape uniform with the rest of demos.run.*.
HTTP 402 ("d402") payments as one-call programmatic transactions.
Wraps D402Client.createPayment, which turns the payment requirements from a 402 response into an UNSIGNED
d402_paymenttransaction. The method hands a thunk producing that transaction toctx.run(...), which signs, confirms against the fee ceiling and auto-broadcasts — keeping fee-cap policy, confirmation strategy and result shape uniform with the rest ofdemos.run.*.