post https://scroll-testnet.unifra.io/v1/
Returns information about a transaction by block hash and transaction index position.
Parameters
DATA, 32 Bytes - Hash of a block.
QUANTITY - Integer of the transaction index position.
params: [
"0xc0f4906fea23cf6f3cce98cb44e8e1449e455b28d684dfa9ff65426495584de6",
"0x0", // 0
];
Returns
See eth_getTransactionByHash.
Example
Request
curl --location --request POST 'https://scroll-testnet.unifra.io/v1/your-api-key' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"method": "eth_getTransactionByBlockHashAndIndex",
"params": [
"0x7377c6bcf268755e8f662748974b5afcd55a8f8c2bbe14827a03a1fc7261003b",
"0x0"
],
"id": 0
}'