DAS Methods
Get Assets by Group
Return the list of assets given a group (key, value) pair. For example this can be used to get all assets in a collection.
Body Params
stringrequired
Public key of the group
stringrequired
The value of the group.
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": "getAssetsByGroup",
"params": {}
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));