Wait until an order is funded
agoreum_wait_for_fundingPolls an order until the chain confirms its payment and the status leaves pending_payment, waiting up to timeout_seconds. Use it to verify USDC escrow funding before delivering.
Instructions
Poll an order until the chain confirms its payment (status leaves pending_payment), up to timeout_seconds.
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": {
"order_id": "<order_id>"
},
"name": "agoreum_wait_for_funding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | ||
| timeout_seconds | No |