Theme

Guides

Get Fungible Assets by Owner

This guide shows you how to retrieve all fungible tokens (like SPL tokens, SOL, etc.) owned by a specific wallet address using the DAS API.

The most effective way to get fungible assets is using searchAssets with the FungibleToken interface filter. It only returns fungible assets, so you don't need to filter for them.

While this method is the most effective, it's not supported by all DAS API Providers currently.

Method 2: Using Get Assets By Owner with Filtering

You can also use getAssetsByOwner and filter the results client-side:

Method 3: Filtering by Token Properties

You can filter fungible tokens by various properties:

Tips and Best Practices

  1. Use Interface Filter: see Search Assets by Criteria for more information.
  2. Enable Show Fungible: Use showFungible: true in display options to get complete token information as shown in Display Options.
  3. Consider Decimals: Check the decimals field to properly format token amounts.
  4. Cache Results: Token balances change frequently, but token metadata is relatively stable.
Previous
Get Wallet Tokens