DAS Methods
Get Assets by Authority
Returns the list of assets given an authority address.
Body Params
stringrequired
Public key of the authority
object
Sorting criteria
option
option
number
Number of assets to return
number
The index of the "page" to retrieve.
string
Retrieve assets before the specified ID
string
Retrieve assets after the specified ID
Javascript Request Example
const url = "https://aura-mainnet.metaplex.com";
fetch(url, {
method: "POST",
headers: "Content-Type": "application/json",
body: {
"jsonrpc": "2.0",
"id": 1,
"method": "getAssetsByAuthority",
"params": {}
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));