RPC method

eth_getTransactionByHash on Shibarium

Supported on SwiftNodes

Everything below was measured on 2026-10-13 by calling eth_getTransactionByHash on Shibarium 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 Shibarium

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

0x2 EIP-15591 (100%)

A real Shibarium transaction

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

{
  "blockHash": "0x8c6685a1f0a4743e0d75454b3c1ef96d5ed12f21d1308776e24b69d3bea8ceef",
  "blockNumber": "0x1282fa9",
  "from": "0x33ea6ded307220252bf3cf572c71b85bd5822b8c",
  "gas": "0x8663",
  "gasPrice": "0x59682f0f",
  "maxFeePerGas": "0x59682f0f",
  "maxPriorityFeePerGas": "0x59682f0f",
  "hash": "0xab0d99337f16e3ecb7d158e0182cf87d3e578b4e0e3fe3c24dadb32cf3375134",
  "input": "0xa9059cbb00000000…(68 bytes)",
  "nonce": "0x82a5",
  "to": "0x61cfa29261d8151d39244b8ffcf8dfd2f9df3839",
  "transactionIndex": "0x0",
  "value": "0x0",
  "type": "0x2",
  "accessList": [],
  "chainId": "0x6d",
  "v": "0x0",
  "r": "0xfff102a9a17922cd63dda8449f16466e9d35015bb9120ef0301252c16987c4d1",
  "s": "0x316c3041dbff26ce65bdc05d9e24b0ca55885a8fcf035645b0ae95cdfec996d2",
  "yParity": "0x0"
}

Example request

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

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

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

Other methods on Shibarium

eth_getTransactionByHash on other chains

Frequently asked questions

Does Shibarium support eth_getTransactionByHash?

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

Which transaction types does Shibarium use?

In five recent blocks: 1 × 0x2 (EIP-1559).

Why does eth_getTransactionByHash return null on Shibarium?

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.

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

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