For the complete documentation index, see llms.txt. This page is also available as Markdown.

JSON-RPC methods

Ethereum Beacon API

You can review the official Ethereum Beacon API documentation HERE

Example API

curl https://api.chainup.net/ethereum2/mainnet/<YOUR_API_KEY>/eth/v1/node/syncing \
-X GET \
-H 'content-type: application/json' \
-H "CONSISTENT-HASH: true" 
const axios = require('axios');
//npm install axios if you don have the module installed`

let options = {
    url: "https://api.chainup.net/ethereum2/mainnet/<YOUR_API_KEY>/eth/v1/node/syncing",
    method: "get",
    headers:
    { 
     "content-type": "application/json",
     "CONSISTENT-HASH": "true"
    }
};

axios(options)
.then(response => {
console.log('Post successful: response:', response.data);
})
.catch(error => {
console.error('An error has occurred:', error);
});

Last updated