fetchUserTransactions
Fetching transactions for a specific sender, with support for pagination.
As compared to fetchAccountTransactions
, this function will only return results where the sender
of a transaction is the specified address
.
Usage
import { AptosJSProClient } from "@aptos-labs/js-pro";
const client = new AptosJSProClient({
/* ... */
});
const { nextCursor, prevCursor, transactions } =
await client.fetchUserTransactions({
address:
"0x926ff619e85bdb5b02680f27bea5ea3302c71f86be4b16fa0d63df213add927a",
});
Parameters
Return Type
Last updated on