Module types

Module types 

Source
Expand description

Core types for the x402 protocol

Modules§

networks
Common network configurations
schemes
Common payment schemes

Structs§

DiscoveryResource
Discovery API resource
DiscoveryResponse
Discovery API response
ExactEvmPayload
Exact EVM payment payload (EIP-3009)
ExactEvmPayloadAuthorization
EIP-3009 authorization parameters
FacilitatorConfig
Facilitator configuration
NetworkConfig
Network configuration with chain-specific details
PaginationInfo
Pagination information
PaymentPayload
Payment payload for client payment authorization
PaymentRequirements
Payment requirements for a resource
PaymentRequirementsResponse
Payment requirements response (HTTP 402 response)
SettleResponse
Payment settlement response
SupportedKind
Individual supported payment scheme and network
SupportedKinds
Supported payment schemes and networks
VerifyResponse
Payment verification response

Enums§

Network
Network configuration for x402 payments

Constants§

X402_VERSION
x402 protocol version

Type Aliases§

AuthHeadersFn
Type alias for authentication headers function
AuthHeadersFnArc
Type alias for authentication headers function wrapped in Arc
AuthHeadersFnBox
Type alias for authentication headers function wrapped in Box