Parameters
string
default:"999999999"
required
Unique identifier for a blockchain network.
number
default:1
required
Request identifier used to match responses.
string
default:"2.0"
required
JSON-RPC version.
string
default:"eth_getRawTransactionByBlockNumberAndIndex"
required
JSON-RPC method name.
object
default:["0x10fb78","0x1"]
required
Parameters: [blockNumber, transactionIndex]Positional parameters for
eth_getRawTransactionByBlockNumberAndIndex:params[0]: The block number (hex string or tag like “latest”, “finalized”, “safe”).params[1]: The index of the transaction within the block (hexadecimal).
Returns
string
Raw transaction data as a hexadecimal string, including the full signed transaction. Example:
“0xf86c018504a817c8008252089471c7656ed63d30e271b7db6f5cb94d10d5c2b7b3880de0b6b3a76400008025a0ba4681b…”.