POST
/
searchAssets
curl --request POST \
  --url https://mainnet.helius-rpc.com/ \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "id": "my-id",
  "method": "searchAssets",
  "params": {
    "ownerAddress": "86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY",
    "tokenType": "all",
    "limit": 50
  }
}'
{
  "assets": {
    "total": 80,
    "limit": 50,
    "page": 1,
    "items": [
      {
        "interface": "V1_NFT",
        "id": "SomeNftMintKey12345",
        "ownership": {
          "owner": "86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY",
          "ownership_model": "single"
        },
        "content": {
          "json_uri": "https://example.com/metadata/12345.json"
        }
      }
    ]
  },
  "nativeBalance": {
    "lamports": 123,
    "price_per_sol": 123,
    "total_price": 123
  }
}

Authorizations

api-key
string
query
required

Your Helius API key. You can get one for free in the dashboard.

Body

application/json
jsonrpc
enum<string>
default:2.0
required

The version of the JSON-RPC protocol.

Available options:
2.0
id
string
default:1
required

An ID to identify the request.

method
enum<string>
default:searchAssets
required

The name of the JSON-RPC method to invoke.

Available options:
searchAssets
params
object
required

Parameters for the searchAssets method.

Response

Successful response

assets
object
Example:
{
"total": 80,
"limit": 50,
"page": 1,
"items": [
{
"interface": "V1_NFT",
"id": "SomeNftMintKey12345",
"ownership": {
"owner": "86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY",
"ownership_model": "single"
},
"content": {
"json_uri": "https://example.com/metadata/12345.json"
}
}
]
}
nativeBalance
object

The native SOL balance of the Solana wallet account in lamports and USD value.