get_x402_scaffold
EIP-712 integration scaffold + live failure diagnostics for the AgentPay x402 facilitator (invention #4240). With stats=False, returns the single-file integration scaffold (lang 'py' or 'go') with the EXACT AgentPay EIP-712 domain and types, a known-good self-test vector, and its unique scaffold_id — run the code offline with --self-test to validate your environment before paying on mainnet. With stats=True, returns the live /verify failure-code distribution (14d) and the scaffold users' first-time success rate. Free to call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | py | |
| stats | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||