RPC endpoint and chainId
RPC endpoint
Env
Staging
Production
https://polygon-amoy.infura.io/v3/693b51fa95334eb3bb1849da03cef748'https://polygon-rpc.com',
'https://rpc-mainnet.matic.network',
'https://matic-mainnet.chainstacklabs.com',
'https://rpc-mainnet.maticvigil.com',
'https://rpc-mainnet.matic.quiknode.pro',
'https://matic-mainnet-full-rpc.bwarelabs.com'
sdk = new Startrail({
...
// example
rpcEndpoint: 'https://YOUR_RPC_ENDPOINT',
chainId: 123 // Select the chainId you want to overwrite.
})Last updated
Was this helpful?