> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zhentan.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Execute Transaction

> Relay a queued SafeTx on-chain — the agent pays gas, and signs only what it screened.

## POST /execute

Executes a queued SafeTx. The agent EOA relays `execTransaction` and pays BNB gas. Its signing behavior depends on whose signatures are already on the row:

* **User signatures below threshold, screening on:** the agent adds its confirmation (2 of 2) via the Safe Transaction Service, then executes. Called after an APPROVE verdict or a Telegram approval.
* **User signatures meet the threshold** (starter wallets, or screening-off with a backup co-signature): **relay-only** — the agent submits and pays gas but contributes **no signature**.
* **Screening off, below threshold:** refused with *"Awaiting backup co-signature"* — no caller (client, Telegram, MCP, or the agent itself) can make the agent sign an unscreened transaction. Complete the row via [`/cosign`](/api/cosign-transaction) or the Safe app. [Legacy v1 accounts](/technology/legacy) without a backup key are exempt.

Idempotency and nonce races are handled server-side: if the Safe's on-chain nonce already passed the row's nonce, the server checks whether **this** transaction was executed from the Safe app (the override path) before marking it superseded.

## Request

```json theme={null}
{
  "txId": "tx-1a2b3c4d"
}
```

| Field  | Type     | Required | Description                             |
| ------ | -------- | -------- | --------------------------------------- |
| `txId` | `string` | Yes      | ID of the queued transaction to execute |

## Response

```json theme={null}
{
  "status": "executed",
  "txId": "tx-1a2b3c4d",
  "txHash": "0x..."
}
```

| Field    | Description                                     |
| -------- | ----------------------------------------------- |
| `status` | `executed`, `already_executed`, or `superseded` |
| `txHash` | On-chain transaction hash                       |
