Skip to content

Connecting to RPC nodes

I’m having issues connecting to the RPC node

Answer: First, make sure that your account is funded. You can check this on the Dashboard.

Second, make sure that you are connecting to the node using the IP address you’ve configured in the dashboard:

If you’re on a remote server, you can run curl api.ipify.org to see the IP address you’re connecting to the internet from.

If you’re on a local machine (e.g. your laptop or PC), you can visit api.ipify.org to see your IP address.

If you enter your IP address and still have issues connecting, your VPS may use IPv6 for connecting to external services.

To fix this, get your current IPv6 address by running curl https://api6.ipify.org on your server (or visiting api6.ipify.org if you are trying to connect locally) and configuring that IP address in your Dashboard.

Note: the https://api6.ipify.org URL will ONLY work if you are on IPv6. If you are unsure whether your VPS is using IPv4 or IPv6, this is a great way to check!

Next, check the connection details for the node you’re trying to connect to. All o7 Nodes require secure connections (HTTPS and WSS). If your connection URL includes http (not https) or ws (not wss), you will not be able to connect.

If you have done all the above things, and think something may be wrong with the node itself, check out the Status page to see if there are any known issues.

If you are still unable to connect, join our Discord channel using the link below.

Discord

How do I connect to the node from [insert service here]?

Answer: You can connect to our RPC nodes using the HTTPS endpoint and WSS (websocket) endpoint URLs.

For instance, here is how to connect to the node using the solana-web3.js library:

const connection = new solanaWeb3.Connection(
'https://node-address',
'wss://node-address'
);

If you’re using a trading bot or other service, you will need to consult the documentation for that service to see how to connect to a Solana RPC node. Generally, you would provide these URLs in a configuration file, such as config.ini or .env:

RPC_ENDPOINT=https://node-address
RPC_WEBSOCKET_ENDPOINT=wss://node-address

If you’re having trouble connecting, consider joining our Discord (link above) and ask the community!

How many transactions per second (TPS) can I make to the node?

Answer: We do not limit the number of transactions per second you can make with o7 Node.

How many requests per second (RPS) can I make to the node?

Answer: o7 Node enforces reasonable request limits for both HTTP and WebSocket connections. These limits are designed to keep transaction confirmation rates high for all users, reduce abuse of the node, as well as bad faith requests on the Solana network itself.

Currently, our rate limit is 400 requests per second. This rate limit can and will change over time as we adjust to traffic patterns.

Additional measures are deployed on our nodes to mitigate against spammer/DDOS traffic.

How do you ensure that transactions have the best chance to succeed?

Answer: Congestion on the Solana network can lead to failed transactions and high average response times. The Solana Explorer website shows the average ping time for transactions on the Solana network.

You may also be able to increase the priority fee for your transactions to increase the success rate.