Sign Up
Skip to content

Fetching transaction receipts

To fetch a transaction receipt for an arbitrary transaction that was dispatched via the transactions API, call the /GetMetaTxnReceipt endpoint. The metaTxID is the txnHash from the response of the /SendMetaTxn endpoint.

cURL
curl -s -X POST -H 'Content-Type: application/json' \
  -d '{"metaTxID":"462de2756e45c93698b89ada5ba4a3c9d1bfb9fb354ad2e7f36f1a9fefbc550b"}' \
  https://polygon-relayer.sequence.app/rpc/Relayer/GetMetaTxnReceipt | jq
 
{
  "receipt": {
    "id": "462de2756e45c93698b89ada5ba4a3c9d1bfb9fb354ad2e7f36f1a9fefbc550b",
    "status": "SUCCEEDED",
    "revertReason": null,
    "index": 0,
    "logs": []
  }
}
 
...