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 node credentials
You can replace a node’s credentials on Chainstack without downtime. You generate new credentials, move your applications to them while the old and new credentials both work, and then deactivate the old credentials. Rotating credentials regularly is good practice, for example on a schedule or when your team changes. A rotation replaces all of the node’s credentials together:- 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 new credentials
Open the node, click Rotate credentials next to Access and credentials, and then click Generate new credentials.A Credential rotation in progress banner appears, and Access and credentials lists two sets of credentials, each with its own endpoints:
- New credentials — marked Active
- Old credentials — 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 credentials. The old and new credentials both 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 credentials.
- Each set of credentials has at most one rotation in progress. You can click Rotate credentials again after you complete the current rotation.
- You end a rotation only by deactivating the old credentials. The new credentials stay active.
- If your node has more than one active set of credentials, the API token selector lists them. Select a set to rotate it, and rotate each set 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.