eth_getTransactionByBlockHashAndIndex - Arbitrum

Returns information about a transaction by block hash and transaction index position in Arbitrum network.

Path Params
string
required
Defaults to docs-demo

For higher throughput, create your own API key

Body Params
integer
Defaults to 1
string
Defaults to 2.0
params
array of strings
length between 2 and 2
Defaults to 0xbf06c77f6ed9a65441795eb8c2ccd694b3fc9b4d1be6066bf7ed52c73c5ec97c,0x64
  1. String - 32 Bytes - Hash of a block
  2. String - Integer of the transaction index position (in hex).
params
string
Defaults to eth_getTransactionByBlockHashAndIndex
Response

Response body
object
integer
string
result
object

A transaction object, or null when no transaction was found

string

32 Bytes - The hash of the block where the given transaction was included.

string

The number of the block where the given transaction was included.

string

The index of the transaction within the block.

string

The number of transactions made by the sender prior to this one.

string

32 Bytes - hash of the transaction.

string

For L1-to-L2 related transactions, will be the aliased version of the L1's msg.sender.

string

gas provided by the sender

string

gas price provided by the sender in Wei

string

the data send along with the transaction

string

ECDSA signature r

string

ECDSA signature s

string

20 Bytes - address of the receiver. null when it's a contract creation transaction

string

ECDSA recovery id

string

value transferred in Wei

string

Can also be one of the following codes, in addition to the standard transaction types:

  • 100 - ArbitrumDepositTxType: A deposit of ETH from L1 to L2 via the Arbitrum bridge.
  • 101 - ArbitrumUnsignedTxType: An L1 user can use to call an L2 contract via the bridge.
  • 102 - ArbitrumContractTxType: Allows an L1 contract to call an L2 contract method via the bridge.
  • 105 - ArbitrumSubmitRetryableTxType: Retryable tickets are submitted via the L1 bridge and allow arbitrary L1 to L2 messages to be created and executed on L2.
  • 104 - ArbitrumRetryTxType: Used to redeem a retryable ticket on L2, which finalizes a retryable that failed to execute automatically (usually due to low gas).
  • 106 - ArbitrumInternalTxType: Internal transactions created by the ArbOS itself for certain state updates, like L1 base fee and block number.

Standard transaction types:

  • 0 - LegacyTransaction: A legacy transaction.
  • 1 - AccessListTransaction: An EIP-2930 transaction.
  • 2 - FeeMarketEIP1559Transaction: An EIP-1559 transaction.
string

Added to L1-to-L2 transactions to indicate position in the Inbox queue.

Language
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json
ReadMe
Support Hub