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

Transaction

Version 0.4.7

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

async getTransactions(query?: { start?: BigInt | number; limit?: number }): Promise<Response<Gen.Transaction[]>>;
async getTransactionByHash(txnHash: string): Promise<Response<Gen.Transaction>>;
async getTransactionByVersion(txnVersion: BigInt | number): Promise<Response<Gen.Transaction>>;
async transactionPending(txnHash: string): Promise<Response<boolean>>;
async waitForTransactionWithResult(txnHash: string, extraArgs?: { timeoutSecs?: number; checkSuccess?: boolean }): Promise<Response<Gen.Transaction>>;
async waitForTransaction(txnHash: string, extraArgs?: { timeoutSecs?: number; checkSuccess?: boolean }): Promise<Response<void>>;
getTransactionsForObject(objectID: string): Promise<GetTxnDigestsResponse>;
getTransactionsForAddress(addressID: string): Promise<GetTxnDigestsResponse>;
getTransactionWithEffects(digest: string): Promise<SuiTransactionResponse>;
getTransactionWithEffectsBatch(digests: string[]): Promise<SuiTransactionResponse[]>;
PreviousAccountNextMiscellaneous

Last updated 2 years ago

Was this helpful?