# Base Transaction Outcome

> Base Transaction Outcome is a paid API for AI agents from api.zfinia.com, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-10).

Returns the execution outcome, gas cost, fee in wei and ETH, confirmation depth, sender, recipient, value, and log count for a Base transaction hash, including pending and unknown hashes.

## Facts

- Endpoint: POST https://api.zfinia.com/x402/v1/base-transaction-outcome?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-transaction-outcome-8a69d770
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U2dzaWm4wdqcNEsBPJbZY

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 base-transaction-outcome-8a69d770 -d '<json body>'
```

Example prompt: Can you check whether my Base transaction 0x3a7f2c1b8e4d9f0a6c5b2e1d7f3a8c4b9e2d1f0a7c3b6e5d4f2a1c8b7e3d9f0a went through, and tell me how much it cost in ETH and how many confirmations it has?

## When to prefer this

Use this endpoint when you need a single comprehensive answer about a Base transaction's outcome — combining status, cost, and confirmation depth in one call — rather than making multiple separate RPC calls. Especially useful when you also need to handle pending or unrecognized hashes gracefully without writing error-handling logic yourself.

## Known failure modes

- Malformed or incorrectly formatted hash returns a validation error
- Network connectivity issues to Base RPC may cause timeout
- Very recently submitted transactions may report as pending until included in a block
- Hash for a transaction on a different chain (e.g. Ethereum mainnet) will return unknown or not found

## How this service works

Did my Base transaction work and what did it cost? One call returns success or reverted, gas used, effective gas price, the fee in wei and in exact decimal ETH, confirmations behind the head, sender, recipient, value and log count. Pending and unknown hashes get a definite answer rather than an error.

## Output

Returns a structured object containing: transaction status (success or reverted), gas used, effective gas price in wei, total fee in wei and decimal ETH, number of confirmations behind the chain head, sender address, recipient address, ETH value transferred, and the count of emitted logs. Pending and unknown hashes receive a definitive status answer rather than an error.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hash": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{64}$"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-transaction-outcome-8a69d770/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zfinia.com](https://www.zero.xyz/host/api.zfinia.com/llms.txt)
