TriportRPC

getAssetsByOwner

Last updated:

getAssetsByOwner is a Digital Asset Standard (DAS) read method. Given a wallet address it returns the full set of assets that wallet owns — standard NFTs, compressed NFTs (cNFTs), and, where indexed, fungible token positions — in a single paginated call. Use it to render a wallet's portfolio or collection view without issuing one lookup per mint.

Because the result set for an active wallet can be large, responses are paginated. Request one page at a time and walk forward until a page returns fewer items than the requested limit.

This method belongs to the sol_das tier category and therefore requires at least a basic tier API key; free-tier keys are rejected with an authorization error (see Errors).

Parameters

This method takes no parameters.

Returns

getAssetsByOwner return value
FieldType
resultobject

Examples

curl https://triport.io/sol \
  -X POST -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <api-key>' \
  -d '{"id":1,"method":"getAssetsByOwner","params":[],"jsonrpc":"2.0"}'
const res = await fetch("https://triport.io/sol", {
  method: "POST",
  headers: { "Content-Type": "application/json", Authorization: "Bearer <api-key>" },
  body: JSON.stringify({
  "id": 1,
  "method": "getAssetsByOwner",
  "params": [],
  "jsonrpc": "2.0"
}),
});
const data = await res.json();
import requests
resp = requests.post(
    "https://triport.io/sol",
    headers={"Authorization": "Bearer <api-key>"},
    json={"id":1,"method":"getAssetsByOwner","params":[],"jsonrpc":"2.0"},
)
print(resp.json())

Usage

  1. Transport: HTTP (JSON-RPC).
  2. Networks: mainnet.
  3. Credit cost: 10 per call.

FAQ

What does getAssetsByOwner do?
Returns every Digital Asset Standard (DAS) asset — NFTs, compressed NFTs, and fungible tokens — owned by a given Solana wallet.
How many credits does getAssetsByOwner cost?
getAssetsByOwner costs 10 credit(s) per call on Triport by default.
Is getAssetsByOwner available over WebSocket?
getAssetsByOwner is an HTTP JSON-RPC method.