@lelantos-org/sdk / advanced / supportsDeposit
Function: supportsDeposit()
ts
function supportsDeposit(w): w is DepositCapableWallet;Defined in: @lelantos-org/sdk/dist/wallet/types/capability.d.ts:18
Whether the wallet can deposit. Check before offering a deposit. supportsSigning is the equivalent check for a bare chain layer.
Parameters
| Parameter | Type |
|---|---|
w | WalletApi |
Returns
w is DepositCapableWallet