fdc_request_attestation
Submit FDC attestation requests for Payment, AddressValidity, or EVMTransaction. Prepares via Flare, queries fee, and submits to FdcHub if key set; otherwise returns prepared request.
Instructions
Submit an FDC attestation request (Payment, AddressValidity or EVMTransaction). Prepares the request via a Flare-hosted verifier, queries the request fee, and — if FLARE_PRIVATE_KEY is set — submits it to FdcHub, returning the tx hash and voting round id. Without a key it returns the prepared request for external submission.
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": {
"attestation_type": "<attestation_type>",
"source_chain": "<source_chain>",
"request_body": "<request_body>",
"network": "<network>"
},
"name": "fdc_request_attestation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | Yes | ||
| request_body | Yes | ||
| source_chain | Yes | ||
| attestation_type | Yes |