Skip to content

Security

Nirvana Labs uses a combination of tools and mechanisms to secure network endpoints and users’ API keys.

Nirvana Labs uses an API Key in URL (Path Parameter) to authenticate API requests. The API key is directly embedded in the request’s URL and point to a specific REST API resource. An example of a URL-based API request is:

curl -X POST https://eth-mainnet.g.nirvanalabs.io/v2/demo \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

Team account holders can share access to their Nirvana Labs API keys with other account members.

To share an API key:

  1. In the Dashboard, select the API that you want to share.
  2. Select the API Key Sharing tab.
  3. If you haven’t shared the API key yet, select Invite Members.
  4. Type one or more user emails, assign the user role, and select Share API Key.
  5. Select Confirm.

To create a new API key, go to the Security tab in your Dashboard and click on the Refresh button next to your current API key.

A pop-up window will notify you that you are about to generate a new API key to replace the existing one. Click on Confirm to continue.

The new API key will overwrite the previous one and will be used by Nirvana Labs to authenticate all your API requests.

Administrator

The Nirvana Labs account owner who created the API key.*

  • Can change roles, and revoke and resend invites.
  • Can edit security settings and view API key statistics.
  • Can delete the API key.
  • View billing details.

*Ownership of an API key cannot be changed once created.

Developer

  • Has access to the API key name, security settings, and collaborator list.
  • Can edit security settings and view API key statistics.
  • Can delete the API key.
  • View billing details.

You’ll receive an email invitation to access an API key. In the email invitation, select Confirm and accept the invitation.

You can view all keys that you own, and all keys shared with you, by selecting Key Sharing in the Dashboard.