Aptos SDK Functions
Methods
Description
addAccountFeePayers(walletAddress: string, feePayers: string[]): Promise<TransactionResponse>;removeAccountFeePayers(walletAddress: string, feePayers: string[]): Promise<TransactionResponse>;getWalletBalance(wallet?: string): Promise<TokenBalance[]>;getSmartWalletDetails(wallet?: string): Promise<SmartWalletDetails>;computeAccountAddress(): Promise<string>; getAccountAddress(controller?: string): Promise<string>;createAccount(seed: string, guardians: string[], feePayers: string[]): Promise<TransactionResponse>;createAccountSponsored(seed: string, guardians: string[], feePayers: string[]): Promise<TransactionResponse>;changeControllerAccount(walletAddress: string, newController: string): Promise<TransactionResponse>;recoverAccount(walletAddress: string, newController: string): Promise<TransactionResponse>;addAccountGuardians(walletAddress: string, guardians: string[]): Promise<TransactionResponse>;removeAccountGuardians(walletAddress: string, guardians: string[]): Promise<TransactionResponse>;depositToAccount(walletAddress: string, coinType: string, amount: number): Promise<TransactionResponse>;withdrawFromAccount(walletAddress: string, coinType: string, amount: number): Promise<TransactionResponse>;transferFromAccount(walletAddress: string, coinType: string, amount: number): Promise<TransactionResponse>;executeAptosFunction(wallAddress: string, coinTypes: string[], payload: any[]): Promise<TransactionResponse>;Last updated