跳至主要內容

starknet_simulateTransactions RPC Method

載入中...

更新於
Mar 18, 2024

starknet_simulateTransactions RPC Method

Please note that some of the transactions may revert, in which case no error is thrown, but revert details can be seen on the returned trace object. Additionally, the revert_error property in the trace will indicate any transactions that have experienced a revert. Other types of failures (e.g. unexpected error or failure in the validation phase) will result in TRANSACTION_EXECUTION_ERROR.

參數

block_id
字串
必填
載入中...
交易
陣列
必填
載入中...
BROADCASTED_INVOKE_TXN_V3
物件
載入中...
類型
字串
必填
載入中...
寄件者地址
字串
必填
載入中...
calldata
陣列
必填
載入中...
版本
字串
必填
載入中...
簽名
字串
必填
載入中...
非重複數
字串
必填
載入中...
resource_bounds
物件
必填
載入中...
l1_gas
物件
必填
載入中...
max_amount
字串
必填
載入中...
max_price_per_unit
字串
必填
載入中...
l1_data_gas
物件
必填
載入中...
max_amount
字串
必填
載入中...
max_price_per_unit
字串
必填
載入中...
l2_gas
物件
必填
載入中...
max_amount
字串
必填
載入中...
max_price_per_unit
字串
必填
載入中...
提示
字串
必填
載入中...
paymaster_data
陣列
必填
載入中...
account_deployment_data
陣列
必填
載入中...
nonce_data_availability_mode
字串
必填
載入中...
fee_data_availability_mode
字串
必填
載入中...
BROADCASTED_DECLARE_TXN_V3
物件
載入中...
類型
字串
必填
載入中...
寄件者地址
字串
必填
載入中...
compiled_class_hash
字串
必填
載入中...
版本
字串
必填
載入中...
簽名
字串
必填
載入中...
非重複數
字串
必填
載入中...
contract_class
物件
必填
載入中...
sierra_program
陣列
必填
載入中...
contract_class_version
字串
必填
載入中...
entry_points_by_type
物件
必填
載入中...
CONSTRUCTOR
陣列
必填
載入中...
selector
字串
必填
載入中...
function_idx
整數
必填
載入中...
EXTERNAL
陣列
必填
載入中...
selector
字串
必填
載入中...
function_idx
整數
必填
載入中...
L1_HANDLER
陣列
必填
載入中...
selector
字串
必填
載入中...
function_idx
整數
必填
載入中...
abi
字串
載入中...
resource_bounds
物件
必填
載入中...
l1_gas
物件
必填
載入中...
max_amount
字串
必填
載入中...
max_price_per_unit
字串
必填
載入中...
l1_data_gas
物件
必填
載入中...
max_amount
字串
必填
載入中...
max_price_per_unit
字串
必填
載入中...
l2_gas
物件
必填
載入中...
max_amount
字串
必填
載入中...
max_price_per_unit
字串
必填
載入中...
提示
字串
必填
載入中...
paymaster_data
陣列
必填
載入中...
account_deployment_data
陣列
必填
載入中...
nonce_data_availability_mode
字串
必填
載入中...
fee_data_availability_mode
字串
必填
載入中...
BROADCASTED_DEPLOY_ACCOUNT_TXN_V3
物件
載入中...
類型
字串
必填
載入中...
版本
字串
必填
載入中...
簽名
字串
必填
載入中...
非重複數
字串
必填
載入中...
contract_address_salt
字串
必填
載入中...
constructor_calldata
陣列
必填
載入中...
class_hash
字串
必填
載入中...
resource_bounds
物件
必填
載入中...
l1_gas
物件
必填
載入中...
max_amount
字串
必填
載入中...
max_price_per_unit
字串
必填
載入中...
l1_data_gas
物件
必填
載入中...
max_amount
字串
必填
載入中...
max_price_per_unit
字串
必填
載入中...
l2_gas
物件
必填
載入中...
max_amount
字串
必填
載入中...
max_price_per_unit
字串
必填
載入中...
提示
字串
必填
載入中...
paymaster_data
陣列
必填
載入中...
nonce_data_availability_mode
字串
必填
載入中...
fee_data_availability_mode
字串
必填
載入中...
simulation_flags
陣列
必填
載入中...

退貨

結果
陣列
載入中...
fee_estimation
物件
載入中...
l1_gas_consumed
字串
載入中...
l1_gas_price
字串
載入中...
l1_data_gas_consumed
字串
載入中...
l1_data_gas_price
字串
載入中...
l2_gas_consumed
字串
載入中...
l2_gas_price
字串
載入中...
overall_fee
字串
載入中...
unit
字串
載入中...
transaction_trace
物件
載入中...
INVOKE_TXN_TRACE
物件
載入中...
validate_invocation
物件
載入中...
call_type
字串
載入中...
calldata
陣列
載入中...
caller_address
字串
載入中...
呼叫
陣列
載入中...
class_hash
字串
載入中...
contract_address
字串
載入中...
entry_point_selector
字串
載入中...
entry_point_type
字串
載入中...
events
陣列
載入中...
訂單
整數
載入中...
keys
陣列
載入中...
資料
陣列
載入中...
execution_resources
物件
載入中...
l1_gas
整數
載入中...
l2_gas
整數
載入中...
is_reverted
布林值
載入中...
messages
陣列
載入中...
訂單
整數
載入中...
payload
陣列
載入中...
to_address
字串
載入中...
結果
陣列
載入中...
execute_invocation
物件
載入中...
revert_reason
字串
載入中...
call_type
字串
載入中...
calldata
陣列
載入中...
caller_address
字串
載入中...
呼叫
陣列
載入中...
class_hash
字串
載入中...
contract_address
字串
載入中...
entry_point_selector
字串
載入中...
entry_point_type
字串
載入中...
events
陣列
載入中...
訂單
整數
載入中...
keys
陣列
載入中...
資料
陣列
載入中...
execution_resources
物件
載入中...
l1_gas
整數
載入中...
l2_gas
整數
載入中...
is_reverted
布林值
載入中...
messages
陣列
載入中...
訂單
整數
載入中...
payload
陣列
載入中...
to_address
字串
載入中...
結果
陣列
載入中...
fee_transfer_invocation
物件
載入中...
call_type
字串
載入中...
calldata
陣列
載入中...
caller_address
字串
載入中...
呼叫
陣列
載入中...
class_hash
字串
載入中...
contract_address
字串
載入中...
entry_point_selector
字串
載入中...
entry_point_type
字串
載入中...
events
陣列
載入中...
訂單
整數
載入中...
keys
陣列
載入中...
資料
陣列
載入中...
execution_resources
物件
載入中...
l1_gas
整數
載入中...
l2_gas
整數
載入中...
is_reverted
布林值
載入中...
messages
陣列
載入中...
訂單
整數
載入中...
payload
陣列
載入中...
to_address
字串
載入中...
結果
陣列
載入中...
execution_resources
物件
載入中...
l1_gas
整數
載入中...
l1_data_gas
整數
載入中...
l2_gas
整數
載入中...
state_diff
物件
載入中...
declared_classes
陣列
載入中...
class_hash
字串
載入中...
compiled_class_hash
字串
載入中...
deployed_contracts
陣列
載入中...
地址
字串
載入中...
class_hash
字串
載入中...
deprecated_declared_classes
陣列
載入中...
nonces
陣列
載入中...
contract_address
字串
載入中...
非重複數
字串
載入中...
replaced_classes
陣列
載入中...
class_hash
字串
載入中...
contract_address
字串
載入中...
storage_diffs
陣列
載入中...
地址
字串
載入中...
storage_entries
陣列
載入中...
類型
字串
載入中...
DECLARE_TXN_TRACE
物件
載入中...
validate_invocation
物件
載入中...
call_type
字串
載入中...
calldata
陣列
載入中...
caller_address
字串
載入中...
呼叫
陣列
載入中...
class_hash
字串
載入中...
contract_address
字串
載入中...
entry_point_selector
字串
載入中...
entry_point_type
字串
載入中...
events
陣列
載入中...
訂單
整數
載入中...
keys
陣列
載入中...
資料
陣列
載入中...
execution_resources
物件
載入中...
l1_gas
整數
載入中...
l2_gas
整數
載入中...
is_reverted
布林值
載入中...
messages
陣列
載入中...
訂單
整數
載入中...
payload
陣列
載入中...
to_address
字串
載入中...
結果
陣列
載入中...
fee_transfer_invocation
物件
載入中...
call_type
字串
載入中...
calldata
陣列
載入中...
caller_address
字串
載入中...
呼叫
陣列
載入中...
class_hash
字串
載入中...
contract_address
字串
載入中...
entry_point_selector
字串
載入中...
entry_point_type
字串
載入中...
events
陣列
載入中...
訂單
整數
載入中...
keys
陣列
載入中...
資料
陣列
載入中...
execution_resources
物件
載入中...
l1_gas
整數
載入中...
l2_gas
整數
載入中...
is_reverted
布林值
載入中...
messages
陣列
載入中...
訂單
整數
載入中...
payload
陣列
載入中...
to_address
字串
載入中...
結果
陣列
載入中...
execution_resources
物件
載入中...
l1_gas
整數
載入中...
l1_data_gas
整數
載入中...
l2_gas
整數
載入中...
state_diff
物件
載入中...
declared_classes
陣列
載入中...
class_hash
字串
載入中...
compiled_class_hash
字串
載入中...
deployed_contracts
陣列
載入中...
地址
字串
載入中...
class_hash
字串
載入中...
deprecated_declared_classes
陣列
載入中...
nonces
陣列
載入中...
contract_address
字串
載入中...
非重複數
字串
載入中...
replaced_classes
陣列
載入中...
class_hash
字串
載入中...
contract_address
字串
載入中...
storage_diffs
陣列
載入中...
地址
字串
載入中...
storage_entries
陣列
載入中...
類型
字串
載入中...
DEPLOY_ACCOUNT_TXN_TRACE
物件
載入中...
validate_invocation
物件
載入中...
call_type
字串
載入中...
calldata
陣列
載入中...
caller_address
字串
載入中...
呼叫
陣列
載入中...
class_hash
字串
載入中...
contract_address
字串
載入中...
entry_point_selector
字串
載入中...
entry_point_type
字串
載入中...
events
陣列
載入中...
訂單
整數
載入中...
keys
陣列
載入中...
資料
陣列
載入中...
execution_resources
物件
載入中...
l1_gas
整數
載入中...
l2_gas
整數
載入中...
is_reverted
布林值
載入中...
messages
陣列
載入中...
訂單
整數
載入中...
payload
陣列
載入中...
to_address
字串
載入中...
結果
陣列
載入中...
constructor_invocation
物件
載入中...
call_type
字串
載入中...
calldata
陣列
載入中...
caller_address
字串
載入中...
呼叫
陣列
載入中...
class_hash
字串
載入中...
contract_address
字串
載入中...
entry_point_selector
字串
載入中...
entry_point_type
字串
載入中...
events
陣列
載入中...
訂單
整數
載入中...
keys
陣列
載入中...
資料
陣列
載入中...
execution_resources
物件
載入中...
l1_gas
整數
載入中...
l2_gas
整數
載入中...
is_reverted
布林值
載入中...
messages
陣列
載入中...
訂單
整數
載入中...
payload
陣列
載入中...
to_address
字串
載入中...
結果
陣列
載入中...
fee_transfer_invocation
物件
載入中...
call_type
字串
載入中...
calldata
陣列
載入中...
caller_address
字串
載入中...
呼叫
陣列
載入中...
class_hash
字串
載入中...
contract_address
字串
載入中...
entry_point_selector
字串
載入中...
entry_point_type
字串
載入中...
events
陣列
載入中...
訂單
整數
載入中...
keys
陣列
載入中...
資料
陣列
載入中...
execution_resources
物件
載入中...
l1_gas
整數
載入中...
l2_gas
整數
載入中...
is_reverted
布林值
載入中...
messages
陣列
載入中...
訂單
整數
載入中...
payload
陣列
載入中...
to_address
字串
載入中...
結果
陣列
載入中...
execution_resources
物件
載入中...
l1_gas
整數
載入中...
l1_data_gas
整數
載入中...
l2_gas
整數
載入中...
state_diff
物件
載入中...
declared_classes
陣列
載入中...
class_hash
字串
載入中...
compiled_class_hash
字串
載入中...
deployed_contracts
陣列
載入中...
地址
字串
載入中...
class_hash
字串
載入中...
deprecated_declared_classes
陣列
載入中...
nonces
陣列
載入中...
contract_address
字串
載入中...
非重複數
字串
載入中...
replaced_classes
陣列
載入中...
class_hash
字串
載入中...
contract_address
字串
載入中...
storage_diffs
陣列
載入中...
地址
字串
載入中...
storage_entries
陣列
載入中...
類型
字串
載入中...
L1_HANDLER_TXN_TRACE
物件
載入中...
function_invocation
物件
載入中...
call_type
字串
載入中...
calldata
陣列
載入中...
caller_address
字串
載入中...
呼叫
陣列
載入中...
class_hash
字串
載入中...
contract_address
字串
載入中...
entry_point_selector
字串
載入中...
entry_point_type
字串
載入中...
events
陣列
載入中...
訂單
整數
載入中...
keys
陣列
載入中...
資料
陣列
載入中...
execution_resources
物件
載入中...
l1_gas
整數
載入中...
l2_gas
整數
載入中...
is_reverted
布林值
載入中...
messages
陣列
載入中...
訂單
整數
載入中...
payload
陣列
載入中...
to_address
字串
載入中...
結果
陣列
載入中...
execution_resources
物件
載入中...
l1_gas
整數
載入中...
l1_data_gas
整數
載入中...
l2_gas
整數
載入中...
state_diff
物件
載入中...
declared_classes
陣列
載入中...
class_hash
字串
載入中...
compiled_class_hash
字串
載入中...
deployed_contracts
陣列
載入中...
地址
字串
載入中...
class_hash
字串
載入中...
deprecated_declared_classes
陣列
載入中...
nonces
陣列
載入中...
contract_address
字串
載入中...
非重複數
字串
載入中...
replaced_classes
陣列
載入中...
class_hash
字串
載入中...
contract_address
字串
載入中...
storage_diffs
陣列
載入中...
地址
字串
載入中...
storage_entries
陣列
載入中...
類型
字串
載入中...
請求
還沒有帳號嗎?
endpoint 幾秒鐘endpoint 建立您的Quicknode endpoint ,並開始建置
立即免費開始使用