set_keys: TxDescriptor<{
    keys: FixedSizeBinary<32>;
    proof: Binary;
}>

Sets the session key(s) of the function caller to keys. Allows an account to set its session key prior to becoming a validator. This doesn't take effect until the next session.

The dispatch origin of this function must be signed.

  • O(1). Actual cost depends on the number of length of T::Keys::key_ids() which is fixed.