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§

source

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
source

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
source

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>

source

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
source

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>

source

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>

Trait Implementations§

source§

impl<Block: BlockT> RuntimeApiInfo for dyn DebugRuntimeApi<Block>

source§

const ID: [u8; 8] = _

The identifier of the runtime api.
source§

const VERSION: u32 = 6u32

The version of the runtime api.

Implementors§