UNPKG

@arbius/aa-wallet

Version:

A secure and flexible Account Abstraction wallet implementation for Arbitrum One chain applications.

17 lines (16 loc) 569 B
import { AAWalletContextValue } from '../types'; interface DerivedWalletContext extends AAWalletContextValue { smartAccountAddress: string | null; sendDerivedWalletTransaction: (tx: { to: string; value: string; data?: string; }) => Promise<string | null>; signMessageWithAAWallet: (message: string) => Promise<string | null>; withdrawToMainWallet: (options: { amount?: string; token?: 'ETH' | 'AIUS'; }) => Promise<string | null>; } export declare function useAAWallet(): DerivedWalletContext; export {};