Constant pallet_example_offchain_worker::KEY_TYPE[][src]

pub const KEY_TYPE: KeyTypeId;
Expand description

Defines application identifier for crypto keys of this module.

Every module that deals with signatures needs to declare its unique identifier for its crypto keys. When offchain worker is signing transactions it’s going to request keys of type KeyTypeId from the keystore and use the ones it finds to sign the transaction. The keys can be inserted manually via RPC (see author_insertKey).