pub fn claim_handle<T: Config>(
    msa_owner_key: T::AccountId,
    proof: MultiSignature,
    payload: ClaimHandlePayload<BlockNumberFor<T>>
)
Expand description

Claims a handle for a caller’s MSA (Message Source Account) based on the provided payload. This function performs several validations before claiming the handle, including checking the size of the base_handle, ensuring the caller have valid MSA keys, verifying the payload signature, and finally calling the internal do_claim_handle function to claim the handle.

Arguments

  • origin - The origin of the caller.
  • msa_owner_key - The public key of the MSA owner.
  • proof - The multi-signature proof for the payload.
  • payload - The payload containing the information needed to claim a new handle.

Errors

This function may return an error as part of DispatchResult if any of the following validations fail:

Events

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::claim_handle.