{"schema":"layel-proof/1","advisoryOnly":true,"docs":"https://layel.xyz/docs#receipts","chainId":8453,"signer":"0x2c7536E3605D9C16a7a3D7b1898e529396a65c23","verify":"Recompute requestHash and resultHash, check them against receipt.message, then recover the signer from the EIP-712 signature and compare it with signer. Settlements are public on-chain: check the payTo address in the 402 on a Base explorer.","hashing":{"canonicalJson":"UTF-8 JSON, object keys sorted ascending, no whitespace, arrays in order.","requestHash":"keccak256(canonicalJson({ endpoint, request })) where request is the JSON body you sent.","resultHash":"keccak256(canonicalJson(response without the receipt field))."},"bindings":"resource, payer, amount and asset are copied from the verified x402 payment by the payment layer. amount is what was charged and is \"0\" when checksumPassed is false. confidence is round(confidence.score * 100).","sample":{"result":{"schema":"layel-scope/1","endpoint":"proof-sample","sample":true,"advisoryOnly":true,"checksumPassed":true,"note":"Sample payload signed with the production key so the receipt format can be verified."},"receipt":{"alg":"EIP-712","signer":"0x2c7536E3605D9C16a7a3D7b1898e529396a65c23","message":{"schema":"layel-receipt/1","endpoint":"proof-sample","requestHash":"0xfe1c7511701b952a846bcfa7933920dc4b40d313a8778ffb5016c1de171d7d65","resultHash":"0xd0ab9689ad8d043e715e374930540fbdbbf14fb5a3f23880883f234ef90c7831","blockNumber":"0","blockHash":"0x0000000000000000000000000000000000000000000000000000000000000000","checksumPassed":true,"advisoryOnly":true,"issuedAt":"1796400435","resource":"","payer":"0x0000000000000000000000000000000000000000","amount":"0","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","confidence":"0"},"signature":"0xe0c0d494c80ee2856810ba61e6dd914ed0486ae04440842ce274421784b59aed3eda31a1ad0b0ef7a95254c19ceb5bdf9abcc2ac6a2f3908e855083790c7926e1b","domain":{"name":"Layel","version":"1","chainId":8453},"primaryType":"Receipt","types":{"EIP712Domain":[{"name":"name","type":"string"},{"name":"version","type":"string"},{"name":"chainId","type":"uint256"}],"Receipt":[{"name":"schema","type":"string"},{"name":"endpoint","type":"string"},{"name":"requestHash","type":"bytes32"},{"name":"resultHash","type":"bytes32"},{"name":"blockNumber","type":"uint256"},{"name":"blockHash","type":"bytes32"},{"name":"checksumPassed","type":"bool"},{"name":"advisoryOnly","type":"bool"},{"name":"issuedAt","type":"uint256"},{"name":"resource","type":"string"},{"name":"payer","type":"address"},{"name":"amount","type":"string"},{"name":"asset","type":"address"},{"name":"confidence","type":"uint256"}]}}},"domain":{"name":"Layel","version":"1","chainId":8453},"primaryType":"Receipt","types":{"EIP712Domain":[{"name":"name","type":"string"},{"name":"version","type":"string"},{"name":"chainId","type":"uint256"}],"Receipt":[{"name":"schema","type":"string"},{"name":"endpoint","type":"string"},{"name":"requestHash","type":"bytes32"},{"name":"resultHash","type":"bytes32"},{"name":"blockNumber","type":"uint256"},{"name":"blockHash","type":"bytes32"},{"name":"checksumPassed","type":"bool"},{"name":"advisoryOnly","type":"bool"},{"name":"issuedAt","type":"uint256"},{"name":"resource","type":"string"},{"name":"payer","type":"address"},{"name":"amount","type":"string"},{"name":"asset","type":"address"},{"name":"confidence","type":"uint256"}]}}