Get non-fungible token mints
Retrieves a list of non-fungible token mints for a given asset identifier.
Query Parameters
asset_identifierstring
asset class identifier
limit?Limit
max number of events to fetch
Default
50
Range
value <= 200
offset?Offset
index of first event to fetch
Default
0
unanchored?boolean
Include data from unanchored (i.e. unconfirmed) microblocks
Default
false
tx_metadataboolean
whether or not to include the complete transaction metadata instead of just tx_id
. Enabling this option can affect performance and response times.
Default
false
Response Body
List of Non-Fungible Token mint events for an asset identifier
TypeScript Definitions
Use the response body type in TypeScript.
limitinteger
offsetinteger
totalinteger
resultsarray<NonFungibleTokenMint>
Default Response
TypeScript Definitions
Use the response body type in TypeScript.
errorstring
message?string
[key: string]any
curl -X GET "https://api.hiro.so//extended/v1/tokens/nft/mints?asset_identifier=SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173.the-explorer-guild%3A%3AThe-Explorer-Guild&limit=50&offset=0&unanchored=true&tx_metadata=false"
fetch("https://api.hiro.so//extended/v1/tokens/nft/mints?asset_identifier=SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173.the-explorer-guild%3A%3AThe-Explorer-Guild&limit=50&offset=0&unanchored=true&tx_metadata=false")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.hiro.so//extended/v1/tokens/nft/mints?asset_identifier=SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173.the-explorer-guild%3A%3AThe-Explorer-Guild&limit=50&offset=0&unanchored=true&tx_metadata=false"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://api.hiro.so//extended/v1/tokens/nft/mints?asset_identifier=SP2X0TZ59D5SZ8ACQ6YMCHHNR2ZN51Z32E2CJ173.the-explorer-guild%3A%3AThe-Explorer-Guild&limit=50&offset=0&unanchored=true&tx_metadata=false"
response = requests.request("GET", url)
print(response.text)
{
"limit": 20,
"offset": 0,
"total": 1,
"results": [
{
"recipient": "string",
"event_index": 0,
"value": {
"hex": "string",
"repr": "string"
},
"tx_id": "string"
}
]
}
{
"error": "string",
"message": "string"
}