Get Assets By Creator
Get standard and compressed NFTs created by a creator
Parameters
-
creatorAddressstring, required
The address of the creator of the assets. -
onlyVerifiedboolean
Indicates whether to retrieve only verified assets or not. -
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": "getAssetsByCreator",
"params": {
"creatorAddress": "D3XrkNZz6wx6cofot7Zohsf2KSsu2ArngNk8VqU9cTY3",
"onlyVerified": false,
"limit": 10,
"page": 1
},
"id": 0
}'