Skip to content

@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 ​

ParameterType
wWalletApi

Returns ​

w is DepositCapableWallet