pub trait DebugRuntimeApi<Block: BlockT>: Core<Block> {
// Provided methods
fn trace_transaction_before_version_5(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
extrinsics: Vec<Block::Extrinsic>,
transaction: &Transaction
) -> Result<Result<(), DispatchError>, ApiError> { ... }
fn trace_transaction_before_version_4(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
extrinsics: Vec<Block::Extrinsic>,
transaction: &LegacyTransaction
) -> Result<Result<(), DispatchError>, ApiError> { ... }
fn trace_transaction(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
extrinsics: Vec<Block::Extrinsic>,
transaction: &Transaction,
header: &Block::Header
) -> Result<Result<(), DispatchError>, ApiError> { ... }
fn trace_block_before_version_5(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
extrinsics: Vec<Block::Extrinsic>,
known_transactions: Vec<H256>
) -> Result<Result<(), DispatchError>, ApiError> { ... }
fn trace_block(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
extrinsics: Vec<Block::Extrinsic>,
known_transactions: Vec<H256>,
header: &Block::Header
) -> Result<Result<(), DispatchError>, ApiError> { ... }
fn trace_call(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
header: &Block::Header,
from: H160,
to: H160,
data: Vec<u8>,
value: U256,
gas_limit: U256,
max_fee_per_gas: Option<U256>,
max_priority_fee_per_gas: Option<U256>,
nonce: Option<U256>,
access_list: Option<Vec<(H160, Vec<H256>)>>
) -> Result<Result<(), DispatchError>, ApiError> { ... }
}
Provided Methods§
sourcefn trace_transaction_before_version_5(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
extrinsics: Vec<Block::Extrinsic>,
transaction: &Transaction
) -> Result<Result<(), DispatchError>, ApiError>
fn trace_transaction_before_version_5( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, extrinsics: Vec<Block::Extrinsic>, transaction: &Transaction ) -> Result<Result<(), DispatchError>, ApiError>
👎Deprecated
sourcefn trace_transaction_before_version_4(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
extrinsics: Vec<Block::Extrinsic>,
transaction: &LegacyTransaction
) -> Result<Result<(), DispatchError>, ApiError>
fn trace_transaction_before_version_4( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, extrinsics: Vec<Block::Extrinsic>, transaction: &LegacyTransaction ) -> Result<Result<(), DispatchError>, ApiError>
👎Deprecated
fn trace_transaction( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, extrinsics: Vec<Block::Extrinsic>, transaction: &Transaction, header: &Block::Header ) -> Result<Result<(), DispatchError>, ApiError>
sourcefn trace_block_before_version_5(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
extrinsics: Vec<Block::Extrinsic>,
known_transactions: Vec<H256>
) -> Result<Result<(), DispatchError>, ApiError>
fn trace_block_before_version_5( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, extrinsics: Vec<Block::Extrinsic>, known_transactions: Vec<H256> ) -> Result<Result<(), DispatchError>, ApiError>
👎Deprecated