Skip to content

Permissioned Keys

Add

Add an authenticator.

Method Declaration

Python
async def add_authenticator(
    self,
    wallet: Wallet,
    authenticator: Authenticator,
):
Unification Plan

Parameters

ParameterLocationTypeRequiredDescription
walletqueryWallettrueThe wallet to use for signing the transaction or authenticating the request.
authenticatorqueryAuthenticatortrueThe authenticator to be added.

Response

StatusMeaningSchemaDescription
200[OK]TxHashThe transaction hash.
400Bad RequestThe request was malformed or invalid.

Examples: Python | TypeScript | Rust | Guide - Add an Authenticator

Remove

Remove an added authenticator.

Method Declaration

Python
async def remove_authenticator(self, wallet: Wallet, authenticator_id: int)
Unification Plan

Parameters

ParameterLocationTypeRequiredDescription
walletqueryWallettrueThe wallet to use for signing the transaction or authenticating the request.
authenticator_idqueryinttrueThe authenticator identifier.

Response

StatusMeaningSchemaDescription
200[OK]TxHashThe transaction hash.
400Bad RequestThe request was malformed or invalid.
404Not FoundThe authenticator was not found.

Examples: Python | TypeScript | Rust | Guide - Remove an Authenticator

List

List down added authenticators.

Method Declaration

Python
async def get_authenticators(
    self,
    address: str,
) -> accountplus_query.GetAuthenticatorsResponse
Unification Plan

Parameters

ParameterLocationTypeRequiredDescription
accountqueryAddresstrueThe wallet address that owns the account.

Response

StatusMeaningSchemaDescription
200OKAccountAuthenticatorThe account authenticators.
400Bad RequestThe request was malformed or invalid.

Examples: Python | TypeScript | Rust | Guide - List Authenticators