Verify on-chain transfers for a payment intent
verify_paymentVerify on-chain transfers for a payment intent. Escrow mode: send the deposit transaction hash; the server checks the Deposited event and the contract state against the intent (deal id, worker, fee recipient, amounts, release_after). Direct mode: checks token, recipient and amount per leg. Always: status, confirmations, timing, one-time use. Safe to call repeatedly. When confirmed the task becomes "paid" (escrow: funds locked). Requires API key.
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": {
"payment_intent_id": "<payment_intent_id>",
"tx_hashes": "<tx_hashes>"
},
"name": "verify_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx_hashes | Yes | ||
| payment_intent_id | Yes | Payment intent id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | ||
| results | Yes |