pub fn set_personal_id_account<T: Config>(
account: T::AccountId,
call_valid_at: BlockNumberFor<T>,
)
Expand description
Set a personal id account.
The account can then be used to sign transactions on behalf of the personal id, and provide replay protection with the nonce.
This transaction is refunded if successful and no account was previously set for the personal id.
The call is valid from call_valid_at
until
call_valid_at + account_setup_time_tolerance
.
account_setup_time_tolerance
is a constant available in the metadata.
Parameters:
account
: The account to set the alias for.call_valid_at
: The block number when the call becomes valid.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::set_personal_id_account
.