fdc_verify_settlement
Verify an x402 settlement with Flare's enshrined FDC: build an attestation request, then locally Merkle-verify the attested tx and confirm it includes an ERC-20 transfer of the required amount to the payee.
Instructions
Prove an x402 settlement via Flare's enshrined FDC (trust-minimized, not the facilitator's word). Given a settlement tx hash it prepares an EVMTransaction attestation request (phase 1, free, no chain write); given a finalized voting_round_id + abi_encoded_request it locally Merkle-verifies the attestation AND binds it to the payment — confirming the attested tx contains an ERC-20 Transfer of >= amount of asset to payee. Never submits on-chain itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | ||
| payee | Yes | ||
| payer | No | ||
| amount | Yes | ||
| network | Yes | ||
| voting_round_id | No | ||
| settlement_tx_hash | Yes | ||
| abi_encoded_request | No | ||
| required_confirmations | No |