Parameters
- block_idstringREQUIRED
The hash of the requested block, the block number (height) of the requested block, or a block tag (latest, pre_confirmed, or l1_accepted)
Returns
- resultobject
The result object which can be one of the following object:
- BLOCK_WITH_RECEIPTSobject
(Optional) The block with receipts object which have the following fields
- statusstring
The block status, which can be one of - 'PRE_CONFIRMED', 'ACCEPTED_ON_L2', 'ACCEPTED_ON_L1'
- block_hashstring
The block hash
- parent_hashstring
The parent block hash
- block_numberstring
The block number (its height)
- new_rootstring
The new global state root
- timestampinteger
The time in which the block was created, encoded in Unix time
- sequencer_addressstring
The StarkNet identity of the sequencer submitting this block
- l1_gas_priceobject
The price of l1 gas in the block
- price_in_fristring
The price of one unit of the given resource, denominated in fri (10^-18 strk)
- price_in_weistring
The price of one unit of the given resource, denominated in wei
- l2_gas_priceobject
The price of l2 gas in the block
- price_in_fristring
The price of one unit of the given resource, denominated in fri (10^-18 strk)
- price_in_weistring
The price of one unit of the given resource, denominated in wei
- l1_data_gas_priceobject
The price of l1 data gas in the block
- price_in_fristring
The price of one unit of the given resource, denominated in fri (10^-18 strk)
- price_in_weistring
The price of one unit of the given resource, denominated in wei
- l1_da_modestring
It specifies whether the data of this block is published via blob data or calldata. It can be one of - 'BLOB' or 'CALLDATA'
- starknet_versionstring
The semver of the current Starknet protocol
- transactionsobject
The transaction object which contains the following objects:
- transactionobject
The transaction object which can have one of the following object:
- INVOKE_TXNstring
(Optional) The Invoke transaction object which can have one of the following object:
- INVOKE_TXN_V0object
The invoke transaction V0 object which contains the following field:
- typestring
The type of declare. It can take only one value - 'INVOKE'
- max_feestring
The maximal fee that can be charged for including the transaction
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- contract_addressstring
The address of the contract
- entry_point_selectorstring
The entry point selector
- calldataarray
The parameters passed to the constructor
- INVOKE_TXN_V1object
The invoke transaction V1 object which contains the following field:
- typestring
The type of declare. It can take only one value - 'INVOKE'
- sender_addressstring
The sender address
- calldataarray
The parameters passed to the constructor
- max_feestring
The maximal fee that can be charged for including the transaction
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- noncestring
The nonce value
- INVOKE_TXN_V3object
The invoke transaction V3 object which contains the following field:
- typestring
The type of declare. It can take only one value - 'INVOKE'
- sender_addressstring
The sender address
- calldataarray
The parameters passed to the constructor
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- noncestring
The nonce value
- resource_boundsobject
The resource bounds for the transaction execution
- l1_gasstring
The max amount and max price per unit of L1 gas used in this tx
- max_amountstring
The max amount of the resource that can be used in the tx
- max_price_per_unitstring
The max price per unit of this resource for this tx
- l2_gasstring
The max amount and max price per unit of L2 gas used in this tx
- max_amountstring
The max amount of the resource that can be used in the tx
- max_price_per_unitstring
The max price per unit of this resource for this tx
- tipstring
The tip for the transaction
- paymaster_dataarray
The data needed to allow the paymaster to pay for the transaction in native tokens
- account_deployment_dataarray
The data needed to deploy the account contract from which this tx will be initiated
- nonce_data_availability_modestring
The storage domain of the account's nonce (an account has a nonce per DA mode). It can be one of 'L1' or 'L2'
- fee_data_availability_modestring
The storage domain of the account's balance from which fee will be charged. It can be one of 'L1' or 'L2'
- L1_HANDLER_TXNobject
(Optional) The L1 Handler transaction object which contains the following fields:
- versionstring
The version of the transaction scheme
- typestring
The type of the L1 transaction handler('L1_HANDLER')
- noncestring
The L1->L2 message nonce field of the SN Core L1 contract at the time the transaction was sent
- contract_addressstring
The contract address
- entry_point_selectorstring
The entry point selector
- calldataarray
The parameters passed to the function
- DECLARE_TXNobject
(Optional) The declare transaction object which can have one the following object:
- DECLARE_TXN_V0object
The declare contract transaction V0 which contains the following fields:
- typestring
The type of declare. It can take only one value - 'DECLARE'
- sender_addressstring
The address of the account contract sending the declaration transaction
- max_feestring
The maximal fee that can be charged for including the transaction
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- class_hashstring
The hash of the declared class
- DECLARE_TXN_V1object
The declare contract transaction V1 which contains the following fields:
- typestring
The type of declare. It can take only one value - 'DECLARE'
- sender_addressstring
The address of the account contract sending the declaration transaction
- max_feestring
The maximal fee that can be charged for including the transaction
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- noncestring
The nonce
- class_hashstring
The hash of the declared class
- DECLARE_TXN_V2object
The declare contract transaction V2 which contains the following fields:
- typestring
The type of declare. It can take only one value - 'DECLARE'
- sender_addressstring
The address of the account contract sending the declaration transaction
- max_feestring
The maximal fee that can be charged for including the transaction
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- noncestring
The nonce
- class_hashstring
The hash of the declared class
- DECLARE_TXN_V3object
The declare Contract Transaction V3 which have the following fields:
- typestring
The type of declare. It can take only one value - 'DECLARE'
- sender_addressstring
The address of the account contract sending the declaration transaction
- compiled_class_hashstring
The hash of the Cairo assembly resulting from the Sierra compilation
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- noncestring
The nonce value
- class_hashstring
The hash of the declared class
- resource_boundsobject
The resource bounds for the transaction execution
- l1_gasstring
The max amount and max price per unit of L1 gas used in this tx
- max_amountstring
The max amount of the resource that can be used in the tx
- max_price_per_unitstring
The max price per unit of this resource for this tx
- l2_gasstring
The max amount and max price per unit of L2 gas used in this tx
- max_amountstring
The max amount of the resource that can be used in the tx
- max_price_per_unitstring
The max price per unit of this resource for this tx
- tipstring
The tip for the transaction
- paymaster_dataarray
The data needed to allow the paymaster to pay for the transaction in native tokens
- account_deployment_dataarray
The data needed to deploy the account contract from which this tx will be initiated
- nonce_data_availability_modestring
The storage domain of the account's nonce (an account has a nonce per DA mode). It can be one of 'L1' or 'L2'
- fee_data_availability_modestring
The storage domain of the account's balance from which fee will be charged. It can be one of 'L1' or 'L2'
- DEPLOY_TXNobject
(Optional) The structure of a deploy transaction. Note that this transaction type is deprecated and will no longer be supported in future versions. It contains the following fields:
- versionstring
The version of the transaction scheme
- typestring
The type of the L1 transaction handler('L1_HANDLER')
- contract_address_saltstring
The salt for the address of the deployed contract
- constructor_calldatastring
The parameters passed to the constructor
- class_hashstring
The hash of the deployed contract's class
- DEPLOY_ACCOUNT_TXNobject
(Optional) The deploy account transaction object which can have one of the following objects:
- DEPLOY_ACCOUNT_TXN_V1object
It deploys an account contract, charges fee from the pre-funded account addresses. It consist of following fields:
- typestring
The type of declare. It can take only one value - 'DEPLOY_ACCOUNT'
- max_feestring
The maximal fee that can be charged for including the transaction
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- noncestring
The nonce value
- contract_address_saltstring
The salt for the address of the deployed contract
- constructor_calldataarray
The parameters passed to the constructor
- class_hashstring
The hash of the deployed contract's class
- DEPLOY_ACCOUNT_TXN_V3object
It deploys an account contract, charges fee from the pre-funded account addresses. It consist of following fields:
- typestring
The type of declare. It can take only one value - 'DEPLOY_ACCOUNT'
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- noncestring
The nonce value
- contract_address_saltstring
The salt for the address of the deployed contract
- constructor_calldataarray
The parameters passed to the constructor
- class_hashstring
The hash of the deployed contract's class
- resource_boundsobject
The resource bounds for the transaction execution
- l1_gasstring
The max amount and max price per unit of L1 gas used in this tx
- max_amountstring
The max amount of the resource that can be used in the tx
- max_price_per_unitstring
The max price per unit of this resource for this tx
- l2_gasstring
The max amount and max price per unit of L2 gas used in this tx
- max_amountstring
The max amount of the resource that can be used in the tx
- max_price_per_unitstring
The max price per unit of this resource for this tx
- tipstring
The tip for the transaction
- paymaster_dataarray
The data needed to allow the paymaster to pay for the transaction in native tokens
- account_deployment_dataarray
The data needed to deploy the account contract from which this tx will be initiated
- nonce_data_availability_modestring
The storage domain of the account's nonce (an account has a nonce per DA mode). It can be one of 'L1' or 'L2'
- fee_data_availability_modestring
The storage domain of the account's balance from which fee will be charged. It can be one of 'L1' or 'L2'
- receiptobject
The receipt object which can have one of the following object:
- 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
- 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
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
- 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
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
- 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
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
- 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
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
- 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
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
- PRE_CONFIRMED_BLOCK_WITH_TX_HASHESobject
(Optional) The pre-confirmed block with transaction hashes object which have the following fields. Note that this object will be deprecated upon decentralization
- block_numberinteger
The block number of the block that the proposer is currently building. Note that this is a local view of the node, whose accuracy depends on its polling interval length
- timestampinteger
The time in which the block was created, encoded in Unix time
- sequencer_addressstring
The StarkNet identity of the sequencer submitting this block
- l1_gas_priceobject
The price of l1 gas in the block
- price_in_fristring
The price of one unit of the given resource, denominated in fri (10^-18 strk)
- price_in_weistring
The price of one unit of the given resource, denominated in wei
- l2_gas_priceobject
The price of l2 gas in the block
- price_in_fristring
The price of one unit of the given resource, denominated in fri (10^-18 strk)
- price_in_weistring
The price of one unit of the given resource, denominated in wei
- l1_data_gas_priceobject
The price of l1 data gas in the block
- price_in_fristring
The price of one unit of the given resource, denominated in fri (10^-18 strk)
- price_in_weistring
The price of one unit of the given resource, denominated in wei
- l1_da_modestring
It specifies whether the data of this block is published via blob data or calldata. It can be one of - 'BLOB' or 'CALLDATA'
- starknet_versionstring
The semver of the current Starknet protocol
- transactionsobject
The transaction object which contains the following objects:
- transactionobject
The transaction object which can have one of the following object:
- INVOKE_TXNstring
(Optional) The Invoke transaction object which can have one of the following object:
- INVOKE_TXN_V0object
The invoke transaction V0 object which contains the following field:
- typestring
The type of declare. It can take only one value - 'INVOKE'
- max_feestring
The maximal fee that can be charged for including the transaction
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- contract_addressstring
The address of the contract
- entry_point_selectorstring
The entry point selector
- calldataarray
The parameters passed to the constructor
- INVOKE_TXN_V1object
The invoke transaction V1 object which contains the following field:
- typestring
The type of declare. It can take only one value - 'INVOKE'
- sender_addressstring
The sender address
- calldataarray
The parameters passed to the constructor
- max_feestring
The maximal fee that can be charged for including the transaction
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- noncestring
The nonce value
- INVOKE_TXN_V3object
The invoke transaction V3 object which contains the following field:
- typestring
The type of declare. It can take only one value - 'INVOKE'
- sender_addressstring
The sender address
- calldataarray
The parameters passed to the constructor
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- noncestring
The nonce value
- resource_boundsobject
The resource bounds for the transaction execution
- l1_gasstring
The max amount and max price per unit of L1 gas used in this tx
- max_amountstring
The max amount of the resource that can be used in the tx
- max_price_per_unitstring
The max price per unit of this resource for this tx
- l2_gasstring
The max amount and max price per unit of L2 gas used in this tx
- max_amountstring
The max amount of the resource that can be used in the tx
- max_price_per_unitstring
The max price per unit of this resource for this tx
- tipstring
The tip for the transaction
- paymaster_dataarray
The data needed to allow the paymaster to pay for the transaction in native tokens
- account_deployment_dataarray
The data needed to deploy the account contract from which this tx will be initiated
- nonce_data_availability_modestring
The storage domain of the account's nonce (an account has a nonce per DA mode). It can be one of 'L1' or 'L2'
- fee_data_availability_modestring
The storage domain of the account's balance from which fee will be charged. It can be one of 'L1' or 'L2'
- L1_HANDLER_TXNobject
(Optional) The L1 Handler transaction object which contains the following fields:
- versionstring
The version of the transaction scheme
- typestring
The type of the L1 transaction handler('L1_HANDLER')
- noncestring
The L1->L2 message nonce field of the SN Core L1 contract at the time the transaction was sent
- contract_addressstring
The contract address
- entry_point_selectorstring
The entry point selector
- calldataarray
The parameters passed to the function
- DECLARE_TXNobject
(Optional) The declare transaction object which can have one the following object:
- DECLARE_TXN_V0object
The declare contract transaction V0 which contains the following fields:
- typestring
The type of declare. It can take only one value - 'DECLARE'
- sender_addressstring
The address of the account contract sending the declaration transaction
- max_feestring
The maximal fee that can be charged for including the transaction
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- class_hashstring
The hash of the declared class
- DECLARE_TXN_V1object
The declare contract transaction V1 which contains the following fields:
- typestring
The type of declare. It can take only one value - 'DECLARE'
- sender_addressstring
The address of the account contract sending the declaration transaction
- max_feestring
The maximal fee that can be charged for including the transaction
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- noncestring
The nonce
- class_hashstring
The hash of the declared class
- DECLARE_TXN_V2object
The declare contract transaction V2 which contains the following fields:
- typestring
The type of declare. It can take only one value - 'DECLARE'
- sender_addressstring
The address of the account contract sending the declaration transaction
- max_feestring
The maximal fee that can be charged for including the transaction
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- noncestring
The nonce
- class_hashstring
The hash of the declared class
- DECLARE_TXN_V3object
The declare Contract Transaction V3 which have the following fields:
- typestring
The type of declare. It can take only one value - 'DECLARE'
- sender_addressstring
The address of the account contract sending the declaration transaction
- compiled_class_hashstring
The hash of the Cairo assembly resulting from the Sierra compilation
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- noncestring
The nonce value
- class_hashstring
The hash of the declared class
- resource_boundsobject
The resource bounds for the transaction execution
- l1_gasstring
The max amount and max price per unit of L1 gas used in this tx
- max_amountstring
The max amount of the resource that can be used in the tx
- max_price_per_unitstring
The max price per unit of this resource for this tx
- l2_gasstring
The max amount and max price per unit of L2 gas used in this tx
- max_amountstring
The max amount of the resource that can be used in the tx
- max_price_per_unitstring
The max price per unit of this resource for this tx
- tipstring
The tip for the transaction
- paymaster_dataarray
The data needed to allow the paymaster to pay for the transaction in native tokens
- account_deployment_dataarray
The data needed to deploy the account contract from which this tx will be initiated
- nonce_data_availability_modestring
The storage domain of the account's nonce (an account has a nonce per DA mode). It can be one of 'L1' or 'L2'
- fee_data_availability_modestring
The storage domain of the account's balance from which fee will be charged. It can be one of 'L1' or 'L2'
- DEPLOY_TXNobject
(Optional) The structure of a deploy transaction. Note that this transaction type is deprecated and will no longer be supported in future versions. It contains the following fields:
- versionstring
The version of the transaction scheme
- typestring
The type of the L1 transaction handler('L1_HANDLER')
- contract_address_saltstring
The salt for the address of the deployed contract
- constructor_calldatastring
The parameters passed to the constructor
- class_hashstring
The hash of the deployed contract's class
- DEPLOY_ACCOUNT_TXNobject
(Optional) The deploy account transaction object which can have one of the following objects:
- DEPLOY_ACCOUNT_TXN_V1object
It deploys an account contract, charges fee from the pre-funded account addresses. It consist of following fields:
- typestring
The type of declare. It can take only one value - 'DEPLOY_ACCOUNT'
- max_feestring
The maximal fee that can be charged for including the transaction
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- noncestring
The nonce value
- contract_address_saltstring
The salt for the address of the deployed contract
- constructor_calldataarray
The parameters passed to the constructor
- class_hashstring
The hash of the deployed contract's class
- DEPLOY_ACCOUNT_TXN_V3object
It deploys an account contract, charges fee from the pre-funded account addresses. It consist of following fields:
- typestring
The type of declare. It can take only one value - 'DEPLOY_ACCOUNT'
- versionstring
The version of the transaction scheme
- signaturestring
The signature associated with the transaction
- noncestring
The nonce value
- contract_address_saltstring
The salt for the address of the deployed contract
- constructor_calldataarray
The parameters passed to the constructor
- class_hashstring
The hash of the deployed contract's class
- resource_boundsobject
The resource bounds for the transaction execution
- l1_gasstring
The max amount and max price per unit of L1 gas used in this tx
- max_amountstring
The max amount of the resource that can be used in the tx
- max_price_per_unitstring
The max price per unit of this resource for this tx
- l2_gasstring
The max amount and max price per unit of L2 gas used in this tx
- max_amountstring
The max amount of the resource that can be used in the tx
- max_price_per_unitstring
The max price per unit of this resource for this tx
- tipstring
The tip for the transaction
- paymaster_dataarray
The data needed to allow the paymaster to pay for the transaction in native tokens
- account_deployment_dataarray
The data needed to deploy the account contract from which this tx will be initiated
- nonce_data_availability_modestring
The storage domain of the account's nonce (an account has a nonce per DA mode). It can be one of 'L1' or 'L2'
- fee_data_availability_modestring
The storage domain of the account's balance from which fee will be charged. It can be one of 'L1' or 'L2'
- receiptobject
The receipt object which can have one of the following object:
- 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
- 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
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
- 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
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
- 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
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
- 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
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
- 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
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