API Constraints
EIP-155 Network Identifiers
Network configuration requires EIP-155 format strings, not chain ID numbers:PaymentInfo Must Be Complete
All SDK methods require a completePaymentInfo object. You cannot query by hash alone:
Event Log Scanning Limits
getPayerPayments(), getReceiverPayments(), and getPaymentDetails() scan AuthorizationCreated events using eth_getLogs. Base Sepolia RPCs typically limit responses to 10,000 blocks. Pass a fromBlock parameter for large ranges:
No Express/Hono Middleware
Therefundable() helper in @x402r/helpers is framework-agnostic. There is no dedicated Express or Hono middleware — use refundable() directly when constructing payment options.
Getting Updates
SDK Overview
Return to SDK documentation.
Examples
Working examples for each role.
GitHub Releases
Watch for new SDK releases.
