# GetTxReceiptStatus

> GetTxReceiptStatus is a paid API for AI agents from stablecrypto.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns the receipt status (success or failure) of an EVM transaction by its hash on a specified chain

## Facts

- Endpoint: POST https://stablecrypto.dev/api/etherscan/transaction/gettxreceiptstatus
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gettxreceiptstatus-7ddfc101
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XtAabEe1cGoiS_kV5zBXf

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability gettxreceiptstatus-7ddfc101 -d '<json body>'
```

Example prompt: Can you check whether this transaction succeeded or failed on Ethereum mainnet (chain ID 1)? The tx hash is 0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060.

## When to prefer this

Use this endpoint when you need to confirm whether a specific EVM transaction succeeded or reverted, especially after sending a transaction and waiting for finality. Prefer this over full transaction detail endpoints when you only need the pass/fail outcome. Useful for post-payment confirmation, DeFi workflow automation, and on-chain event verification across any EVM chain including Ethereum, Polygon, and Base.

## Known failure modes

- Invalid or malformed transaction hash returns an error
- Transaction not found on the specified chain returns empty or error response
- Incorrect chain ID causes lookup on wrong network returning no result
- Transaction still pending (not yet mined) may return no receipt status
- Network or upstream Etherscan API unavailability causes timeout or 5xx error

## How this service works

Pay-per-request access to CoinGecko, DefiLlama, Alchemy, and Etherscan APIs. No auth, no subscriptions.

## Output

Returns the receipt status of the specified transaction — indicating whether it succeeded (status 1) or failed/reverted (status 0) on the given EVM chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "txhash": {
   "type": "string",
   "description": "Transaction hash"
  },
  "chainid": {
   "type": "number",
   "description": "EVM chain ID (1=Ethereum, 137=Polygon, 8453=Base, etc.)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gettxreceiptstatus-7ddfc101/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablecrypto.dev](https://www.zero.xyz/host/stablecrypto.dev/llms.txt)
