pub trait StandardEventProperties {
type Features;
type WalletAccount;
// Required methods
fn chains(&self) -> Option<Vec<String>>;
fn features(&self) -> Option<Self::Features>;
fn accounts(&self) -> Option<Vec<Self::WalletAccount>>;
}Required Associated Types§
type Features
type WalletAccount
Required Methods§
Sourcefn chains(&self) -> Option<Vec<String>>
fn chains(&self) -> Option<Vec<String>>
{@link “@wallet-standard/base”.Wallet.chains | Chains} supported by the Wallet.
The Wallet should only define this field if the value of the property has changed.
The value must be the new value of the property.
Sourcefn features(&self) -> Option<Self::Features>
fn features(&self) -> Option<Self::Features>
{@link “@wallet-standard/base”.Wallet.features | Features} supported by the Wallet.
The Wallet should only define this field if the value of the property has changed.
The value must be the new value of the property.
Sourcefn accounts(&self) -> Option<Vec<Self::WalletAccount>>
fn accounts(&self) -> Option<Vec<Self::WalletAccount>>
{@link “@wallet-standard/base”.Wallet.accounts | Accounts} that the app is authorized to use.
The Wallet should only define this field if the value of the property has changed.
The value must be the new value of the property.