# View node access and credentials
To view the access information:
- Click your project.
- Click your network.
- Click the node name.
This will give you the access and credentials to your nodes.
# Public chain nodes
# Access and credentials
Your node connection endpoints.
Examples:
- HTTPS:
https://nd-123-456-789.p2pify.com/3c6e0b8a9c15224a8228b9a98ca1531d
- WSS:
wss://ws-nd-123-456-789.p2pify.com/3c6e0b8a9c15224a8228b9a98ca1531d
# Password-protected access and credentials
Your node connection endpoints protected with Basic Authentication (opens new window).
To use the endpoint with Basic Authentication, you must provide the username and password in the URL:
- HTTPS:
https://user-name:[email protected]
- WSS:
wss://user-name:[email protected]
Example to get the latest block information from an EVM-based node:
curl -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest", false],"id":1}' https://user-name:[email protected]
You can also pass the username and password in the HTTP header:
curl -i \
-H 'Accept: application/json' \
-H 'Authorization: Basic BASE64_STRING' \
--data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest", false],"id":1}' \
ENDPOINT
where
- BASE64_STRING — the Base64 encoded string of your USERNAME:PASSWORD pair.
- ENDPOINT — your node HTTPS endpoint.
Example to get the latest block information from an EVM-based node:
curl -i \
-H 'Content-Type: application/json' \
-H 'Authorization:Basic dXNlci1uYW1lOnBhc3Mtd29yZC1wYXNzLXdvcmQtcGFzcy13b3Jk' \
--data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest", false],"id":1}' \
https://nd-123-456-789.p2pify.com
# Consortium nodes
If you are an invited member of a consortium project, you will be able to see the basic access information of other nodes in the project.
Quorum has the node access set up in the same way as public chain nodes.
See also