Asset Mints
GET /v1/assets/:asset/mints
Get mint and burn history for a specific asset (paginated).
Parameters:
| Parameter | Type | Description |
|---|---|---|
asset | string | Asset identifier in format {policy_id}.{asset_name} |
Query Parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 100 | Results per page (1-500) |
offset | integer | 0 | Number of results to skip |
order | string | desc | Sort order: asc or desc (by slot) |
Example Request:
bash
# IAG mint/burn history
curl -X GET "https://api.insight.iagon.com/v1/assets/5d16cc1a177b5d9ba9cfa9793b07e60f1fb70fea1f8aef064415d114.494147/mints" \
-H "Authorization: Bearer YOUR_API_KEY"
# First mint event
curl -X GET "https://api.insight.iagon.com/v1/assets/5d16cc1a177b5d9ba9cfa9793b07e60f1fb70fea1f8aef064415d114.494147/mints?order=asc&limit=1" \
-H "Authorization: Bearer YOUR_API_KEY"Response:
Content-Type: application/json;charset=utf-8
json
{
"success": true,
"data": [
{
"tx_hash": "abc123def456...",
"block_no": 9876543,
"slot_no": 123456789,
"block_time": "2024-01-15T10:30:00Z",
"quantity": "1000000000000000"
}
],
"pagination": {
"limit": 100,
"offset": 0,
"total": 1,
"hasMore": false
},
"last_updated": {
"slot_no": 123456789,
"block_hash": "abc123...",
"block_time": "2024-01-15T10:30:00Z"
}
}Response Fields:
| Field | Type | Description |
|---|---|---|
tx_hash | string | 64-character hex transaction hash |
block_no | integer | Block number |
slot_no | integer | Slot number |
block_time | string | ISO 8601 timestamp |
quantity | string | Amount minted (positive) or burned (negative) |
Understanding Quantity
- Positive values indicate a mint event (new tokens created)
- Negative values indicate a burn event (tokens destroyed)
- The
total_supplyfrom the asset info endpoint equals the sum of all quantities
