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.