Authenticate

To make sure that no unauthorized person gets access to your node, you can create as many API tokens for your node as you want. 

To do this, go to the node manager and open the settings menu of your node. Here you have the possibility to create new API key for your node. Just name your token and click on create. Now you will get a new token.



You can now include clientName and apiKey as headers in your queries to authenticate to the server. 


Example CURL: 
				
					 curl -X post https://node8.chaingateway.io \ 
    -H 'apikey: cb733d6ab20d7cc7afcee29b05c589c5ca015918' \ 
    -H 'clientName: Application 1' \ 
    -d '{ "jsonrpc": "2.0", "method": "eth_getBlockByHash", "params": [], "id": 0 }'