Function pallet_identity::pallet::dispatchables::link_account
source · pub fn link_account<T: Config>(
account_id: T::AccountId,
payload_sig: T::Signature
)
Expand description
Link an account to an identity.
This function links a specified account to an identity, requiring both the account and the identity to sign the operation.
origin
- The origin of the call, which must have an associated identity index.account_id
- The account ID to link, which must sign the payload.payload_sig
- The signature with the linked identity.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::link_account
.