Add a node to a network
On the Nodes page, add a node; The status will change from Pending to Running once deployed.View node access and credentials
To view the access information:- Click your project.
- Click your network.
- Click the node name.
nd-123-456-789.p2pify.com, in the same formats.
Examples of your HTTPS node connection endpoints:
gRPC endpoints use x-token authentication passed in the request metadata, rather than URL-based auth tokens. See authentication methods for details.
Rotate a node auth token
You can replace a node’s auth token on Chainstack without downtime. You generate a new auth token, move your applications to it while both tokens work, and then deactivate the old auth token. Rotating auth tokens regularly is good practice, for example on a schedule or when your team changes. A rotation replaces every credential that belongs to the auth token:- The auth token in the HTTPS and WSS endpoint URLs
- The username and password for password-protected access
- The x-token for gRPC endpoints
1
Generate a new auth token
Open the node, click Rotate token next to Access and credentials, and then click Generate new token.Access and credentials now lists two auth tokens, each with its own endpoints and credentials:
- New token — marked Active
- Old token — marked Active until rotation is completed
2
Update your applications
In your applications, replace the old endpoint URLs, username and password, and x-token with the values listed under New token. Both auth tokens keep working until you complete the rotation, with no time limit.
3
Complete the rotation
Click Complete rotation, select I have updated my applications to use the new endpoint URLs, and then click Deactivate old token.
- Each auth token has at most one rotation in progress. You can click Rotate token again after you complete the current rotation.
- You end a rotation only by deactivating the old auth token. The new auth token stays active.
- If your node has more than one active auth token, the API token selector lists them. Select an auth token to rotate it, and rotate each auth token separately.
- A rotation doesn’t change a multichain auth token.
View node requests metrics
You can view the data on requests made to your public chain project node. To view the requests data:- Click your project.
- Click your network.
- Click the node name. This will show you the data on the requests made to your node:
- Requests made — a chart of the total requests over HTTP and WebSocket for the selected period.
- Method calls — a breakdown of the method calls to the node over the selected period. Only available for HTTP requests.
- Response codes — a breakdown of the HTTP response status codes over the selected period. Only available for HTTP requests.
Switch the period
To switch the period of the displayed requests data:- Navigate to the Metrics section.
- On your right, select the period.
Download the aggregate data
To download the aggregate requests data:- In the Requests made section, click the hamburger button.
- Click the format to download the aggregate data.
Check Dedicated Node performance
A Dedicated Node shows its current CPU, RAM, storage, and latest block number as tiles in the Node performance section of the node’s Overview tab. To view the node performance:- Click your project.
- Click your network.
- Click the node name.
Delete a node
To delete a node:- Click your project.
- Click a network in the project.
- Select a peer node to delete. Click Edit > Delete.