Skip to main content
Builds the authority of a { destination: { chain, authority } } transaction. The role carrying the key is removed. The root role never is, and neither is the last role able to manage authorities; the orchestrator refuses both. Removing the configured owner’s own key leaves this account unable to sign.

Import

Usage

Parameters

`0x${string}` | WebAuthnAccount
required
The passkey to remove: a viem WebAuthn account, or its P-256 public key in 64-byte x‖y, 65-byte uncompressed or 33-byte compressed form.

Returns

A frozen SolanaAuthorityChange for prepareTransaction
'remove'
required
SolanaAuthorityKey
required
undefined

See also