RPC method

eth_getTransactionByHash on Gnosis

Supported on SwiftNodes

Everything below was measured on 2026-10-13 by calling eth_getTransactionByHash on Gnosis through the same endpoint customers use, and is re-measured weekly.

What eth_getTransactionByHash does

Returns a transaction by its hash: sender, recipient, value, input data, gas fields and signature, plus the block it was included in. It returns null for a hash the node does not know, and a transaction still in the mempool has a null blockNumber.

Transaction types on Gnosis

Types of the 158 transactions in five consecutive blocks when we measured. Decoders that reject unknown types will fail on Gnosis if any of these is missing from their list.

0x2 EIP-1559140 (89%)
0x0 legacy12 (8%)
0x1 EIP-2930 access list5 (3%)
0x3 EIP-4844 blob1 (1%)

Fields beyond Ethereum's

Transactions include blockTimestamp, so you get the block time without a second call for the block.

A real Gnosis transaction

A type 0x2 transaction from one of the latest blocks, as our endpoint returned it (long hex values shortened).

{
  "type": "0x2",
  "maxPriorityFeePerGas": "0x2a41350e5",
  "maxFeePerGas": "0x2a41350f9",
  "accessList": [
    {
      "address": "0x670daeaf0f1a5e336090504c68179670b5059088",
      "storageKeys": [
        "0x0000000000000000000000000000000000000000000000000000000000000006",
        "0x0000000000000000000000000000000000000000000000000000000000000000",
        "…4 more"
      ]
    },
    {
      "address": "0xba12222222228d8ba445958a75a0704d566bf2c8",
      "storageKeys": [
        "0x0000000000000000000000000000000000000000000000000000000000000000"
      ]
    },
    "…3 more"
  ],
  "yParity": "0x0",
  "chainId": "0x64",
  "nonce": "0x7afd",
  "to": "0x8b57f99240eac8b40d3b313aae69cf1c5a61900c",
  "from": "0x8b57f99240eac8b40d3b313aae69cf1c5a61900c",
  "value": "0x2ab7",
  "input": "0x",
  "gasPrice": "0x2a41350ef",
  "v": "0x0",
  "r": "0xfd1c2b20753e12183fe060090d371706d09aa695171b8b31022a22b2f92f7de5",
  "s": "0x2b99c294c4fe6f423a5abc17a8533c5693c018a627a1d435bf3f7e1ed0f2b940",
  "hash": "0xf0bc86358f30f45d1a28f4176433c082a3af7b9115dc02ec1475d96b7d081caf",
  "transactionIndex": "0x0",
  "blockHash": "0x941d3aadf46417a487a193afcf0954cdd297c5205a2b1400a6cf81728313b731",
  "blockNumber": "0x2e7a4b3",
  "blockTimestamp": "0x6ace2592",
  "gas": "0x55730"
}

Example request

curl -s https://rpc.swiftnodes.io/rpc/gnosis?key=YOUR_API_KEY \
  -X POST -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionByHash","params":["0xf0bc86358f30f45d1a28f4176433c082a3af7b9115dc02ec1475d96b7d081caf"]}'
import { createPublicClient, http } from "viem";

const client = createPublicClient({
  transport: http("https://rpc.swiftnodes.io/rpc/gnosis?key=YOUR_API_KEY"),
});

const tx = await client.getTransaction({ hash: "0xf0bc86358f30f45d1a28f4176433c082a3af7b9115dc02ec1475d96b7d081caf" });
if (tx.blockNumber === null) console.log("still pending");
console.log(tx.type, tx.from, tx.to, tx.value);

Other methods on Gnosis

eth_getTransactionByHash on other chains

Frequently asked questions

Does Gnosis support eth_getTransactionByHash?

Yes. eth_getTransactionByHash answered on the SwiftNodes Gnosis endpoint when our weekly probe called it through the customer path (2026-10-13).

Which transaction types does Gnosis use?

In five recent blocks: 140 × 0x2 (EIP-1559), 5 × 0x1 (EIP-2930 access list), 12 × 0x0 (legacy), 1 × 0x3 (EIP-4844 blob).

Why does eth_getTransactionByHash return null on Gnosis?

The node does not know the hash: it was never broadcast, it was dropped from the mempool, or it was sent to another chain. Check the hash and the chain ID before retrying.

Gnosis endpoints, live block height and WebSocket status are on the Gnosis RPC page.

One key covers every chain we serve, and SwiftNodes has a free tier.