Mainnet Integration

For using the Mainnet change the NAG url to https://circularlabs.io/NAG_Mainnet.php?cep= with the setNAGURL method.

ES Module Example

import  CircularProtocolAPI from 'circular-protocol-api';

const circular = CircularProtocolAPI;

circular.setNAGURL("https://nag.circularlabs.io/NAG_Mainnet.php?cep=");

CommonJS Example

const CircularProtocolAPI = require('circular-protocol-api');

const circular = CircularProtocolAPI;

circular.setNAGURL("https://nag.circularlabs.io/NAG_Mainnet.php?cep=");

Last updated