DAS Methods
Get Assets by Owner
Return a list of assets owned by a particular public key.
Body Params
stringrequired
Public key of the owner
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": "getAssetsByOwner",
"params": {}
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));