GET
/
accounts
/
{userAddress}
/
portfolio
curl --request GET \
  --url https://orchestrator.rhinestone.dev/accounts/{userAddress}/portfolio \
  --header 'x-api-key: <x-api-key>'
{
"portfolio": [
{
"tokenName": "USDC",
"tokenDecimals": 16,
"balance": "1000000000000000000",
"tokenChainBalance": [
{
"chainId": 10,
"tokenAddress": "0x0b2c639c533813f4aa9d7837caf62653d097ff85",
"balance": "1000000000000000000"
}
]
}
]
}

Headers

x-api-key
string
required

Rhinestone API key

Path Parameters

userAddress
string
required

Ethereum address of the user account

Example:

"0x579d5631f76126991c00fb8fe5467fa9d49e5f6a"

Query Parameters

chainIds
string

Comma-separated list of chain IDs to filter by

Example:

"1,10,137"

tokens
string

Comma-separated list of chain:token pairs to filter by

Example:

"1:0xA0b86a33E6441b8C4505B8C4505B8C4505B8C4505,10:0xB0b86a33E6441b8C4505B8C4505B8C4505B8C4505"

filterEmpty
string
default:false

Whether to filter out tokens with zero balance

Example:

"true"

Response

200
application/json

200

Successfully retrieved user portfolio