Type Definition sp_version::ApiId[][src]

type ApiId = [u8; 8];
Expand description

The identity of a particular API interface that the runtime might provide.

The id is generated by hashing the name of the runtime api with BLAKE2 using a hash size of 8 bytes.

The name of the runtime api is the name of the trait when using decl_runtime_apis! macro.