Interface: WalletAccount
Interface of a WalletAccount, also referred to as an Account.
An account is a read-only data object that is provided from the Wallet to the app, authorizing the app to use it.
The app can use an account to display and query information from a chain.
The app can also act using an account by passing it to features of the Wallet.
Wallets may use or extend "@wallet-standard/wallet".ReadonlyWalletAccount which implements this interface.
Properties
address
readonlyaddress:string
Address of the account, corresponding with a public key.
publicKey
readonlypublicKey:Uint8Array
Public key of the account, corresponding with a secret key to use.
chains
readonlychains:IdentifierArray
Chains supported by the account.
This must be a subset of the chains of the Wallet.
features
readonlyfeatures:IdentifierArray
Feature names supported by the account.
This must be a subset of the names of features of the Wallet.
label?
readonlyoptionallabel:string
Optional user-friendly descriptive label or name for the account. This may be displayed by the app.
icon?
readonlyoptionalicon:`data:image/svg+xml;base64,${string}`|`data:image/webp;base64,${string}`|`data:image/png;base64,${string}`|`data:image/gif;base64,${string}`
Optional user-friendly icon for the account. This may be displayed by the app.