List assets of a policy
curl --request GET \
--url https://mainnet.gomaestro-api.org/v1/policy/{policy}/assets \
--header 'api-key: <api-key>'import requests
url = "https://mainnet.gomaestro-api.org/v1/policy/{policy}/assets"
headers = {"api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'api-key': '<api-key>'}};
fetch('https://mainnet.gomaestro-api.org/v1/policy/{policy}/assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mainnet.gomaestro-api.org/v1/policy/{policy}/assets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://mainnet.gomaestro-api.org/v1/policy/{policy}/assets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mainnet.gomaestro-api.org/v1/policy/{policy}/assets")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mainnet.gomaestro-api.org/v1/policy/{policy}/assets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"asset_name": "6164616d616e74",
"asset_name_ascii": "adamant",
"fingerprint": "asset105lxc60yjpqygjsnn29e5hjyafnfw75pqwwza2",
"total_supply": "1",
"asset_standards": {
"cip25_metadata": {
"augmentations": [],
"core": {
"handleEncoding": "utf-8",
"og": 0,
"prefix": "$",
"termsofuse": "https://adahandle.com/tou",
"version": 0
},
"description": "The Handle Standard",
"image": "ipfs://Qmai8iwE1Diw5YZVYSpSPAbXM5AVprheve8AAXJzwXoftf",
"name": "$adamant",
"website": "https://adahandle.com"
},
"cip68_metadata": null
}
},
{
"asset_name": "6264736d",
"asset_name_ascii": "bdsm",
"fingerprint": "asset1qyv6sdhq0fw7mxt0zl7gwd2h2hs4evpe0zl73r",
"total_supply": "1",
"asset_standards": {
"cip25_metadata": {
"augmentations": [],
"core": {
"handleEncoding": "utf-8",
"og": 0,
"prefix": "$",
"termsofuse": "https://adahandle.com/tou",
"version": 0
},
"description": "The Handle Standard",
"image": "ipfs://QmfTpy3ybWL1teCMVAieh7atHtYgpcCZ5Ew58eSUxHgZFb",
"name": "$bdsm",
"website": "https://adahandle.com"
},
"cip68_metadata": null
}
}
],
"last_updated": {
"timestamp": "2023-10-18 07:30:52",
"block_hash": "0e1e924710135acfe200ab13d290bd282a67584fd54456f0dcac0aeaa38bb2c2",
"block_slot": 106047961
},
"next_cursor": "YmRzbQ"
}Asset Policy
List assets of a policy
Get comprehensive list of all native assets created under a specific Cardano minting policy.
GET
/
policy
/
{policy}
/
assets
List assets of a policy
curl --request GET \
--url https://mainnet.gomaestro-api.org/v1/policy/{policy}/assets \
--header 'api-key: <api-key>'import requests
url = "https://mainnet.gomaestro-api.org/v1/policy/{policy}/assets"
headers = {"api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'api-key': '<api-key>'}};
fetch('https://mainnet.gomaestro-api.org/v1/policy/{policy}/assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mainnet.gomaestro-api.org/v1/policy/{policy}/assets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://mainnet.gomaestro-api.org/v1/policy/{policy}/assets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mainnet.gomaestro-api.org/v1/policy/{policy}/assets")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mainnet.gomaestro-api.org/v1/policy/{policy}/assets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"asset_name": "6164616d616e74",
"asset_name_ascii": "adamant",
"fingerprint": "asset105lxc60yjpqygjsnn29e5hjyafnfw75pqwwza2",
"total_supply": "1",
"asset_standards": {
"cip25_metadata": {
"augmentations": [],
"core": {
"handleEncoding": "utf-8",
"og": 0,
"prefix": "$",
"termsofuse": "https://adahandle.com/tou",
"version": 0
},
"description": "The Handle Standard",
"image": "ipfs://Qmai8iwE1Diw5YZVYSpSPAbXM5AVprheve8AAXJzwXoftf",
"name": "$adamant",
"website": "https://adahandle.com"
},
"cip68_metadata": null
}
},
{
"asset_name": "6264736d",
"asset_name_ascii": "bdsm",
"fingerprint": "asset1qyv6sdhq0fw7mxt0zl7gwd2h2hs4evpe0zl73r",
"total_supply": "1",
"asset_standards": {
"cip25_metadata": {
"augmentations": [],
"core": {
"handleEncoding": "utf-8",
"og": 0,
"prefix": "$",
"termsofuse": "https://adahandle.com/tou",
"version": 0
},
"description": "The Handle Standard",
"image": "ipfs://QmfTpy3ybWL1teCMVAieh7atHtYgpcCZ5Ew58eSUxHgZFb",
"name": "$bdsm",
"website": "https://adahandle.com"
},
"cip68_metadata": null
}
}
],
"last_updated": {
"timestamp": "2023-10-18 07:30:52",
"block_hash": "0e1e924710135acfe200ab13d290bd282a67584fd54456f0dcac0aeaa38bb2c2",
"block_slot": 106047961
},
"next_cursor": "YmRzbQ"
}Authorizations
Project API Key
Path Parameters
Hex encoded Policy ID
Query Parameters
The max number of results per page
Required range:
x >= 0Pagination cursor string, use the cursor included in a page of results to fetch the next page
Response
List of assets paired with short information summary
A paginated response. Pass in the next_cursor in a subsequent request as the cursor query parameter to fetch the next page of results.
Was this page helpful?
⌘I

