Overview
getAssetsByOwner lists the assets held by a wallet. By default it returns NFTs, compressed NFTs and MPL Core assets. Add showFungible to include fungible tokens with balances and USD prices, and showNativeBalance to add the wallet’s SOL balance. Together they give a full portfolio in one call.
Parameters
string
required
The wallet address (base-58).
number
Page number, starting at 1. See Pagination.
number
Results per page. Maximum and default 1,000.
string
Cursor from a previous response.
string
Return assets with IDs before this one.
string
Return assets with IDs after this one.
object
{ "sortBy": "id" | "created" | "updated" | "recent_action" | "none", "sortDirection": "asc" | "desc" }object
Display options:
showFungible, showNativeBalance, showUnverifiedCollections, showCollectionMetadata, showInscription. Also accepted as displayOptions.Response
object