referrerpolicy=no-referrer-when-downgrade

Trait pallet_broker::runtime_api::BrokerApi

source ·
pub trait BrokerApi<Block: BlockT, Balance>: Core<Block>
where Balance: Codec,
{ // Provided method fn sale_price( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<Result<Balance, DispatchError>, ApiError> { ... } }

Provided Methods§

source

fn sale_price( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<Result<Balance, DispatchError>, ApiError>

If there is an ongoing sale returns the current price of a core.

Trait Implementations§

source§

impl<Block: BlockT, Balance> RuntimeApiInfo for dyn BrokerApi<Block, Balance>

source§

const ID: [u8; 8] = _

The identifier of the runtime api.
source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§