Parameters
The hash of the requested transaction
Returns
The transaction's trace, which can be one of the following objects
The execution trace of an invoke transaction, which contains the following fields
(Optional) The trace of the validate call, omitted when SKIP_VALIDATE is set
The type of call. Possible values include - 'LIBRARY_CALL', 'CALL', 'DELEGATE'
The arguments passed to the function
The address of the invoking contract. 0 for the root invocation
The calls made by this invocation, each with the same fields as this object
The hash of the class being called
The address of the contract
The entry point selector
The type of entry point. Possible values include - 'EXTERNAL', 'L1_HANDLER', 'CONSTRUCTOR'
The events emitted in this invocation
The order of the event within the transaction
The keys associated with the event
The data associated with the event
The computational resources consumed by the call
The L1 gas consumed by the call
The L2 gas consumed by the call
Whether the invocation reverted
The messages sent by this invocation to L1
The order of the message within the transaction
The payload of the message
The target L1 address the message is sent to
The value returned from the function invocation
The trace of the execute call. If the transaction reverted, this is an object with a single 'revert_reason' field instead
The revert reason, returned in place of the invocation fields when the execution reverted
The type of call. Possible values include - 'LIBRARY_CALL', 'CALL', 'DELEGATE'
The arguments passed to the function
The address of the invoking contract. 0 for the root invocation
The calls made by this invocation, each with the same fields as this object
The hash of the class being called
The address of the contract
The entry point selector
The type of entry point. Possible values include - 'EXTERNAL', 'L1_HANDLER', 'CONSTRUCTOR'
The events emitted in this invocation
The order of the event within the transaction
The keys associated with the event
The data associated with the event
The computational resources consumed by the call
The L1 gas consumed by the call
The L2 gas consumed by the call
Whether the invocation reverted
The messages sent by this invocation to L1
The order of the message within the transaction
The payload of the message
The target L1 address the message is sent to
The value returned from the function invocation
(Optional) The trace of the fee transfer, omitted when SKIP_FEE_CHARGE is set
The type of call. Possible values include - 'LIBRARY_CALL', 'CALL', 'DELEGATE'
The arguments passed to the function
The address of the invoking contract. 0 for the root invocation
The calls made by this invocation, each with the same fields as this object
The hash of the class being called
The address of the contract
The entry point selector
The type of entry point. Possible values include - 'EXTERNAL', 'L1_HANDLER', 'CONSTRUCTOR'
The events emitted in this invocation
The order of the event within the transaction
The keys associated with the event
The data associated with the event
The computational resources consumed by the call
The L1 gas consumed by the call
The L2 gas consumed by the call
Whether the invocation reverted
The messages sent by this invocation to L1
The order of the message within the transaction
The payload of the message
The target L1 address the message is sent to
The value returned from the function invocation
The resources consumed by the transaction, including from L1 handler and validation
The L1 gas consumed by the transaction
The L1 data gas consumed by the transaction
The L2 gas consumed by the transaction
The state diff produced by the transaction, which contains the following fields
The declared class hash and compiled class hash
The hash of the declared class
The Cairo assembly hash corresponding to the declared class
The contracts deployed as part of the state update
The address of the contract
The hash of the contract code
The hashes of the declared deprecated (Cairo 0) classes
The updated nonce per contract address
The address of the contract
The nonce for the given address at the end of the block
The list of contracts whose class was replaced
The new class hash
The address of the contract whose class was replaced
The storage updates per contract address
The address of the contract whose storage was updated
The changed storage entries, each with a 'key' and a 'value'
The type of the traced transaction. It can take only one value - 'INVOKE'
The execution trace of a declare transaction, which contains the following fields
(Optional) The trace of the validate call, omitted when SKIP_VALIDATE is set
The type of call. Possible values include - 'LIBRARY_CALL', 'CALL', 'DELEGATE'
The arguments passed to the function
The address of the invoking contract. 0 for the root invocation
The calls made by this invocation, each with the same fields as this object
The hash of the class being called
The address of the contract
The entry point selector
The type of entry point. Possible values include - 'EXTERNAL', 'L1_HANDLER', 'CONSTRUCTOR'
The events emitted in this invocation
The order of the event within the transaction
The keys associated with the event
The data associated with the event
The computational resources consumed by the call
The L1 gas consumed by the call
The L2 gas consumed by the call
Whether the invocation reverted
The messages sent by this invocation to L1
The order of the message within the transaction
The payload of the message
The target L1 address the message is sent to
The value returned from the function invocation
(Optional) The trace of the fee transfer, omitted when SKIP_FEE_CHARGE is set
The type of call. Possible values include - 'LIBRARY_CALL', 'CALL', 'DELEGATE'
The arguments passed to the function
The address of the invoking contract. 0 for the root invocation
The calls made by this invocation, each with the same fields as this object
The hash of the class being called
The address of the contract
The entry point selector
The type of entry point. Possible values include - 'EXTERNAL', 'L1_HANDLER', 'CONSTRUCTOR'
The events emitted in this invocation
The order of the event within the transaction
The keys associated with the event
The data associated with the event
The computational resources consumed by the call
The L1 gas consumed by the call
The L2 gas consumed by the call
Whether the invocation reverted
The messages sent by this invocation to L1
The order of the message within the transaction
The payload of the message
The target L1 address the message is sent to
The value returned from the function invocation
The resources consumed by the transaction, including from L1 handler and validation
The L1 gas consumed by the transaction
The L1 data gas consumed by the transaction
The L2 gas consumed by the transaction
The state diff produced by the transaction, which contains the following fields
The declared class hash and compiled class hash
The hash of the declared class
The Cairo assembly hash corresponding to the declared class
The contracts deployed as part of the state update
The address of the contract
The hash of the contract code
The hashes of the declared deprecated (Cairo 0) classes
The updated nonce per contract address
The address of the contract
The nonce for the given address at the end of the block
The list of contracts whose class was replaced
The new class hash
The address of the contract whose class was replaced
The storage updates per contract address
The address of the contract whose storage was updated
The changed storage entries, each with a 'key' and a 'value'
The type of the traced transaction. It can take only one value - 'DECLARE'
The execution trace of a deploy account transaction, which contains the following fields
(Optional) The trace of the validate call, omitted when SKIP_VALIDATE is set
The type of call. Possible values include - 'LIBRARY_CALL', 'CALL', 'DELEGATE'
The arguments passed to the function
The address of the invoking contract. 0 for the root invocation
The calls made by this invocation, each with the same fields as this object
The hash of the class being called
The address of the contract
The entry point selector
The type of entry point. Possible values include - 'EXTERNAL', 'L1_HANDLER', 'CONSTRUCTOR'
The events emitted in this invocation
The order of the event within the transaction
The keys associated with the event
The data associated with the event
The computational resources consumed by the call
The L1 gas consumed by the call
The L2 gas consumed by the call
Whether the invocation reverted
The messages sent by this invocation to L1
The order of the message within the transaction
The payload of the message
The target L1 address the message is sent to
The value returned from the function invocation
The trace of the constructor call
The type of call. Possible values include - 'LIBRARY_CALL', 'CALL', 'DELEGATE'
The arguments passed to the function
The address of the invoking contract. 0 for the root invocation
The calls made by this invocation, each with the same fields as this object
The hash of the class being called
The address of the contract
The entry point selector
The type of entry point. Possible values include - 'EXTERNAL', 'L1_HANDLER', 'CONSTRUCTOR'
The events emitted in this invocation
The order of the event within the transaction
The keys associated with the event
The data associated with the event
The computational resources consumed by the call
The L1 gas consumed by the call
The L2 gas consumed by the call
Whether the invocation reverted
The messages sent by this invocation to L1
The order of the message within the transaction
The payload of the message
The target L1 address the message is sent to
The value returned from the function invocation
(Optional) The trace of the fee transfer, omitted when SKIP_FEE_CHARGE is set
The type of call. Possible values include - 'LIBRARY_CALL', 'CALL', 'DELEGATE'
The arguments passed to the function
The address of the invoking contract. 0 for the root invocation
The calls made by this invocation, each with the same fields as this object
The hash of the class being called
The address of the contract
The entry point selector
The type of entry point. Possible values include - 'EXTERNAL', 'L1_HANDLER', 'CONSTRUCTOR'
The events emitted in this invocation
The order of the event within the transaction
The keys associated with the event
The data associated with the event
The computational resources consumed by the call
The L1 gas consumed by the call
The L2 gas consumed by the call
Whether the invocation reverted
The messages sent by this invocation to L1
The order of the message within the transaction
The payload of the message
The target L1 address the message is sent to
The value returned from the function invocation
The resources consumed by the transaction, including from L1 handler and validation
The L1 gas consumed by the transaction
The L1 data gas consumed by the transaction
The L2 gas consumed by the transaction
The state diff produced by the transaction, which contains the following fields
The declared class hash and compiled class hash
The hash of the declared class
The Cairo assembly hash corresponding to the declared class
The contracts deployed as part of the state update
The address of the contract
The hash of the contract code
The hashes of the declared deprecated (Cairo 0) classes
The updated nonce per contract address
The address of the contract
The nonce for the given address at the end of the block
The list of contracts whose class was replaced
The new class hash
The address of the contract whose class was replaced
The storage updates per contract address
The address of the contract whose storage was updated
The changed storage entries, each with a 'key' and a 'value'
The type of the traced transaction. It can take only one value - 'DEPLOY_ACCOUNT'
The execution trace of an L1 handler transaction, which contains the following fields
The trace of the L1 handler call. If the transaction reverted, this is an object with a single 'revert_reason' field instead
The type of call. Possible values include - 'LIBRARY_CALL', 'CALL', 'DELEGATE'
The arguments passed to the function
The address of the invoking contract. 0 for the root invocation
The calls made by this invocation, each with the same fields as this object
The hash of the class being called
The address of the contract
The entry point selector
The type of entry point. Possible values include - 'EXTERNAL', 'L1_HANDLER', 'CONSTRUCTOR'
The events emitted in this invocation
The order of the event within the transaction
The keys associated with the event
The data associated with the event
The computational resources consumed by the call
The L1 gas consumed by the call
The L2 gas consumed by the call
Whether the invocation reverted
The messages sent by this invocation to L1
The order of the message within the transaction
The payload of the message
The target L1 address the message is sent to
The value returned from the function invocation
The resources consumed by the transaction, including from L1 handler and validation
The L1 gas consumed by the transaction
The L1 data gas consumed by the transaction
The L2 gas consumed by the transaction
The state diff produced by the transaction, which contains the following fields
The declared class hash and compiled class hash
The hash of the declared class
The Cairo assembly hash corresponding to the declared class
The contracts deployed as part of the state update
The address of the contract
The hash of the contract code
The hashes of the declared deprecated (Cairo 0) classes
The updated nonce per contract address
The address of the contract
The nonce for the given address at the end of the block
The list of contracts whose class was replaced
The new class hash
The address of the contract whose class was replaced
The storage updates per contract address
The address of the contract whose storage was updated
The changed storage entries, each with a 'key' and a 'value'
The type of the traced transaction. It can take only one value - 'L1_HANDLER'