pub trait OrderBookApi<Block: BlockT, CurrencyId, Balance>: Core<Block>
where CurrencyId: Codec, Balance: Codec,
{ // Provided method fn min_fulfillment_amount( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, currency: CurrencyId ) -> Result<Option<Balance>, ApiError> { ... } }
Expand description

Runtime API for the order book pallet.

Provided Methods§

source

fn min_fulfillment_amount( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, currency: CurrencyId ) -> Result<Option<Balance>, ApiError>

Trait Implementations§

source§

impl<Block: BlockT, CurrencyId, Balance> RuntimeApiInfo for dyn OrderBookApi<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§