Report a sent swap
trnch_confirmOptional, after sending a swap transaction built by this server: report its hash so the volume is credited to the Trnch account of the key's wallet once the receipt is checked on chain. Returns an acknowledgement only; it does not send, cancel or change the transaction, and a hash that is not a swap of this wallet credits nothing. Calling it twice with the same hash changes nothing. Requires an API key (created by wallet signature), sent as Authorization: Bearer .
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": "trnch_confirm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txHash | Yes | Hash of the transaction you sent. |