Skip to main content

Get Assets By Authority

Get standard and compressed NFTs for an authority address

Parameters

  • authorityAddress string, required
    The address of the authority of the assets

  • sortBy object
    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"]

  • limit number The maximum number of assets to retrieve.

  • page number
    The index of the "page" to retrieve.

  • before string
    Retrieve assets before the specified ID.

  • after string
    Retrieve assets after the specified ID.

Example Request

curl --request POST --url "<ENDPOINT>" --header 'Content-Type: application/json' --data '{
"jsonrpc": "2.0",
"method": "getAssetsByAuthority",
"params": {
"authorityAddress": "mRdta4rc2RtsxEUDYuvKLamMZAdW6qHcwuq866Skxxv",
"page": 1
},
"id": 0
}'