Get the endpoint URL
Get the environment (staging/production)
Get the facilitator address
Get the target network
Get supported capabilities from CRE workflow
Check if CRE service is available
Check if running in simulation mode
Settle a payment using CRE workflow
In production mode, this triggers the CRE workflow on the DON which submits a signed report to the X402Facilitator contract via KeystoneForwarder.
Payment payload with signature and authorization
Payment requirements
Optionalclient: {}Viem PublicClient (optional, kept for backward compatibility)
Settlement result
Verify a payment using CRE workflow
In production mode, this triggers the CRE workflow on the DON.
Payment payload with signature and authorization
Payment requirements (amount, recipient, etc.)
Optionalclient: {}Viem PublicClient (optional, kept for backward compatibility)
Verification result
Verify and settle a payment in one workflow execution Recommended for production.
Payment payload with signature and authorization
Payment requirements
Optional_client: {}Combined verification and settlement result
CRE Client for x402 payment workflows
This client communicates with the Chainlink Runtime Environment to verify and settle payments using decentralized consensus.
Usage: