Module sp_io::misc[][src]

Interface that provides miscellaneous functions for communicating between the runtime and the node.

Structs

HostFunctions

Provides implementations for the extern host functions.

Functions

chain_id

The current relay chain identifier.

print_hex

Print any u8 slice as hex.

print_num

Print a number.

print_utf8

Print any valid utf8 buffer.

runtime_version

Extract the runtime version of the given wasm blob by calling Core_version.