QueryAssetStat
Query all Taproot Assets metadata in Bittapd without regarding end users.
POST
/api/query-asset-stats
Headers
Request Body
Without any input needed
Request Demo
{
"page_num": 1,
"page_size": 10,
"asset_name": "xxx"
}
Response Demo
{
"code": 0,
"data": {
"asset_stats": [
{
"asset": {
"asset_id": "ou3pE/AgBDOCyX1fGuwqoH/xvc+TOF9iCMYGUN6ds1o=",
"genesis_point": "8b6ba4532de33ca1726791715e21e6a10a9b51ac254032200c8d03f4577907c5:0",
"total_supply": 10000,
"asset_name": "bits",
"genesis_height": 154,
"genesis_timestamp": 1718353794,
"anchor_point": "fc2b6b3a8e2788f48350f289d56ea4b20c148804209e643e8855522da0498062:0"
},
"total_proofs": 1
},
{
"asset": {
"asset_id": "de/SD75r7iEYLGTVyZVBgvPR//n4Fb+7Nk4mCxtrQRM=",
"genesis_point": "cedeca49024aea0bb4341607b855de1a07f6fb9ecf2b4969ce130869a377fabd:1",
"total_supply": 1000000,
"asset_name": "gold",
"genesis_height": 2811,
"genesis_timestamp": 1719114639,
"anchor_point": "0b54e95197b4b9d16c1fd0b1bddb68e060e99cf61a34dcb580f86c3d885b9b93:0"
},
"total_proofs": 1
},
{
"asset": {
"asset_id": "EXFAh5hkLtDsG2Q1tkwyrsOaLEbzCjVoHY5opOoaLsI=",
"genesis_point": "6344435b2681317ff01ecf421854b85556c1619bfadde08441f10a09f46d6d48:1",
"total_supply": 1000000,
"asset_name": "taps",
"genesis_height": 2805,
"genesis_timestamp": 1719107411,
"anchor_point": "cedeca49024aea0bb4341607b855de1a07f6fb9ecf2b4969ce130869a377fabd:0"
},
"total_proofs": 1
}
]
},
"message": "",
"traceid": "4975e052-faf2-484d-87be-94dca36df7bc"
}
{
"error": "Invalid request"
}
Last updated