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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"settlement_tx_hash": "<settlement_tx_hash>",
"network": "<network>",
"asset": "<asset>",
"payee": "<payee>",
"amount": "<amount>"
},
"name": "fdc_verify_settlement"
}
}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 |