account

Get User Portfolio

Beta <br/> Provides a snapshot of a wallet’s asset portfolio across supported blockchains, including native tokens and detailed EVM token information. Each token entry includes metadata (name, symbol, decimals, contract address, balance, USD valuation) and optional filtering to hide zero balances, simplifying portfolio management.

💡 Compute Unit Value: 95 (Fixed)

get/account/v1/portfolio

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/account/v1/portfolio
  • Auth
    API key in header X-API-Key

Query parameters

chainId'1' | '8217' | '56' | '25' | '43114' | '900' | '901' | '1200' | '42161' | '10' | '1600' | '1601' | '1700' | '1701' | 'osmosis-1' | 'osmo-test-5' | '137' | '250' | '8453' | '1100' | '1500' | '1501'

The unique ID to direct queries or transactions to the correct blockchain. Find more here.

Example:1
chainSymbolstring

The abbreviated chain name for queries or transactions.

Example:ETH
addressstring required

Public address of the user.

Example:0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402
tokensstring

Comma-separated values of ERC-20 tokens to retrieve the value of. Maximum 10 at a time.

Example:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
pageTokenstring

A cursor to fetch the next page of a lengthy response.

Example:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYWdlIjoxLCJjb250cmFjdEFkZHJlc3MiOiIweGZhZThlNjRjZGRlNzM1NTBlN2Q3ZjA0Njk1NTdhMzNhNDE3YjI4NjgiLCJjb250cmFjdFR5cGUiOiJlcmMyMCIsImFwcHJvdmVyQWRkcmVzcyI6IjB4NjVhOGYwN2JkOWE4NTk4ZTFiNWI2YzBhODhmNDc3OWRiYzA3NzY3NSIsInNwZW5kZXJBZGRyZXNzIjoiMHgxMTExMTExMjU0ZmI2YzQ0YmFjMGJlZDI4NTRlNzZmOTA2NDMwOTdkIiwiaWF0IjoxNzMzMzkzODE2fQ.y7FANxpXgtdgk83CIqPHHk2jutj1NZrueTu4XR39jnk
assetType'fungible' | 'nonFungible' | 'all'

Specifies the asset type: 'fungible' or 'nonFungible'. Default: all.

Example:fungible
timestampstring

The timestamp up to which balances will be fetched. Note: Only applicable for assetType set to fungible.

Example:1741869257
blockNumberstring

The block number up to which balances will be fetched. Note: Only applicable for assetType set to fungible.

Example:100000
include24hrChangeboolean

If true, return the token data with 24-hour changes. Default: false.

vsCurrenciesstring

A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies.

Example:usd,eur,gbp
availableOnlyboolean

If true, only tokens with balance > 0 will be listed. Default: true.

Response

Successful response

statusnumber

Numeric status code indicating success or failure of the API call

msgstring

Human-readable message describing the API result or error

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "native": "0",
    "evmTokens": [
      {
        "name": "Dai Stablecoin",
        "symbol": "DAI",
        "decimals": "18",
        "address": "0x6b175474e89094c44da98b954eedeac495271d0f",
        "balance": "1732207021824890025",
        "assetType": "ERC20",
        "USDPrice": "1.0001188795",
        "logoUrl": "https://assetlogo.expand.network/ethereum/DAI.png"
      },
      {
        "name": "USD Coin",
        "symbol": "USDC",
        "decimals": "6",
        "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
        "balance": "997568",
        "assetType": "ERC20",
        "USDPrice": "1.0001282756",
        "logoUrl": "https://assetlogo.expand.network/ethereum/USDC.png"
      },
      {
        "name": "SushiToken",
        "symbol": "SUSHI",
        "decimals": "18",
        "address": "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2",
        "balance": "234925199478993887",
        "assetType": "ERC20",
        "USDPrice": "1.5005360210",
        "logoUrl": "https://assetlogo.expand.network/ethereum/SUSHI.png"
      },
      {
        "name": "Tether USD",
        "symbol": "USDT",
        "decimals": "6",
        "address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
        "balance": "10007",
        "assetType": "ERC20",
        "USDPrice": "1.0001404515",
        "logoUrl": "https://assetlogo.expand.network/ethereum/USDT.png"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.