Get Assets By Owner
Gets standard and compressed NFTs owned by a wallet address
Parameters
-
ownerAddressstring, required
The address of the owner of the assets. -
sortByobject
Sorting criteria. This is specified as an object{ sortBy: <value>, sortDirection: <vlaue> }, where sortBy is one of["created", "updated", "recentAction", "none"]and sortDirection is one of["asc", "desc"] -
limitnumber The maximum number of assets to retrieve. -
pagenumber
The index of the "page" to retrieve. -
beforestring
Retrieve assets before the specified ID. -
afterstring
Retrieve assets after the specified ID.
Example Request
curl --request POST --url "<ENDPOINT>" --header 'Content-Type: application/json' --data '{
"jsonrpc": "2.0",
"method": "getAssetsByOwner",
"params": {
"ownerAddress": "N4f6zftYsuu4yT7icsjLwh4i6pB1zvvKbseHj2NmSQw",
"limit": 10,
"page": 1
},
"id": 0
}'