referrerpolicy=no-referrer-when-downgrade

Module runtime_api

Module runtime_api 

Source
Expand description

Dynamic-dispatch wrappers for the HOP runtime API.

Calling the API by SCALE-encoded bytes lets the node interact with any runtime that exposes the named methods, without imposing a static HopRuntimeApi bound on the client’s RuntimeApi type. Detection happens via ApiExt::has_api_with at startup; from there the node either carries a promoter (which uses these wrappers) or runs cleanup-only.

Functions§

can_account_promote
HopRuntimeApi::can_account_promote.
create_promotion_extrinsic
HopRuntimeApi::create_promotion_extrinsic.
is_promoted_on_chain
HopRuntimeApi::is_promoted_on_chain.
max_promotion_size
HopRuntimeApi::max_promotion_size.