POST
/
rpc
/
Indexer
/
SubscribeReceipts
curl --request POST \
  --url https://amoy-indexer.sequence.app/rpc/Indexer/SubscribeReceipts \
  --header 'Content-Type: application/json' \
  --header 'X-Access-Key: <api-key>' \
  --data '{
  "filter": {
    "txnHash": "<string>",
    "from": "<string>",
    "to": "<string>",
    "contractAddress": "<string>",
    "event": "<string>"
  }
}'
{
  "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

X-Access-Key
string
header
required

Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI

Body

application/json
filter
object

Response

200
application/json
OK
receipt
object