four02_invoice_status
Verify a signed 402 invoice cryptographically and check heuristically if it looks paid by scanning Ink USDC Transfer events to the issuer. Payment detection is likely, not certain.
Instructions
Verify a signed 402 invoice (pure cryptography, no trust needed) and heuristically check whether it looks paid by scanning Ink USDC Transfer events to the issuer. Payment detection is a heuristic — "likely paid", never certain.
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": {
"signedInvoiceJson": "<signedInvoiceJson>"
},
"name": "four02_invoice_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lookbackBlocks | No | How many recent blocks to scan for payment | |
| signedInvoiceJson | Yes | The signed invoice JSON (as produced by four02_invoice_create) |