Get User Portfolio
<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)
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/account/v1/portfolio
- AuthAPI key in header X-API-Key
Query parameters
The unique ID to direct queries or transactions to the correct blockchain. Find more here.
The abbreviated chain name for queries or transactions.
Public address of the user.
Comma-separated values of ERC-20 tokens to retrieve the value of. Maximum 10 at a time.
A cursor to fetch the next page of a lengthy response.
Specifies the asset type: 'fungible' or 'nonFungible'. Default: all.
The timestamp up to which balances will be fetched. Note: Only applicable for assetType set to fungible.
The block number up to which balances will be fetched. Note: Only applicable for assetType set to fungible.
If true, return the token data with 24-hour changes. Default: false.
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.
If true, only tokens with balance > 0 will be listed. Default: true.
Response
Successful response
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.