@lelantos-org/sdk / index / WalletCapabilities
Interface: WalletCapabilities
Defined in: @lelantos-org/sdk/dist/wallet/api.d.ts:43
What this wallet can do, fixed at connect() from its configuration. A false flag's methods stay on the interface and reject with the code noted.
Properties
deposit
readonly deposit: boolean;Defined in: @lelantos-org/sdk/dist/wallet/api.d.ts:47
The chain layer signs as an EOA. Else deposit / cancel / setup reject NO_EVM_ACCOUNT.
depositAllowance
readonly depositAllowance: boolean;Defined in: @lelantos-org/sdk/dist/wallet/api.d.ts:49
The adapter supports Permit2 batch AllowanceTransfer (setupDepositAllowance).
nativeDeposit
readonly nativeDeposit: boolean;Defined in: @lelantos-org/sdk/dist/wallet/api.d.ts:51
deposit({ native: true }). Else UNSUPPORTED_OPERATION.
nativeWithdraw
readonly nativeWithdraw: boolean;Defined in: @lelantos-org/sdk/dist/wallet/api.d.ts:53
withdraw({ native: true }): a NativeAdapter is known. Needs no EOA.
prove
readonly prove: boolean;Defined in: @lelantos-org/sdk/dist/wallet/api.d.ts:45
A prover is configured (prover ≠ "none"). Else spends reject PROVER_UNAVAILABLE.
registerName
readonly registerName: boolean;Defined in: @lelantos-org/sdk/dist/wallet/api.d.ts:63
prove, a submitter that relays generic executions, a LelantosNameRegistrar address and a chain layer that reads it. Needs no EOA.
swap
readonly swap: boolean;Defined in: @lelantos-org/sdk/dist/wallet/api.d.ts:58
prove, a submitter that relays swaps, and a quoter URL. A relayer advertising no wrapper still rejects quoteSwap with UNSUPPORTED_OPERATION.