AptosAptos Network's breakthrough technology and seamless user experience are now available on QuickNode.

Start building today!     

Contents

eth-v1-beacon-genesis REST API Endpoint

Parameters:

  1. none

Returns:

  1. data - The object with the following values:

    genesis_time - string - The genesis_time configured for the beacon node, which is the unix time in seconds at which the Eth2.0 chain began

    genesis_validators_root - string - The genesis validator root

    genesis_fork_version - string - A fork version number

Code Examples:

var myHeaders = new Headers();
myHeaders.append("accept", "application/json");

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("http://sample-endpoint-name.network.quiknode.pro/token-goes-here/eth/v1/beacon/genesis", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
Ready to get started? Create a free account