Given a UiWalletAccount and the name of a feature, this hook returns the feature object from the underlying Wallet Standard Wallet. This is a specialization of useWalletFeature() that takes into consideration that the features supported by a wallet might not be supported by every account in that wallet. In the event that the wallet or account does not support the feature, a WalletStandardError will be thrown.
Given a
UiWalletAccount
and the name of a feature, this hook returns the feature object from the underlying Wallet StandardWallet
. This is a specialization ofuseWalletFeature()
that takes into consideration that the features supported by a wallet might not be supported by every account in that wallet. In the event that the wallet or account does not support the feature, aWalletStandardError
will be thrown.