Skip to main content
Trails comes with a built in high-performant indexer which you can leverage seamlessly to retrieve information about a user’s transaction history.
The examples below import useAccount from wagmi. Since 0xtrails@0.16.0, wagmi is opt-in — install @0xtrails/adapter-wagmi and configure wagmiAdapter to use wagmi hooks alongside Trails. See SDK Hooks.

Wallet Transaction History

Query a user’s transaction history for a specific chain using their connected wallet address:

Intent Transaction History

Retrieve the full transaction history for a specific intent:
For more information, see: