GET
/
accounts
/
{userAddress}
/
portfolio
curl --request GET \
  --url https://orchestrator.rhinestone.dev/accounts/{userAddress}/portfolio \
  --header 'x-api-key: <x-api-key>'
{
  "portfolio": [
    {
      "tokenName": "USD Coin",
      "tokenDecimals": 6,
      "balance": "1000000",
      "tokenChainBalance": [
        {
          "chainId": 1,
          "tokenAddress": "0xA0b86a33E6441b8C4505B8C4505B8C4505B8C4505",
          "balance": "500000"
        }
      ]
    }
  ]
}

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