Wallet Transaction History
For example, querying a user’s transaction history for a specific chain using their connected wallet address:Intent Transaction History
WhilegetAccountTransactionHistory retrieves all transactions for a wallet address on a specific chain, getIntentTransactionHistory retrieves the transaction history for a specific intent scoped to Trails.
This is useful when you want to track the lifecycle of a particular intent across multiple chains, including deposit, settlement, and withdrawal transactions.
Key Differences
| Feature | getAccountTransactionHistory | getIntentTransactionHistory |
|---|---|---|
| Purpose | All transactions for a wallet address | All transactions for a specific intent flow |
| Scope | Single chain | Cross-chain (origin + destination) |
| Parameters | chainId, accountAddress | intentAddress |
| Use Case | Wallet activity dashboard | Track or query specific cross-chain operation |
| Returns | Individual transactions | Intent summaries with status |