Check whether a request was paid
check_request_paidChecks an address's latest transactions for a payment tagged with a request's reference to confirm whether that invoice has been paid, reporting the on-chain result without changing anything.
Instructions
Looks for a payment tagged with a request’s reference (nimbooks:invoice:) in the address’s transactions — the same match the NimBooks app uses to mark a request paid. Read-only: it reports what the chain says and changes nothing, here or in the app. Scans the newest 200 transactions.
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": {
"id": "<id>"
},
"name": "check_request_paid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The request id, as returned by create_payment_request. | |
| address | No | The payee address the request was made for. Optional; defaults to the server’s configured address. |