Message: MsgAddAuthenticator
The MsgAddAuthenticator
handler is responsible for adding a new authenticator to an account. The first authenticator added must always be a SignatureVerificationAuthenticator
with the public key of the account, and there can be maximum of 15 authenticators per account.
The parameters that are controllable by a user are
Type
--- the type of authenticator to be added. Currently, it can be one ofSignatureVerificationAuthenticator
,AllOfAuthenticator
,AnyOfAuthenticator
,PassKeyAuthenticator
, orSpendLimitAuthenticator
.Data
--- the custom data that will be stored alongside the authenticator type. It will be passed to the authenticator'sOnAuthenticatorAdded
method for verification, then later used by the authenticator'sInitialize
method.