Skip to main content

Attach Geth to a Quorum Blockchain Service transaction node

You can use Geth to attach to a Quorum Blockchain Service (QBS) transaction node. Once attached, use the Geth console to call an Ethereum JavaScript API.



  1. Open a command prompt or shell.

  2. Use the geth attach subcommand to attach to the running Geth instance on your transaction node. Paste the connection string as an argument for the attach subcommand. For example:

    geth attach
  3. Once connected to the transaction node's Ethereum console, you can use the Ethereum JavaScript API. For example, use the following API to find the chainId:
  4. To disconnect from the console, type exit.