API Reference

In order to make requests to the node, you need to first deploy a node and wait for the node state to transit to LIVE.

The node endpoints differ from type to type, in order to see the available endpoints for the node type, please visit the Blockchains section down below.

As an example, we will take a node that has the /rpc endpoint, making requests to the node would look something like this:

import axios from 'axios'

await axios({
  headers: {
    'API-Key': 'APIKEY',
    //or
    authorization: 'Bearer TOKEN'
  }
  method: 'GET',
  url: 'https://${NODE_ID}.upblock.dev',
})