Read a payment response on its chain
check_payment_proofcheck_payment_proof reads a seller PAYMENT-RESPONSE header, or a network and a transaction hash, on a chain vet402 reads again after a purchase. It returns whether the transaction is on that chain, plus from, to, asset and amount in atomic units. A chain outside that set comes back as unsupported_network. vet402 does not pay and does not sign.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_payment_proof"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Chain id, such as eip155:8453, or a name such as base. Pass it with transaction when payment_response is left out. | |
| transaction | No | Transaction hash on that chain. Pass it with network when payment_response is left out. | |
| payment_response | No | Seller PAYMENT-RESPONSE header as base64 JSON with transaction and network. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| tx | Yes | ||
| from | Yes | ||
| as_of | Yes | ||
| asset | Yes | ||
| block | Yes | ||
| found | Yes | ||
| amount | Yes | ||
| status | Yes | ||
| network | Yes | ||
| explorer | Yes |