Virtual TestNets are live! ⚡️ Test and stage dapps on real-time production data.
Get started →

All Products

API

FAQ: API

How can I generate an API access token for an organization?


To generate an access token, head over to the Organizations page in the Tenderly Dashboard.

Once you open the page, click on your organization and go to the Access Tokens tab. Next, click the New Access Token button, add a token label, and click Generate.

How can I fetch the latest block via API?


You can use the following API endpoint to fetch the latest block number:

example
GET https://api.tenderly.co/api/v1/network/{network-id}/block-number