Skip to content
You are reading GoQuorum development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.

extend API

The extend module of quorum.js allows Quorum-specific APIs to be added to an instance of web3.

Example

const Web3 = require("web3");
const quorumjs = require("quorum-js");

const web3 = new Web3("http://localhost:22000");

quorumjs.extend(web3);

web3.quorum.eth.sendRawPrivateTransaction(signedTx, args);

Parameters

param type required description
web3 Object yes web3 instance
apis String no comma-separated list of APIs to extend web3 with. Default is to add all APIs, i.e. quorumjs.extend(web3, 'eth, raft, istanbul, quorumPermission')

Methods

See the Raft, Istanbul, Privacy, and Permissioning API documentation for API details.

ConsenSys has acquired Quorum from J.P. Morgan. Please read the FAQ.
Questions or feedback? You can discuss issues and obtain free support on GoQuorum Slack channel.
For paid professional support by ConsenSys, contact us at quorum@consensys.net