DRC20 Info
curl --request GET \
--url https://xdg-mainnet.gomaestro-api.org/v0/assets/drc20/{ticker} \
--header 'api-key: <api-key>'import requests
url = "https://xdg-mainnet.gomaestro-api.org/v0/assets/drc20/{ticker}"
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://xdg-mainnet.gomaestro-api.org/v0/assets/drc20/{ticker}', 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://xdg-mainnet.gomaestro-api.org/v0/assets/drc20/{ticker}",
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://xdg-mainnet.gomaestro-api.org/v0/assets/drc20/{ticker}"
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://xdg-mainnet.gomaestro-api.org/v0/assets/drc20/{ticker}")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xdg-mainnet.gomaestro-api.org/v0/assets/drc20/{ticker}")
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": {
"deploy_inscription": "f86ac394543faf363d18b9bebfe160f6e57539f69642ce9a3d23f2e4e92c12c5i0",
"holders": 86,
"minted_supply": "7969155.000000000000000000",
"terms": {
"dec": 18,
"limit": "69.000000000000000000",
"max": "20420420.000000000000000000"
},
"ticker": "$yod",
"ticker_hex": "24796f64"
},
"last_updated": {
"block_hash": "bdb39d4aaf7dc588c3732a27fd57b7cdc0c93bec20c98526e3af45217590500a",
"block_height": 5288700
}
}DRC20
DRC20 Info
Get detailed information about a specific Dogecoin DRC-20 token including supply, holders, and deployment details.
GET
/
assets
/
drc20
/
{ticker}
DRC20 Info
curl --request GET \
--url https://xdg-mainnet.gomaestro-api.org/v0/assets/drc20/{ticker} \
--header 'api-key: <api-key>'import requests
url = "https://xdg-mainnet.gomaestro-api.org/v0/assets/drc20/{ticker}"
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://xdg-mainnet.gomaestro-api.org/v0/assets/drc20/{ticker}', 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://xdg-mainnet.gomaestro-api.org/v0/assets/drc20/{ticker}",
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://xdg-mainnet.gomaestro-api.org/v0/assets/drc20/{ticker}"
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://xdg-mainnet.gomaestro-api.org/v0/assets/drc20/{ticker}")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xdg-mainnet.gomaestro-api.org/v0/assets/drc20/{ticker}")
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": {
"deploy_inscription": "f86ac394543faf363d18b9bebfe160f6e57539f69642ce9a3d23f2e4e92c12c5i0",
"holders": 86,
"minted_supply": "7969155.000000000000000000",
"terms": {
"dec": 18,
"limit": "69.000000000000000000",
"max": "20420420.000000000000000000"
},
"ticker": "$yod",
"ticker_hex": "24796f64"
},
"last_updated": {
"block_hash": "bdb39d4aaf7dc588c3732a27fd57b7cdc0c93bec20c98526e3af45217590500a",
"block_height": 5288700
}
}Was this page helpful?
⌘I

