Expand description
Core types for the x402 protocol
Modules§
Structs§
- Discovery
Resource - Discovery API resource
- Discovery
Response - Discovery API response
- Exact
EvmPayload - Exact EVM payment payload (EIP-3009)
- Exact
EvmPayload Authorization - EIP-3009 authorization parameters
- Facilitator
Config - Facilitator configuration
- Network
Config - Network configuration with chain-specific details
- Pagination
Info - Pagination information
- Payment
Payload - Payment payload for client payment authorization
- Payment
Requirements - Payment requirements for a resource
- Payment
Requirements Response - Payment requirements response (HTTP 402 response)
- Settle
Response - Payment settlement response
- Supported
Kind - Individual supported payment scheme and network
- Supported
Kinds - Supported payment schemes and networks
- Verify
Response - Payment verification response
Enums§
- Network
- Network configuration for x402 payments
Constants§
- X402_
VERSION - x402 protocol version
Type Aliases§
- Auth
Headers Fn - Type alias for authentication headers function
- Auth
Headers FnArc - Type alias for authentication headers function wrapped in Arc
- Auth
Headers FnBox - Type alias for authentication headers function wrapped in Box