pulsechain.box
eth

eth_getTransactionByHash

Returns information about a transaction given its hash. This is the primary method for looking up individual transactions.

Returns information about a transaction given its hash. This is the primary method for looking up individual transactions.

Parameters

#TypeDescription
1stringThe transaction hash (32 bytes, hex-encoded with 0x prefix).

Returns

object -- A transaction object, or null if no transaction is found. The object contains:

FieldTypeDescription
hashstringThe transaction hash.
noncestringNumber of transactions sent by the sender prior to this one (hex).
blockHashstringHash of the block containing this transaction. null if pending.
blockNumberstringBlock number (hex). null if pending.
transactionIndexstringIndex of the transaction in the block (hex). null if pending.
fromstringAddress of the sender.
tostringAddress of the receiver. null for contract creation.
valuestringValue transferred in wei (hex).
gasstringGas limit provided by the sender (hex).
gasPricestringGas price in wei (hex). For EIP-1559 transactions, this is the effective gas price.
inputstringThe calldata sent with the transaction.
vstringECDSA recovery ID.
rstringECDSA signature r value.
sstringECDSA signature s value.
typestringTransaction type (hex).
maxFeePerGasstringMaximum fee per gas (EIP-1559 only).
maxPriorityFeePerGasstringMaximum priority fee per gas (EIP-1559 only).
chainIdstringChain ID (hex). 0x171 for PulseChain.

Example

Look up a transaction from block 0x100000:

curl -s -X POST https://rpc.pulsechain.box \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_getTransactionByHash",
    "params": ["0x01c5a8461d06c2c195035c148af0f871c7679841d86ae5bb98676bb2d8e68dfa"],
    "id": 1
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "hash": "0x01c5a8461d06c2c195035c148af0f871c7679841d86ae5bb98676bb2d8e68dfa",
    "nonce": "0x0",
    "blockHash": "0x...",
    "blockNumber": "0x100000",
    "transactionIndex": "0x0",
    "from": "0x68795c4aa09d6f4ed3e5deddf8c2ad3049a601da",
    "to": "0xdae787ec66e65c60ad35203800b97b45fcb0f909",
    "value": "0x2b81097c919a9e000",
    "gas": "0x...",
    "gasPrice": "0x...",
    "input": "0x...",
    "type": "0x0",
    "chainId": "0x171",
    "v": "0x...",
    "r": "0x...",
    "s": "0x..."
  }
}
TRY IT

Notes

  • Returns null if no transaction exists with the given hash.
  • For pending transactions (in the mempool), blockHash, blockNumber, and transactionIndex will be null.
  • The input field contains the calldata. For simple transfers it is "0x", for contract interactions it contains the ABI-encoded function call.
  • The to field is null for contract creation transactions.
  • Related methods: use eth_getTransactionReceipt to get the execution result (status, gas used, logs) of a confirmed transaction.
Copyright © 2026 AvecdrA. Made with love.