referrerpolicy=no-referrer-when-downgrade

ReviveApi

Trait ReviveApi 

Source
pub trait ReviveApi<Block: BlockT, AccountId, Balance, Nonce, BlockNumber, Moment>: Core<Block>
where AccountId: Codec, Balance: Codec, Nonce: Codec, BlockNumber: Codec, Moment: Codec,
{
Show 46 methods // Provided methods fn eth_block( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<EthBlock, ApiError> { ... } fn eth_block_hash( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, number: U256, ) -> Result<Option<H256>, ApiError> { ... } fn eth_receipt_data( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<Vec<ReceiptGasInfoV1>, ApiError> { ... } fn block_gas_limit( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<U256, ApiError> { ... } fn max_extrinsic_weight_in_gas( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<U256, ApiError> { ... } fn balance( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, address: H160, ) -> Result<U256, ApiError> { ... } fn gas_price( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<U256, ApiError> { ... } fn nonce( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, address: H160, ) -> Result<Nonce, ApiError> { ... } fn call( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, origin: AccountId, dest: H160, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, input_data: Vec<u8>, ) -> Result<ContractResult<ExecReturnValue, Balance>, ApiError> { ... } fn instantiate( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, origin: AccountId, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, code: Code, data: Vec<u8>, salt: Option<[u8; 32]>, ) -> Result<ContractResult<InstantiateReturnValue, Balance>, ApiError> { ... } fn eth_transact( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, tx: GenericTransaction, ) -> Result<Result<EthTransactInfo<Balance>, EthTransactError>, ApiError> { ... } fn eth_transact_with_config( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, tx: GenericTransaction, config: DryRunConfig<Moment>, ) -> Result<Result<EthTransactInfo<Balance>, EthTransactError>, ApiError> { ... } fn eth_estimate_gas( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, tx: GenericTransaction, config: DryRunConfig<Moment>, ) -> Result<Result<U256, EthTransactError>, ApiError> { ... } fn eth_pre_dispatch_weight( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, tx: Vec<u8>, ) -> Result<Result<Weight, EthTransactError>, ApiError> { ... } fn upload_code( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, origin: AccountId, code: Vec<u8>, storage_deposit_limit: Option<Balance>, ) -> Result<Result<CodeUploadReturnValueV1<Balance>, DispatchError>, ApiError> { ... } fn get_storage( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, address: H160, key: [u8; 32], ) -> Result<GetStorageResult, ApiError> { ... } fn get_storage_var_key( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, address: H160, key: Vec<u8>, ) -> Result<GetStorageResult, ApiError> { ... } fn trace_block( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, block: Block, config: TracerTypeV1, ) -> Result<Vec<(u32, TraceV1)>, ApiError> { ... } fn trace_tx( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, block: Block, tx_index: u32, config: TracerTypeV1, ) -> Result<Option<TraceV1>, ApiError> { ... } fn trace_call( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, tx: GenericTransaction, config: TracerTypeV1, ) -> Result<Result<TraceV1, EthTransactError>, ApiError> { ... } fn trace_call_with_config( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, tx: GenericTransaction, tracer_type: TracerTypeV1, config: TracingConfig, ) -> Result<Result<TraceV1, EthTransactError>, ApiError> { ... } fn block_author( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<H160, ApiError> { ... } fn address( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, account_id: AccountId, ) -> Result<H160, ApiError> { ... } fn account_id( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, address: H160, ) -> Result<AccountId, ApiError> { ... } fn runtime_pallets_address( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<H160, ApiError> { ... } fn code( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, address: H160, ) -> Result<Vec<u8>, ApiError> { ... } fn new_balance_with_dust( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, balance: U256, ) -> Result<Result<(Balance, u32), BalanceConversionError>, ApiError> { ... } fn version_declarations( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<ReviveRuntimeApiVersionDeclarations, ApiError> { ... } fn eth_block_hash_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: BlockHashVersionedInputPayload, ) -> Result<BlockHashVersionedOutputPayload, ApiError> { ... } fn eth_receipt_data_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: ReceiptDataVersionedInputPayload, ) -> Result<ReceiptDataVersionedOutputPayload, ApiError> { ... } fn block_gas_limit_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: BlockGasLimitVersionedInputPayload, ) -> Result<BlockGasLimitVersionedOutputPayload, ApiError> { ... } fn max_extrinsic_weight_in_gas_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: MaxExtrinsicWeightInGasVersionedInputPayload, ) -> Result<MaxExtrinsicWeightInGasVersionedOutputPayload, ApiError> { ... } fn balance_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: BalanceVersionedInputPayload, ) -> Result<BalanceVersionedOutputPayload, ApiError> { ... } fn gas_price_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: GasPriceVersionedInputPayload, ) -> Result<GasPriceVersionedOutputPayload, ApiError> { ... } fn nonce_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: NonceVersionedInputPayload, ) -> Result<NonceVersionedOutputPayload<Nonce>, ApiError> { ... } fn eth_pre_dispatch_weight_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: PreDispatchWeightVersionedInputPayload, ) -> Result<Result<PreDispatchWeightVersionedOutputPayload, EthTransactError>, ApiError> { ... } fn upload_code_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: UploadCodeVersionedInputPayload<AccountId, Balance>, ) -> Result<Result<UploadCodeVersionedOutputPayload<Balance>, DispatchError>, ApiError> { ... } fn get_storage_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: GetStorageVersionedInputPayload, ) -> Result<Result<GetStorageVersionedOutputPayload, ContractAccessError>, ApiError> { ... } fn runtime_pallets_address_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: RuntimePalletsAddressVersionedInputPayload, ) -> Result<RuntimePalletsAddressVersionedOutputPayload, ApiError> { ... } fn code_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: CodeVersionedInputPayload, ) -> Result<CodeVersionedOutputPayload, ApiError> { ... } fn account_id_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: AccountIdVersionedInputPayload, ) -> Result<AccountIdVersionedOutputPayload<AccountId>, ApiError> { ... } fn new_balance_with_dust_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: NewBalanceWithDustVersionedInputPayload, ) -> Result<Result<NewBalanceWithDustVersionedOutputPayload<Balance>, BalanceConversionError>, ApiError> { ... } fn block_author_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: BlockAuthorVersionedInputPayload, ) -> Result<BlockAuthorVersionedOutputPayload, ApiError> { ... } fn address_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: AddressVersionedInputPayload<AccountId>, ) -> Result<AddressVersionedOutputPayload, ApiError> { ... } fn trace_block_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: TraceBlockVersionedInputPayload<Block>, ) -> Result<TraceBlockVersionedOutputPayload, ApiError> { ... } fn trace_tx_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: TraceTxVersionedInputPayload<Block>, ) -> Result<TraceTxVersionedOutputPayload, ApiError> { ... }
}
Expand description

The API used to dry-run contract interactions.

Provided Methodsยง

Source

fn eth_block( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<EthBlock, ApiError>

Returns the current ETH block.

This is one block behind the substrate block.

Source

fn eth_block_hash( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, number: U256, ) -> Result<Option<H256>, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent eth_block_hash_versioned if available on your runtime

Returns the ETH block hash for the given block number.

Source

fn eth_receipt_data( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<Vec<ReceiptGasInfoV1>, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent eth_receipt_data_versioned if available on your runtime

The details needed to reconstruct the receipt information offchain.

ยงNote

Each entry corresponds to the appropriate Ethereum transaction in the current block.

Source

fn block_gas_limit( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<U256, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent block_gas_limit_versioned if available on your runtime

Returns the block gas limit.

Source

fn max_extrinsic_weight_in_gas( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<U256, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent max_extrinsic_weight_in_gas_versioned if available on your runtime

Returns the block gas limit as calculated from the weights.

Source

fn balance( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, address: H160, ) -> Result<U256, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent balance_versioned if available on your runtime

Returns the free balance of the given [H160] address, using EVM decimals.

Source

fn gas_price( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<U256, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent gas_price_versioned if available on your runtime

Returns the gas price.

Source

fn nonce( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, address: H160, ) -> Result<Nonce, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent nonce_versioned if available on your runtime

Returns the nonce of the given [H160] address.

Source

fn call( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, origin: AccountId, dest: H160, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, input_data: Vec<u8>, ) -> Result<ContractResult<ExecReturnValue, Balance>, ApiError>

Perform a call from a specified account to a given contract.

See crate::Pallet::bare_call.

Source

fn instantiate( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, origin: AccountId, value: Balance, gas_limit: Option<Weight>, storage_deposit_limit: Option<Balance>, code: Code, data: Vec<u8>, salt: Option<[u8; 32]>, ) -> Result<ContractResult<InstantiateReturnValue, Balance>, ApiError>

Instantiate a new contract.

See [crate::Pallet::bare_instantiate].

Source

fn eth_transact( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, tx: GenericTransaction, ) -> Result<Result<EthTransactInfo<Balance>, EthTransactError>, ApiError>

Perform an Ethereum call.

Deprecated use v2 version instead. See crate::Pallet::dry_run_eth_transact

Source

fn eth_transact_with_config( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, tx: GenericTransaction, config: DryRunConfig<Moment>, ) -> Result<Result<EthTransactInfo<Balance>, EthTransactError>, ApiError>

Perform an Ethereum call.

See crate::Pallet::dry_run_eth_transact

Source

fn eth_estimate_gas( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, tx: GenericTransaction, config: DryRunConfig<Moment>, ) -> Result<Result<U256, EthTransactError>, ApiError>

Estimates the amount of gas that a transactions requires.

This function estimates the gas of the transaction according to the same binary search algorithm thatโ€™s implemented in Geth. It stops when with an acceptable error ratio of 1.5% so that the algorithm terminates early.

Source

fn eth_pre_dispatch_weight( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, tx: Vec<u8>, ) -> Result<Result<Weight, EthTransactError>, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent eth_pre_dispatch_weight_versioned if available on your runtime

Return the pre-dispatch weight booked for the signed Ethereum transaction payload.

Source

fn upload_code( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, origin: AccountId, code: Vec<u8>, storage_deposit_limit: Option<Balance>, ) -> Result<Result<CodeUploadReturnValueV1<Balance>, DispatchError>, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent upload_code_versioned if available on your runtime

Upload new code without instantiating a contract from it.

See crate::Pallet::bare_upload_code.

Source

fn get_storage( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, address: H160, key: [u8; 32], ) -> Result<GetStorageResult, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent get_storage_versioned if available on your runtime

Query a given storage key in a given contract.

Returns Ok(Some(Vec<u8>)) if the storage value exists under the given key in the specified account and Ok(None) if it doesnโ€™t. If the account specified by the address doesnโ€™t exist, or doesnโ€™t have a contract then Err is returned.

Source

fn get_storage_var_key( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, address: H160, key: Vec<u8>, ) -> Result<GetStorageResult, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent get_storage_versioned if available on your runtime

Query a given variable-sized storage key in a given contract.

Returns Ok(Some(Vec<u8>)) if the storage value exists under the given key in the specified account and Ok(None) if it doesnโ€™t. If the account specified by the address doesnโ€™t exist, or doesnโ€™t have a contract then Err is returned.

Source

fn trace_block( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, block: Block, config: TracerTypeV1, ) -> Result<Vec<(u32, TraceV1)>, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent trace_block_versioned if available on your runtime

Traces the execution of an entire block and returns call traces.

This is intended to be called through state_call to replay the block from the parent block.

See eth-rpc debug_traceBlockByNumber for usage.

Source

fn trace_tx( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, block: Block, tx_index: u32, config: TracerTypeV1, ) -> Result<Option<TraceV1>, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent trace_tx_versioned if available on your runtime

Traces the execution of a specific transaction within a block.

This is intended to be called through state_call to replay the block from the parent hash up to the transaction.

See eth-rpc debug_traceTransaction for usage.

Source

fn trace_call( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, tx: GenericTransaction, config: TracerTypeV1, ) -> Result<Result<TraceV1, EthTransactError>, ApiError>

Dry run and return the trace of the given call.

See eth-rpc debug_traceCall for usage.

Source

fn trace_call_with_config( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, tx: GenericTransaction, tracer_type: TracerTypeV1, config: TracingConfig, ) -> Result<Result<TraceV1, EthTransactError>, ApiError>

Dry run and return the trace of the given call with additional configuration.

Like Self::trace_call, but accepts a TracingConfig that can carry state overrides and future extensibility. The config must be the last argument for backwards compatibility โ€” see TracingConfig documentation.

Source

fn block_author( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<H160, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent block_author_versioned if available on your runtime

The address of the validator that produced the current block.

Source

fn address( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, account_id: AccountId, ) -> Result<H160, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent address_versioned if available on your runtime

Get the H160 address associated to this account id

Source

fn account_id( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, address: H160, ) -> Result<AccountId, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent account_id_versioned if available on your runtime

Get the account id associated to this H160 address.

Source

fn runtime_pallets_address( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<H160, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent runtime_pallets_address_versioned if available on your runtime

The address used to call the runtimeโ€™s pallets dispatchables

Source

fn code( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, address: H160, ) -> Result<Vec<u8>, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent code_versioned if available on your runtime

The code at the specified address taking pre-compiles into account.

Source

fn new_balance_with_dust( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, balance: U256, ) -> Result<Result<(Balance, u32), BalanceConversionError>, ApiError>

๐Ÿ‘ŽDeprecated: Use the versioned equivalent new_balance_with_dust_versioned if available on your runtime

Construct the new balance and dust components of this EVM balance.

Source

fn version_declarations( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<ReviveRuntimeApiVersionDeclarations, ApiError>

Source

fn eth_block_hash_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: BlockHashVersionedInputPayload, ) -> Result<BlockHashVersionedOutputPayload, ApiError>

Source

fn eth_receipt_data_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: ReceiptDataVersionedInputPayload, ) -> Result<ReceiptDataVersionedOutputPayload, ApiError>

Source

fn block_gas_limit_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: BlockGasLimitVersionedInputPayload, ) -> Result<BlockGasLimitVersionedOutputPayload, ApiError>

Source

fn max_extrinsic_weight_in_gas_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: MaxExtrinsicWeightInGasVersionedInputPayload, ) -> Result<MaxExtrinsicWeightInGasVersionedOutputPayload, ApiError>

Source

fn balance_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: BalanceVersionedInputPayload, ) -> Result<BalanceVersionedOutputPayload, ApiError>

Source

fn gas_price_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: GasPriceVersionedInputPayload, ) -> Result<GasPriceVersionedOutputPayload, ApiError>

Source

fn nonce_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: NonceVersionedInputPayload, ) -> Result<NonceVersionedOutputPayload<Nonce>, ApiError>

Source

fn eth_pre_dispatch_weight_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: PreDispatchWeightVersionedInputPayload, ) -> Result<Result<PreDispatchWeightVersionedOutputPayload, EthTransactError>, ApiError>

Source

fn upload_code_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: UploadCodeVersionedInputPayload<AccountId, Balance>, ) -> Result<Result<UploadCodeVersionedOutputPayload<Balance>, DispatchError>, ApiError>

Source

fn get_storage_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: GetStorageVersionedInputPayload, ) -> Result<Result<GetStorageVersionedOutputPayload, ContractAccessError>, ApiError>

Source

fn runtime_pallets_address_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: RuntimePalletsAddressVersionedInputPayload, ) -> Result<RuntimePalletsAddressVersionedOutputPayload, ApiError>

Source

fn code_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: CodeVersionedInputPayload, ) -> Result<CodeVersionedOutputPayload, ApiError>

Source

fn account_id_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: AccountIdVersionedInputPayload, ) -> Result<AccountIdVersionedOutputPayload<AccountId>, ApiError>

Source

fn new_balance_with_dust_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: NewBalanceWithDustVersionedInputPayload, ) -> Result<Result<NewBalanceWithDustVersionedOutputPayload<Balance>, BalanceConversionError>, ApiError>

Source

fn block_author_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: BlockAuthorVersionedInputPayload, ) -> Result<BlockAuthorVersionedOutputPayload, ApiError>

Source

fn address_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: AddressVersionedInputPayload<AccountId>, ) -> Result<AddressVersionedOutputPayload, ApiError>

Source

fn trace_block_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: TraceBlockVersionedInputPayload<Block>, ) -> Result<TraceBlockVersionedOutputPayload, ApiError>

Source

fn trace_tx_versioned( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, input: TraceTxVersionedInputPayload<Block>, ) -> Result<TraceTxVersionedOutputPayload, ApiError>

Trait Implementationsยง

Sourceยง

impl<Block: BlockT, AccountId, Balance, Nonce, BlockNumber, Moment> RuntimeApiInfo for dyn ReviveApi<Block, AccountId, Balance, Nonce, BlockNumber, Moment>

Sourceยง

const ID: [u8; 8]

The identifier of the runtime api.
Sourceยง

const VERSION: u32 = 2u32

The version of the runtime api.

Implementorsยง