跳转到内容

eth_getTransactionByBlockHashAndIndex

此内容尚不支持你的语言。

Returns transaction by block hash and index.

ParameterTypeRequiredDescription
blockHashhexYesBlock hash
indexhexYesTransaction index (hex)
{
"jsonrpc": "2.0",
"method": "eth_getTransactionByBlockHashAndIndex",
"params": [
"0x...",
"0x0"
],
"id": 1
}
Terminal window
curl -X POST https://arb-mainnet.blockreq.com/v1/rpc/public \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getTransactionByBlockHashAndIndex","params":["0x...","0x0"],"id":1}'