trnch_confirm · Report a sent swap
may change things: you confirm before it runsOptional, 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 <key>.
Input schema
{
"type": "object",
"properties": {
"txHash": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$",
"description": "Hash of the transaction you sent."
}
},
"required": [
"txHash"
],
"additionalProperties": false
}