15

Get Full Wallet History


Avatar
Reuben

The ability to fetch a wallet's full history (transactions, transfers, logs), fully decoded.

A

Activity Newest / Oldest

Avatar

Reuben

Status changed to: In progress

Avatar

Andrew Tutia

What are the 3-4 endpoints to call to get the full history?


Avatar

Reuben

Hey Andrew, you can build a comprehensive wallet history by combining:

1) Get native transactions by wallet docs.moralis.io/web3-data-api/evm/reference/get-wallet-transactions
2) Get ERC20 transfers by wallet docs.moralis.io/web3-data-api/evm/reference/get-wallet-token-transfers
3) Get NFT transfers by wallet docs.moralis.io/web3-data-api/evm/reference/get-wallet-nft-transfers

You can then group the results based together, combining results that share transaction hashes to get a detailed view.

See attached for the sort of timeline view you can build using this approach (similar to Zerion or Debank wallet viewers for example!).


Avatar

Reuben


Avatar

Reuben

Status changed to: Planned

Avatar

David Solomon

Whats the difference between this ability and the existing wallet API?


Avatar

Reuben

Hi David - this would be a single endpoint that returns all user activity (native transactions, ERC20 transfers, NFT transfers, internal transaction transfers) in chronological order.

At the moment, this can only be achieved by calling 3 or 4 separate endpoints and merging the responses.


Avatar

Reuben

Status changed to: In progress