femtos

Elysium · Balances

Balances, all layers

One address on HyperCore, HyperEVM and Elysium in one list, with totals per layer.

GET https://api.femtos.xyz/v1/balances/{address}

Parameters

ParamInExample or values
addresspath<creator>
layerqueryall
minUsdquery1
includeSpamquery(empty), true

Example

curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/balances/<creator>?layer=all&minUsd=1"

Key: Authorization: Bearer $FEMTOS_KEY. Get a free key, or with no browser through agent onboarding.

Response fields

FieldTypeMeaning
balances[]objectHoldings, largest USD first (sort=amount: largest amount); spam left out unless includeSpam: {layer, kind, asset, symbol, name, decimals, raw, amount, priceUsd, priceSource, usd, spam, …}
totalUsddecimal | nullUSD of every holding (spam never counts; tokens= narrows it, minUsd and limit do not) + HyperCore perp account values; Elysium testnet not valued; null on a past read
totalUsdCompletebooleanEvery holding had a price and every layer asked answered
layers.<layer>objectPer layer asked: source, height, asOf (provenance), usd, count, verify: {source, height, asOf, network, chainId, testnet, syncing, dataUntil, requested, usd, usdComplete, count, …}
perpobject | nullHyperCore perp accounts (layer hypercore / all): kept apart from the token rows; null with tokens= or a past read: {dex, collateral, accountValue, withdrawable, totalMarginUsed, totalNtlPos, positions, usd, dexes, totalUsd, abstraction, inSpot}

Related: Balances

  • Balances GET /v1/balances/{address}
    Every token an address holds on Elysium, with USD value and the block it is read at.
  • Token balance GET /v1/balances/{address}/{token}
    One token of one address on Elysium: 0 when not held, now or at a past block.
  • Batch balances POST /v1/balances/batch
    Up to 100 addresses on Elysium in one call, the same answer for each.

More