How to Access Tezos API
Step 1: To access Tezos, use the following native access endpoint:
- Network: Tezos Mainnet
- Request Type: GET / POST
https://svc.blockdaemon.com/tezos/mainnet/native
Step 2: Authenticate your request using your API key. You can include the API key using either of the following headers:
Authorization: Bearer YOUR_API_KEY
X-API-Key: YOUR_API_KEY
Step 3: Specify a Tezos method at the end of the query:
https://svc.blockdaemon.com/tezos/mainnet/native/YOUR_METHOD
Step 4: For POST requests, specify the data required by the method in the request body.
Example Request
Here is a cURL example for using /network/stat to get the network statistics for Tezos Mainnet:
curl -X GET \
https://svc.blockdaemon.com/tezos/mainnet/native/network/stat \
-H 'Authorization: Bearer YOUR_API_KEY'
The following is a typical response you will get:
{
"total_sent": "362092994390",
"total_recv": "472560797348",
"current_inflow": 342122,
"current_outflow": 211765
}
👋 Need Help?
Contact us through email or our support page for any issues, bugs, or assistance you may need.
Updated 25 days ago