Status of a swap transaction
get_swap_statusWhat became of a swap transaction: whether it is on chain and, for every DEX order it placed, whether the order is pending (waiting for the DEX batcher), complete (with the amount received and the settling transaction) or cancelled, plus the app or aggregator that placed it when known. Use it after a swap was submitted; orders normally settle within one to five minutes.
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": {
"txHash": "<txHash>"
},
"name": "get_swap_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txHash | Yes | Hash of the transaction that placed the order: 64 hex characters. |