v2.0 Changes
Group RPC methods by namespace
async function main() {
const conflux = new Conflux({
url: 'https://test.confluxrpc.com',
networkId: 1
});
const status = await conflux.pos.getStatus();
console.log('Current PoS status: ', status);
/*
{
epoch: 29,
latestCommitted: 1725,
latestTxNumber: '0x1e36',
latestVoted: 1728,
pivotDecision: {
blockHash: '0xc8c2c58ef952f48adf00d6204d6e930f23aee26c6b9a903820bea1c012f72f3e',
height: 120480
}
}
*/
}Add new Internal contracts
Add support for batch request RPC
Browser exported SDK name changed to TreeGraph
TreeGraphEnable fast send transaction
Readable ABI support
Last updated
Was this helpful?