Parameters
- transaction_hashstringREQUIRED
The hash of the requested transaction
Returns
- resultobject
The result object which contains one of the following object:
- TXN_RECEIPT_WITH_BLOCK_INFOobject
(Optional) The transaction receipt together with its block info. A pre-confirmed receipt has the same shape, with block_hash omitted. It can be one of the following objects
- INVOKE_TXN_RECEIPTobject
The invoke transaction receipt object which contains one of the following object:
- typestring
The type. The values it can take includes 'INVOKE'
- transaction_hashstring
The hash identifying the transaction
- block_hashstring
(Optional) The hash of the block including the transaction; omitted when the transaction is pre-confirmed and not yet part of a block
- block_numberinteger
The number of the block including the transaction
- actual_feestring
The fee that was charged by the sequencer
- amountstring
The amount paid
- unitstring
The units in which the fee is given
- execution_statusstring
The execution status. Possible values includes - 'SUCCEEDED' or 'REVERTED'
- finality_statusstring
The finality status of the tx. Possible values includes - 'PRE_CONFIRMED', 'ACCEPTED_ON_L2' or 'ACCEPTED_ON_L1'
- messages_sentarray
The Messages sent
- from_addressstring
The address of the L2 contract sending the message
- to_addressstring
The target L1 address the message is sent to
- payloadstring
The payload of the message
- revert_reasonstring
(Optional) The revert reason for the failed execution
- eventsarray
The events emitted as part of this transaction
- from_addressstring
The address of the L2 contract sending the message
- keysarray
The keys associated with the event
- dataarray
The data associated with the event
- execution_resourcesobject
The resources consumed by the transaction, which contains the following fields
- l1_gasinteger
The L1 gas consumed by the transaction
- l1_data_gasinteger
The L1 data gas consumed by the transaction
- l2_gasinteger
The L2 gas consumed by the transaction
- L1_HANDLER_TXN_RECEIPTobject
The L1 handler transaction receipt object which contains one of the following object:
- typestring
The type. The values it can take includes 'L1_HANDLER'
- message_hashstring
The message hash as it appears on the L1 core contract
- transaction_hashstring
The hash identifying the transaction
- block_hashstring
(Optional) The hash of the block including the transaction; omitted when the transaction is pre-confirmed and not yet part of a block
- block_numberinteger
The number of the block including the transaction
- actual_feestring
The fee that was charged by the sequencer
- amountstring
The amount paid
- unitstring
The units in which the fee is given
- execution_statusstring
The execution status. Possible values includes - 'SUCCEEDED' or 'REVERTED'
- finality_statusstring
The finality status of the tx. Possible values includes - 'PRE_CONFIRMED', 'ACCEPTED_ON_L2' or 'ACCEPTED_ON_L1'
- messages_sentarray
The Messages sent
- from_addressstring
The address of the L2 contract sending the message
- to_addressstring
The target L1 address the message is sent to
- payloadstring
The payload of the message
- revert_reasonstring
(Optional) The revert reason for the failed execution
- eventsarray
The events emitted as part of this transaction
- from_addressstring
The address of the L2 contract sending the message
- keysarray
The keys associated with the event
- dataarray
The data associated with the event
- execution_resourcesobject
The resources consumed by the transaction, which contains the following fields
- l1_gasinteger
The L1 gas consumed by the transaction
- l1_data_gasinteger
The L1 data gas consumed by the transaction
- l2_gasinteger
The L2 gas consumed by the transaction
- DECLARE_TXN_RECEIPTobject
The declare transaction receipt object which contains one of the following object:
- typestring
The type. The values it can take includes 'DECLARE'
- transaction_hashstring
The hash identifying the transaction
- block_hashstring
(Optional) The hash of the block including the transaction; omitted when the transaction is pre-confirmed and not yet part of a block
- block_numberinteger
The number of the block including the transaction
- actual_feestring
The fee that was charged by the sequencer
- amountstring
The amount paid
- unitstring
The units in which the fee is given
- execution_statusstring
The execution status. Possible values includes - 'SUCCEEDED' or 'REVERTED'
- finality_statusstring
The finality status of the tx. Possible values includes - 'PRE_CONFIRMED', 'ACCEPTED_ON_L2' or 'ACCEPTED_ON_L1'
- messages_sentarray
The Messages sent
- from_addressstring
The address of the L2 contract sending the message
- to_addressstring
The target L1 address the message is sent to
- payloadstring
The payload of the message
- revert_reasonstring
(Optional) The revert reason for the failed execution
- eventsarray
The events emitted as part of this transaction
- from_addressstring
The address of the L2 contract sending the message
- keysarray
The keys associated with the event
- dataarray
The data associated with the event
- execution_resourcesobject
The resources consumed by the transaction, which contains the following fields
- l1_gasinteger
The L1 gas consumed by the transaction
- l1_data_gasinteger
The L1 data gas consumed by the transaction
- l2_gasinteger
The L2 gas consumed by the transaction
- DEPLOY_TXN_RECEIPTobject
The deploy transaction receipt object which contains one of the following object:
- typestring
The type. The values it can take includes 'DEPLOY'
- contract_addressstring
The address of the deployed contract
- transaction_hashstring
The hash identifying the transaction
- block_hashstring
(Optional) The hash of the block including the transaction; omitted when the transaction is pre-confirmed and not yet part of a block
- block_numberinteger
The number of the block including the transaction
- actual_feestring
The fee that was charged by the sequencer
- amountstring
The amount paid
- unitstring
The units in which the fee is given
- execution_statusstring
The execution status. Possible values includes - 'SUCCEEDED' or 'REVERTED'
- finality_statusstring
The finality status of the tx. Possible values includes - 'PRE_CONFIRMED', 'ACCEPTED_ON_L2' or 'ACCEPTED_ON_L1'
- messages_sentarray
The Messages sent
- from_addressstring
The address of the L2 contract sending the message
- to_addressstring
The target L1 address the message is sent to
- payloadstring
The payload of the message
- revert_reasonstring
(Optional) The revert reason for the failed execution
- eventsarray
The events emitted as part of this transaction
- from_addressstring
The address of the L2 contract sending the message
- keysarray
The keys associated with the event
- dataarray
The data associated with the event
- execution_resourcesobject
The resources consumed by the transaction, which contains the following fields
- l1_gasinteger
The L1 gas consumed by the transaction
- l1_data_gasinteger
The L1 data gas consumed by the transaction
- l2_gasinteger
The L2 gas consumed by the transaction
- DEPLOY_ACCOUNT_TXN_RECEIPTobject
The deploy account transaction receipt object which contains one of the following object:
- typestring
The type. The values it can take includes 'DEPLOY_ACCOUNT'
- contract_addressstring
The address of the deployed contract
- transaction_hashstring
The hash identifying the transaction
- block_hashstring
(Optional) The hash of the block including the transaction; omitted when the transaction is pre-confirmed and not yet part of a block
- block_numberinteger
The number of the block including the transaction
- actual_feestring
The fee that was charged by the sequencer
- amountstring
The amount paid
- unitstring
The units in which the fee is given
- execution_statusstring
The execution status. Possible values includes - 'SUCCEEDED' or 'REVERTED'
- finality_statusstring
The finality status of the tx. Possible values includes - 'PRE_CONFIRMED', 'ACCEPTED_ON_L2' or 'ACCEPTED_ON_L1'
- messages_sentarray
The Messages sent
- from_addressstring
The address of the L2 contract sending the message
- to_addressstring
The target L1 address the message is sent to
- payloadstring
The payload of the message
- revert_reasonstring
(Optional) The revert reason for the failed execution
- eventsarray
The events emitted as part of this transaction
- from_addressstring
The address of the L2 contract sending the message
- keysarray
The keys associated with the event
- dataarray
The data associated with the event
- execution_resourcesobject
The resources consumed by the transaction, which contains the following fields
- l1_gasinteger
The L1 gas consumed by the transaction
- l1_data_gasinteger
The L1 data gas consumed by the transaction
- l2_gasinteger
The L2 gas consumed by the transaction