Trait TokensApi

Source
pub trait TokensApi<Block: BlockT, CurrencyId, Balance>: Core<Block>
where Balance: Codec, CurrencyId: Codec,
{ // Provided method fn query_existential_deposit( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, currency_id: CurrencyId, ) -> Result<Balance, ApiError> { ... } }

Provided Methods§

Source

fn query_existential_deposit( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, currency_id: CurrencyId, ) -> Result<Balance, ApiError>

Trait Implementations§

Source§

impl<Block: BlockT, CurrencyId, Balance> RuntimeApiInfo for dyn TokensApi<Block, CurrencyId, Balance>

Source§

const ID: [u8; 8]

The identifier of the runtime api.
Source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§