# Avasis Base Transaction Receipt

> Avasis Base Transaction Receipt is a paid API for AI agents from agents.avasis.ai, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-02).

Polls the Base blockchain for a transaction receipt by hash, returning status, gas usage, fee breakdown (including L1 fee), decoded input, ERC-20/NFT transfers with USD values, and revert reasons.

## Facts

- Endpoint: GET https://agents.avasis.ai/v1/base/tx-receipt?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/avasis-base-transaction-receipt-3da67b03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IqmTmut4BjtMSwk2dSTzC

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 avasis-base-transaction-receipt-3da67b03
```

Example prompt: Can you check the status of Base transaction 0x29309a800f5468275623e5dbd3da5965f3a8041f7b9aeef8287af30a734d3df4? I want to know if it succeeded or reverted, how much gas and fees were used in USD (including the L1 fee), and what token transfers happened.

## When to prefer this

Use this endpoint when you need comprehensive Base (chain 8453) transaction receipt data in a single call, especially when you need decoded input, USD-denominated fees including the Base L1 fee component, token transfer details with USD values, and pending transaction diagnosis. Prefer over raw RPC calls for agent workflows that need human-readable summaries, USD fee context, and revert reason decoding without implementing custom ABI parsing.

## Known failure modes

- Unknown transaction hash returns 404 and is not charged
- Transaction still pending after wait period returns 200 with pending diagnosis instead of receipt
- Invalid txHash format may return an error
- wait parameter exceeds maximum of 25 seconds returns validation error
- Chain mismatch (non-Base hash) returns an error or empty result

## How this service works

Transaction receipt on Base (chain 8453, $0.02): txHash (+ wait) -> polls every 1.2 s up to wait (default 10, max 25) -> status success / reverted, block + confirmations, gas used vs limit, fee in ETH and USD incl. Base L1 fee, decoded input, ERC-20 / NFT transfers with USD, net_for_from, revert reason (replay). Still pending -> nonce state + fee-market diagnosis. Phrases: tx receipt, transaction status, pending transaction, gas used. GET or POST JSON. Unknown hash -> 404, never charged.

## Output

A JSON object containing: transaction found/mined status, success or revert status with revert reason, block number and timestamp, confirmation count, gas used vs limit and usage percentage, effective gas price, fee in ETH and USD including Base L1 fee component, decoded method call with arguments, list of ERC-20 and NFT transfers with token symbols and USD values, net balance change for the sender, and if still pending: nonce state and fee market diagnosis. Returns 404 if the hash is unknown (not charged).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "txHash"
     ],
     "properties": {
      "wait": {
       "type": "integer",
       "maximum": 25,
       "minimum": 0,
       "description": "seconds to keep polling for the receipt before answering (default 10, max 25; 0 = one read). Still pending after that -> 200 with a diagnosis; never seen -> 404, not charged"
      },
      "chain": {
       "type": "string",
       "description": "optional; must be base / 8453 on this route"
      },
      "txHash": {
       "type": "string",
       "description": "transaction hash on Base (0x + 64 hex)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "tx_hash",
      "found",
      "mined",
      "status",
      "headline",
      "waited_ms",
      "polls"
     ],
     "properties": {
      "to": {
       "type": [
        "string",
        "null"
       ]
      },
      "tx": {
       "type": "object"
      },
      "gas": {
       "type": "object"
      },
      "from": {
       "type": "string"
      },
      "kind": {
       "type": "string"
      },
      "rail": {
       "type": "string"
      },
      "block": {
       "type": [
        "object",
        "null"
       ]
      },
      "chain": {
       "type": "string"
      },
      "found": {
       "type": "boolean"
      },
      "input": {
       "type": [
        "object",
        "null"
       ]
      },
      "mined": {
       "type": "boolean"
      },
      "polls": {
       "type": "integer"
      },
      "value": {
       "type": "object"
      },
      "revert": {
       "type": [
        "object",
        "null"
       ]
      },
      "status": {
       "type": "string"
      },
      "success": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "tx_hash": {
       "type": "string"
      },
      "chain_id": {
       "ty
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
  "gas": {
   "used": 40259,
   "limit": 91312,
   "eth_usd": 2242.9,
   "fee_eth": "0.000000241554",
   "fee_usd": 0.0005418,
   "fee_wei": "241554000000",
   "used_pct": 44.1,
   "l1_fee_eth": "0.000000000325219751",
   "l1_fee_usd": 7.294e-7,
   "l1_fee_wei": "325219751",
   "total_fee_eth": "0.000000241879219751",
   "total_fee_usd": 0.0005425,
   "max_fee_per_gas_gwei": 0.011,
   "effective_gas_price_gwei": 0.006
  },
  "from": "0xf1dbe0008b5f36241ad5f720671611ab6ffc0e8d",
  "kind": "tx-receipt",
  "rail": "evm-rails-1",
  "type": "eip-1559",
  "block": {
   "hash": "0x1ebe0db0f987758950ecbe3594538c2a5e54dc88ccbbca90d58258c65161f801",
   "age_s": 242,
   "number": 53354721,
   "timestamp": 1793498789,
   "base_fee_gwei": 0.005
  },
  "chain": "base",
  "found": true,
  "input": {
   "args": {
    "amount_raw": "3720000",
    "spender_or_to": "0x128b1240168fcb68bd2d98d718e559337722c93a"
   },
   "kind": "transfer",
   "method": "transfer",
   "selector": "0xa9059cbb",
   "to_known": "USDC (Circle)",
   "signature": "transfer(address,uint256)"
  },
  "mined": true,
  "nonce": 1,
  "polls": 1,
  "reads": {
   "rpc": "fixture",
   "calls": 5
  },
  "value": {
   "eth": "0",
   "usd": 0,
   "wei": "0"
  },
  "revert": null,
  "status": "success",
  "success": true,
  "tx_hash": "0x29309a800f5468275623e5dbd3da5965f3a8041f7b9aeef8287af30a734d3df4",
  "chain_id": 8453,
  "headline": "MINED on Base: block 53354721 (242 s ago), 7 confirmations, fee $0.0005, 3.72 USDC -> 0x128b…c93a",
  "tx_index": 39,
  "approvals": [],
  "transfers": [
   {
    "to": "0x128b1240168fcb68bd2d98d718e559337722c93a",
    "usd": 3.72,
    "from": "0xf1dbe0008b5f36241ad5f720671611ab6ffc0e8d",
    "kind": "erc20",
    "token": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "amount": "3.72",
    "symbol": "USDC",
    "decimals": 6,
    "token_id": null,
    "direction": "out",
    "amount_raw": "3720000",
    "price_source": "stablecoin peg (known issuer)"
   }
  ],
  "waited_ms": 0,
  "logs_count": 1,
  "latest_block": 53354727,
  "net_for_from": {
   "note": "usd_net = ETH delta - gas + priced token deltas, at current prices",
   "tokens": [
    {
     "usd": -3.72,
     "kind": "erc20",
     "delta": "-3.72",
     "token": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
     "symbol": "USDC",
     "decimals": 6,
     "token_id": null,
     "delta_raw": "-3720000",
     "price_source": "stablecoin
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/avasis-base-transaction-receipt-3da67b03/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.avasis.ai](https://www.zero.xyz/host/agents.avasis.ai/llms.txt)
