The Universal Accounts SDK allows you to retrieve a user’s transaction history directly from their Universal Account.Documentation Index
Fetch the complete documentation index at: https://developers.particle.network/llms.txt
Use this file to discover all available pages before exploring further.
You can query both general transactions (all activity) and token-specific transactions (activity related to a specific token). This is useful for displaying activity feeds, wallet histories, or user analytics dashboards.
Fetch All Transactions
To retrieve the complete transaction history of a Universal Account, use thegetTransactions(page, pageSize) method:
pageSize argument.
Fetch Token-Specific Transactions
To filter the transaction history by a specific token and chain, use thegetTokenTransactions() method:
nextPageToken you can use to fetch additional results.
Pagination Example
To retrieve the next page of token-specific transactions, simply pass the returnednextPageToken:
Both
Always check for the
getTransactions() and getTokenTransactions() support pagination.Always check for the
nextPageToken field in the response to determine if more results are available.Fetching Transaction Details
To retrieve the details of a specific transaction, use thegetTransaction(transactionId) method:
The
transactionId is the transaction’s unique identifier; you can retrieve it from the transaction history.TransactionDetails object containing detailed information about the transaction. You can then use this object to display transaction details in your application.
Next steps
sendTransaction() Response
Full breakdown of the
TransactionResult object.Balances
Fetch the unified balance and per-chain breakdowns.
