Fewcha Wallet Dev Docs
  • Introduction
  • Get Started
    • Connect
    • Get data
    • Sign and Submit Transaction
  • Response Format and Types
  • Serializer/Deserializer
  • Status codes
  • TypeScript Wrapper
  • React Connect Button
  • Reference
    • Wallet Methods
      • Connection
      • Account Data
      • Transactions
        • Aptos transaction
        • SUI transaction
    • Token (NFT) Methods (Aptos)
    • SDK Get Data Methods
      • Account
      • Transaction
      • Miscellaneous
  • Github
  • Chrome Extension
Powered by GitBook
On this page

Was this helpful?

  1. Reference
  2. SDK Get Data Methods

Account

Version 0.4.7

All methods follow window.fewcha.aptos.<method> or window.fewcha.sui.<method>


async getAccount(accountAddress: MaybeHexString): Promise<Response<Gen.AccountData>>;
async getAccountTransactions(accountAddress: MaybeHexString, query?: { start?: BigInt | number; limit?: number }): Promise<Response<Gen.Transaction[]>>;
async getAccountModules(accountAddress: MaybeHexString, query?: { ledgerVersion?: BigInt | number }): Promise<Response<Gen.MoveModuleBytecode[]>>;
async getAccountModule(accountAddress: MaybeHexString, moduleName: string, query?: { ledgerVersion?: BigInt | number }): Promise<Response<Gen.MoveModuleBytecode>>;
async getAccountResources(accountAddress: MaybeHexString, query?: { ledgerVersion?: BigInt | number }): Promise<Response<Gen.MoveResource[]>>;
async getAccountResource(accountAddress: MaybeHexString, resourceType: Gen.MoveStructTag, query?: { ledgerVersion?: BigInt | number }): Promise<Response<Gen.MoveResource>>;
async getMultiSignAccount(publicKeys: MaybeHexString[], threshold: number): Promise<PublicAccount>;
getObjectsOwnedByAddress(address: string): Promise<SuiObjectInfo[]>;
getGasObjectsOwnedByAddress(address: string): Promise<SuiObjectInfo[]>;
getObjectsOwnedByObject(objectId: string): Promise<SuiObjectInfo[]>;
PreviousSDK Get Data MethodsNextTransaction

Last updated 2 years ago

Was this helpful?