getRegions RPC Method
Please note that this RPC method requires the Lil' JIT - JITO Bundles and transactions add-on enabled on your QuickNode endpoint.
Solana Web3.js 2.0 includes the ability to customize RPC methods and transports, allowing you to seamlessly integrate QuickNode Marketplace add-ons into your applications. For more information on how to use QuickNode Marketplace add-ons with Solana Web3.js 2.0, check out these guides: How to Use QuickNode Add-ons using Solana Web3.js 2.0 (Part 1) and How to Use QuickNode Add-ons using Solana Web3.js 2.0 (Part 2)
Parameters
This method does not accept any parameters
Returns
result
array
The available regions the user can route their Jito requests to
Request
1curl 'https://docs-demo.solana-mainnet.quiknode.pro/' \2--header 'Content-Type: application/json' \3--data '4{5"jsonrpc": "2.0",6"id": 1,7"method": "getRegions",8"params": []9}10'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free