Authentication
Authenticate yourself to the Particle Node Service API
Base URL:
https://rpc.particle.network
The Solana chain's RPC URL is:
https://rpc.particle.network/solana
All EVM-compatible chains' RPC URL is:
https://rpc.particle.network/evm-chain
We assume you already have a Particle Account and access to our Dashboard, where you can create projects and apps.
The Web3 APIs require HTTP Basic Authentication:
Basic Auth Key | Basic Auth Value |
---|---|
Username | Your Project Id |
Password | Your Project Client Key / Server Key |
Javascript
Curl
const axios = require('axios');
(async () => {
const response = await axios.get('https://rpc.particle.network/evm-chain?chainId=1', {
auth: {
username: 'Your Project Id',
password: 'Your Project Server Key',
},
});
console.log(response.data);
})();
curl 'https://api.particle.network/server/rpc' \
--header 'Authorization: Basic { Auth String }'
Last modified 2mo ago