Usage
Go over the multiple ways to make requests to the Token Metadata API.
Making requests
To make a request to the Stacks API, you can paste the curl
command below in your terminal.
If you are using an api-key
, you will need to replace $HIRO_API_KEY
with your secret API key. If you are using a legacy user key and you have multiple projects, you will also need to specify the Project Id. For improved security, we recommend transitioning to project based keys instead.
You should get a response back that resembles the following:
Making requests using API Client
We also maintain a standalone API client that you can use to make requests to the Stacks API. This client is available as a package on npm and can be installed via npm or yarn.
Example usage:
For more information on the API client, you can check out the API Client documentation.
Last updated on