Transactions involving assets of policy
curl --request GET \
--url https://mainnet.gomaestro-api.org/v1/policy/{policy}/transactions \
--header 'api-key: <api-key>'import requests
url = "https://mainnet.gomaestro-api.org/v1/policy/{policy}/transactions"
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}/transactions', 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}/transactions",
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}/transactions"
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}/transactions")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mainnet.gomaestro-api.org/v1/policy/{policy}/transactions")
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": [
{
"tx_hash": "09b2c948cf12de9eba590eb6af9ddc1e98b9342a79568b63fea06541cb3fecc1",
"slot": 49503576,
"assets": [
"61736d72",
"67657268617274",
"647572616e676f",
"67756e6e657273"
]
},
{
"tx_hash": "1c0375e0aa718c9a203d6fc35522f0de953fcccfe7a74b544a5a246f4d5103d4",
"slot": 49503576,
"assets": [
"6368696c6c696e67",
"6d6f6e6579706f6f6c"
]
},
{
"tx_hash": "23243cf14d26e87a4ac6e70cc001d81587475759049c8dc8954629f665fe87c7",
"slot": 55718892,
"assets": [
"7468657265616c746f656b6e656573",
"646566692e646567656e",
"636f70796361742e626f7373636174",
"6a7562",
"632e6e2e662e742e",
"6e6f6f702e646f6767",
"77696e672e64616f",
"627261696e6c657373",
"6e66742e6c6f766572",
"6869742e6d792e70616e7473",
"626c7565746f756768677579",
"686974686f6c6573",
"6a61636f6269",
"736f6d656461792e73776170",
"6261642e636f6f6b",
"63617264616e6f2e646567656e"
]
},
{
"tx_hash": "6029360e8236d06d81a31e9d8c6748ada97817f227204be092c93ad04fd04e4c",
"slot": 55718892,
"assets": [
"6972732e63727970746f",
"2e323233",
"6972732e616461"
]
},
{
"tx_hash": "6383a77a538f598cd07d7a79dfef7589527833a433d3b8475665f4ec1ed4c19d",
"slot": 106047961,
"assets": [
"666169726661782d726f6265727473",
"6861646c65792e636f78",
"62616e6b6f66686177616969",
"63617264616e6f2e63686164",
"74686169726f79616c66616d696c79"
]
}
],
"last_updated": {
"timestamp": "2023-10-18 07:30:52",
"block_hash": "0e1e924710135acfe200ab13d290bd282a67584fd54456f0dcac0aeaa38bb2c2",
"block_slot": 106047961
},
"next_cursor": null
}Asset Policy
Transactions involving assets of policy
Get transaction history involving assets from a specific Cardano minting policy including transfers and mints.
GET
/
policy
/
{policy}
/
transactions
Transactions involving assets of policy
curl --request GET \
--url https://mainnet.gomaestro-api.org/v1/policy/{policy}/transactions \
--header 'api-key: <api-key>'import requests
url = "https://mainnet.gomaestro-api.org/v1/policy/{policy}/transactions"
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}/transactions', 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}/transactions",
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}/transactions"
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}/transactions")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mainnet.gomaestro-api.org/v1/policy/{policy}/transactions")
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": [
{
"tx_hash": "09b2c948cf12de9eba590eb6af9ddc1e98b9342a79568b63fea06541cb3fecc1",
"slot": 49503576,
"assets": [
"61736d72",
"67657268617274",
"647572616e676f",
"67756e6e657273"
]
},
{
"tx_hash": "1c0375e0aa718c9a203d6fc35522f0de953fcccfe7a74b544a5a246f4d5103d4",
"slot": 49503576,
"assets": [
"6368696c6c696e67",
"6d6f6e6579706f6f6c"
]
},
{
"tx_hash": "23243cf14d26e87a4ac6e70cc001d81587475759049c8dc8954629f665fe87c7",
"slot": 55718892,
"assets": [
"7468657265616c746f656b6e656573",
"646566692e646567656e",
"636f70796361742e626f7373636174",
"6a7562",
"632e6e2e662e742e",
"6e6f6f702e646f6767",
"77696e672e64616f",
"627261696e6c657373",
"6e66742e6c6f766572",
"6869742e6d792e70616e7473",
"626c7565746f756768677579",
"686974686f6c6573",
"6a61636f6269",
"736f6d656461792e73776170",
"6261642e636f6f6b",
"63617264616e6f2e646567656e"
]
},
{
"tx_hash": "6029360e8236d06d81a31e9d8c6748ada97817f227204be092c93ad04fd04e4c",
"slot": 55718892,
"assets": [
"6972732e63727970746f",
"2e323233",
"6972732e616461"
]
},
{
"tx_hash": "6383a77a538f598cd07d7a79dfef7589527833a433d3b8475665f4ec1ed4c19d",
"slot": 106047961,
"assets": [
"666169726661782d726f6265727473",
"6861646c65792e636f78",
"62616e6b6f66686177616969",
"63617264616e6f2e63686164",
"74686169726f79616c66616d696c79"
]
}
],
"last_updated": {
"timestamp": "2023-10-18 07:30:52",
"block_hash": "0e1e924710135acfe200ab13d290bd282a67584fd54456f0dcac0aeaa38bb2c2",
"block_slot": 106047961
},
"next_cursor": null
}Authorizations
Project API Key
Path Parameters
Hex encoded policy ID
Query Parameters
The max number of results per page
Required range:
x >= 0The order in which the results are sorted (by point in chain)
Available options:
asc, desc Return only transactions in blocks minted on or after a specific slot
Required range:
x >= 0Return only transactions in blocks minted before a specific slot
Required range:
x >= 0Pagination cursor string, use the cursor included in a page of results to fetch the next page
Response
Transactions involving assets of policy
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?

