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[]>;
Last updated