---
title: "FetchTransactionReceiptWithFilter"
method: POST
path: "/rpc/Indexer/FetchTransactionReceiptWithFilter"
tags: ["public"]
---

# FetchTransactionReceiptWithFilter

`POST /rpc/Indexer/FetchTransactionReceiptWithFilter`

On Sepolia Mainnet, get the transaction receipt for a specific hash after a certain number of blocks for a certain filter

## Request body

- IndexerFetchTransactionReceiptWithFilterRequest
  - `filter` TransactionFilter
    - `txnHash` string
    - `from` string
    - `to` string
    - `contractAddress` string
    - `event` string
  - `maxBlockWait` number

## Response `200`

OK

- IndexerFetchTransactionReceiptWithFilterResponse
  - `receipt` TransactionReceipt
    - `txnHash` string, required
    - `txnStatus` 'FAILED' | 'SUCCESSFUL', required — Represented as uint32 on the server side
    - `txnIndex` number, required
    - `txnType` 'LegacyTxnType' | 'AccessListTxnType' | 'DynamicFeeTxnType', required — Represented as uint32 on the server side
    - `blockHash` string, required
    - `blockNumber` number, required
    - `gasUsed` number, required
    - `effectiveGasPrice` string, required
    - `from` string, required
    - `to` string, required
    - `logs` TransactionLog[], required — []TransactionLog
      - `contractAddress` string, required
      - `topics` string[], required — []string
      - `data` string, required
      - `index` number, required
    - `final` boolean, required
    - `reorged` boolean, required

## Other responses

- `4XX` — Client error
- `5XX` — Server error

---

[API](https://skmtc.dev/sequence/apis/analytics-api.md) · [All operations](https://skmtc.dev/sequence/apis/analytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sequence/analytics-api/revisions/12db1459a050/schema)
