RPC method

eth_getTransactionByHash on Hyperliquid

Supported on SwiftNodes

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

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

0x2 EIP-155912 (86%)
0x0 legacy2 (14%)

Fields beyond Ethereum's

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

A real Hyperliquid transaction

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

{
  "type": "0x2",
  "chainId": "0x3e7",
  "nonce": "0x367e",
  "gas": "0x102b94",
  "maxFeePerGas": "0x77359400",
  "maxPriorityFeePerGas": "0x5f5e100",
  "to": "0xf6d7fa807eaa820544eac2c6eafc260aee041d02",
  "value": "0x0",
  "accessList": [],
  "input": "0xbcc459f400000000…(132 bytes)",
  "r": "0xc31ccb3b935201972e33b4e86eff29e7ccf32392f646d1021f922192e0659dbd",
  "s": "0x1717b1e7d029110ae25ac0964e5198d4b456a998e42e7d38b25e6b3a797d96ae",
  "yParity": "0x1",
  "v": "0x1",
  "hash": "0x6457ad90315d18c08ad0fc2a3a8ffee38d3ab104fb0ba54eb124ae1a96553549",
  "blockHash": "0x79cd8639226a3286de21b4f53e9b12ae76eb99cf545393e8e23cbe8cf50e7509",
  "blockNumber": "0x2e30969",
  "transactionIndex": "0x0",
  "from": "0x6469271522fa2d48b7ecda4e442aac3c813235a1",
  "gasPrice": "0xbebc200",
  "blockTimestamp": "0x6ace2a82"
}

Example request

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

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

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

Other methods on Hyperliquid

eth_getTransactionByHash on other chains

Frequently asked questions

Does Hyperliquid support eth_getTransactionByHash?

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

Which transaction types does Hyperliquid use?

In five recent blocks: 12 × 0x2 (EIP-1559), 2 × 0x0 (legacy).

Why does eth_getTransactionByHash return null on Hyperliquid?

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.

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

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