Transactions
- Overview
- Installation
- Endpoints
- Examples
Indexer
- Overview
- Installation
- Endpoints
- public
- POSTGetNativeTokenBalance
- POSTGetTokenBalancesSummary
- POSTGetTokenBalancesDetails
- POSTGetTokenBalancesByContract
- POSTGetTokenBalances
- POSTGetTokenSupplies
- POSTGetTokenSuppliesMap
- POSTGetBalanceUpdates
- POSTGetTransactionHistory
- POSTFetchTransactionReceipt
- POSTFetchTransactionReceiptWithFilter
- POSTSubscribeReceipts
- POSTSubscribeEvents
- POSTSubscribeBalanceUpdates
- POST
- secret
- Examples
Indexer Gateway
Analytics
- Overview
- Endpoints
- Examples
Metadata
- Overview
- Endpoints
- Examples
Infrastructure
- Overview
- Endpoints
Builder
- Overview
- Endpoints
Marketplace
- Overview
- Endpoints
- Examples
Node Gateway
public
FetchTransactionReceiptWithFilter
On Sepolia Mainnet, get the transaction receipt for a specific hash after a certain number of blocks for a certain filter
POST
/
rpc
/
Indexer
/
FetchTransactionReceiptWithFilter
curl --request POST \
--url https://amoy-indexer.sequence.app/rpc/Indexer/FetchTransactionReceiptWithFilter \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"filter": {
"txnHash": "<string>",
"from": "<string>",
"to": "<string>",
"contractAddress": "<string>",
"event": "<string>"
},
"maxBlockWait": 123
}'
{
"receipt": {
"txnHash": "<string>",
"txnStatus": "FAILED",
"txnIndex": 123,
"txnType": "LegacyTxnType",
"blockHash": "<string>",
"blockNumber": 123,
"gasUsed": 123,
"effectiveGasPrice": "<string>",
"from": "<string>",
"to": "<string>",
"logs": [
{
"contractAddress": "<string>",
"topics": [
"<string>"
],
"data": "<string>",
"index": 123
}
],
"final": true,
"reorged": true
}
}
Authorizations
Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI
Body
application/json
Response
200
application/json
OK
Represented as uint32 on the server side
Available options:
FAILED
, SUCCESSFUL
Represented as uint32 on the server side
Available options:
LegacyTxnType
, AccessListTxnType
, DynamicFeeTxnType
Was this page helpful?
curl --request POST \
--url https://amoy-indexer.sequence.app/rpc/Indexer/FetchTransactionReceiptWithFilter \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"filter": {
"txnHash": "<string>",
"from": "<string>",
"to": "<string>",
"contractAddress": "<string>",
"event": "<string>"
},
"maxBlockWait": 123
}'
{
"receipt": {
"txnHash": "<string>",
"txnStatus": "FAILED",
"txnIndex": 123,
"txnType": "LegacyTxnType",
"blockHash": "<string>",
"blockNumber": 123,
"gasUsed": 123,
"effectiveGasPrice": "<string>",
"from": "<string>",
"to": "<string>",
"logs": [
{
"contractAddress": "<string>",
"topics": [
"<string>"
],
"data": "<string>",
"index": 123
}
],
"final": true,
"reorged": true
}
}