Skip to main content

Parameters

chainId
string
default:"5000"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"eth_getRawTransactionByBlockHashAndIndex"
required
JSON-RPC method name.
params
object
required
Parameters: [blockHash, transactionIndex]Positional parameters for eth_getRawTransactionByBlockHashAndIndex:
  • params[0]: The hash of the block containing the transaction.
  • params[1]: The index position of the transaction in the block (hexadecimal).

Returns

result
string
Raw transaction data as a hexadecimal string, including the signature. Example: “0xf86b018504a817c8008252089471c7656ed63d30e271b7db6f5cb94d10d5c2b7b3880de0b6b3a76400008026a0ba4681b…”.