Export a GAIP receipt
gaip_receipt_exportUse this when you need a GAIP receipt in another format. Pass receipt_id and format: x402 (attestation style), erc8004 (validation-response shape) or vc (W3C-VC-like JSON-LD). Ed25519-signed when the runtime key is available; hash chain and Merkle proof; no on-chain write. Free, read-only, no account; inputs must be public and non-personal.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"format": "x402",
"receipt_id": "<receipt_id returned by any GAIP tool>"
},
"name": "gaip_receipt_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | x402, erc8004 or vc. | |
| receipt_id | Yes | The receipt_id exactly as an earlier GAIP result returned it. Have none? Call with any id: the refusal lists example_receipt_ids from GAIP's own public records. |