RPC method

eth_getTransactionByHash on Kaia

Supported on SwiftNodes

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

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

0x0 legacy15 (100%)

A real Kaia transaction

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

{
  "blockHash": "0x43e6cc1260ef662da1e091ce7728d7f4871f75fc7bd1452827bb80e54a2077e9",
  "blockNumber": "0xdb0d5c8",
  "from": "0x065c5f07c9dde81ef1d5ef7a973ff70814c880f9",
  "gas": "0x419ce0",
  "gasPrice": "0x66720b300",
  "hash": "0x03f140e78ce882acf52fd8d14a033be0caa89e79a5d82df1782f1f88fd3482ab",
  "input": "0x423f6cef00000000…(68 bytes)",
  "nonce": "0x98e",
  "to": "0x63dec0c0cf911d8967446ce422dd31f13e1e0556",
  "transactionIndex": "0x0",
  "value": "0x0",
  "type": "0x0",
  "v": "0x4055",
  "r": "0xb4b3f47588c969e9b2dfe8529b03222341a667911a4ab867267015cba970148f",
  "s": "0x1ee29ad911c2db47e1a340ba3c6a46b5909622c414c777acfdda5c17cae1b003"
}

Example request

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

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

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

Other methods on Kaia

eth_getTransactionByHash on other chains

Frequently asked questions

Does Kaia support eth_getTransactionByHash?

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

Which transaction types does Kaia use?

In five recent blocks: 15 × 0x0 (legacy).

Why does eth_getTransactionByHash return null on Kaia?

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.

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

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