CrowdTrendz DEX icon

CrowdTrendz DEX

Interact with Cardano blockchain wallets and Minswap DEX

Query Wallet Balances

AI-generated

Summary

Queries the Minswap aggregator for ADA and token balances at a wallet address, then returns balance counts and portfolio value metrics. Uses the custom address when supplied; otherwise derives an address from the credential wallet and Address Index.

Inputs

  • Address Index — Defaults to 0. Derives the wallet address at this index when Custom Address is empty.
  • Custom Address — Defaults to empty. Uses this trimmed address instead of a derived address when provided.
  • Human-Readable Amounts — Defaults to true and is sent to the aggregator as amount_in_decimal; controls the amount format in the balance response.

Output shape

One item per input item, containing a balance result object.

On success, includes wallet, network, timestamp, balances (ADA, minimum lovelace, token records and counts), portfolio value and percentages, settings, and the raw aggregator response. Query failures are returned as an object with an error and wallet/network/settings details. With Continue On Fail enabled, execution errors are emitted as {error: ...} items. Non-mainnet credentials query the preprod network.

Links

Discussion