Documentation Index
Fetch the complete documentation index at: https://goldrush.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
0.01 credits per call
eth_getTransactionByBlockNumberAndIndex on MegaETH: Returns the transaction at a given index inside a block, identified by block number.
Endpoint
Authorization: Bearer <YOUR_GOLDRUSH_API_KEY>. See authentication.
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
blockTag | QUANTITY | TAG | yes | Block number (hex) or block tag. | "latest" |
index | QUANTITY | yes | Hex-encoded index of the transaction inside the block. | "0x0" |
Returns
Object | null: Transaction object, or null if the index is out of range.
Examples
Errors
Standard JSON-RPC errors:-32600 invalid request, -32601 method not found, -32602 invalid params.
Related Transactions info methods on MegaETH
eth_getTransactionCounton MegaETHeth_getTransactionByHashon MegaETHeth_getTransactionByBlockHashAndIndexon MegaETHeth_getTransactionReceipton MegaETH