CrowdTrendz DEX Utility- Token Filter icon

CrowdTrendz DEX Utility- Token Filter

Filter specific tokens from CrowdTrendz wallet balance data by token ID

CrowdTrendz DEX Utility- Token Filter

AI-generated

Summary

Finds a specified token in each input wallet’s balances and returns the matching token record. For ADA or lovelace, returns a synthesized ADA asset record using the wallet’s ADA balance.

Inputs

  • Target Token ID (required) — Token ID to find. Use lovelace or ada for ADA; otherwise, the operation matches this value exactly against each token’s asset.token_id.
  • Input wallet data (required) — Each incoming item must contain balances.tokens as an array. The ADA special case also reads balances.ada. The Common Token IDs notice provides examples, including IDs for IAG and STRIKE.

Output shape

One output item per input item.

A match returns the found token record unchanged. ADA returns an asset object with token ID lovelace, ticker ADA, and a balance from balances.ada or 0 if absent. Invalid wallet data or an unmatched token returns an error object with a message; thrown errors stop execution unless Continue On Fail is enabled.

Examples

Example 1: Find IAG by token ID

Set Target Token ID to the IAG ID shown in the Common Token IDs notice and provide wallet data containing balances.tokens.

Links

Discussion