Add
Add an authenticator.
Method Declaration
Python
async def add_authenticator(
self,
wallet: Wallet,
authenticator: Authenticator,
):
Unification Plan
Parameters
Parameter | Location | Type | Required | Description |
---|---|---|---|---|
wallet | query | Wallet | true | The wallet to use for signing the transaction or authenticating the request. |
authenticator | query | Authenticator | true | The authenticator to be added. |
Response
Status | Meaning | Schema |
---|---|---|
200 | [OK] | TxHash |
Examples: Python | TypeScript | Rust
List
List down added authenticators.
Method Declaration
Python
async def get_authenticators(
self,
address: str,
) -> accountplus_query.GetAuthenticatorsResponse
Unification Plan
Parameters
Parameter | Location | Type | Required | Description |
---|---|---|---|---|
account | query | Address | true | The wallet address that owns the subaccount. |
Response
Status | Meaning | Schema |
---|---|---|
200 | OK | AccountAuthenticator ⛁ |
Examples: Python | TypeScript | Rust
Remove
Remove an added authenticator.
Method Declaration
Python
async def remove_authenticator(self, wallet: Wallet, authenticator_id: int)
Unification Plan
Parameters
Parameter | Location | Type | Required | Description |
---|---|---|---|---|
wallet | query | Wallet | true | The wallet to use for signing the transaction or authenticating the request. |
authenticator_id | query | int | true | The authenticator identifier. |
Response
Status | Meaning | Schema |
---|---|---|
200 | [OK] | TxHash |
Examples: Python | TypeScript | Rust