set_keys: TxDescriptor<{
    keys: {
        authority_discovery: FixedSizeBinary<32>;
        babe: FixedSizeBinary<32>;
        beefy: FixedSizeBinary<33>;
        grandpa: FixedSizeBinary<32>;
        para_assignment: FixedSizeBinary<32>;
        para_validator: 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.