Portfolio
getPortfolio
Returns native + ERC-20 token balances with live USD prices on EVM chains. On Solana, returns native SOL plus every non-zero SPL and Token-2022 holding (no USD valuation). On EVM only checks tokens in our registry — long-tail or newly deployed tokens will not appear.
curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "getPortfolio",
"params": {
"chain": "ethereum",
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"blockHeight": 19834521
},
"id": 1
}'import { Spectrum } from '@spectrumnodes/sdk';
const spectrum = new Spectrum({ api: 'https://your-endpoint.simplystaking.xyz/YOUR_API_KEY/' });
const result = await spectrum.data.getPortfolio('ethereum', '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045');
console.log(result);{
"jsonrpc": "2.0",
"result": {
"data": {
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"chain": "ethereum",
"blockHeight": 19834521,
"nativeBalance": "32.126799",
"nativeSymbol": "ETH",
"nativePriceUsd": 2025.31,
"nativeValueUsd": 65066.73,
"tokens": [
{
"address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
"symbol": "WBTC",
"name": "Wrapped Bitcoin",
"balance": "0.00107",
"decimals": 8,
"priceUsd": 67138,
"valueUsd": 71.96
}
],
"totalValueUsd": 65150.4
}
},
"id": 1
}Tracked Tokens
wstETHstETHLINKMORPHODOTTONsUSDeMRE7YIELDsUSDSUSDTUSDCEIGENIOTASTRKMOVRSSVSPKFUELstLINKAPTSSS
Note
Plus the native token for each chain
Parameters
| Name | Required | Description |
|---|---|---|
| chain | yes | Network slug |
| address | yes | Wallet address e.g. 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
| blockHeight | no | Historical EVM block number (archive nodes only) e.g. 19834521 |
Response Fields
| Field | Type |
|---|---|
data | object |
address | string |
chain | string |
blockHeight | integer |
nativeBalance | string |
nativeSymbol | string |
nativePriceUsd | number |
nativeValueUsd | number |
tokens | object[] |
address | string |
symbol | string |
name | string |
balance | string |
decimals | integer |
priceUsd | integer |
valueUsd | number |
totalValueUsd | number |
Supported Networks
EthereumPolygonBNB ChainOptimismBaseAvalancheArbitrumGnosisMoonbeamLineaHyperliquidBerachainMonadScrollPlasmaX LayerSolana