Skip to content

xrpl-api 2.0.17

Install from the command line:
Learn more about npm packages
$ npm install @Bithomp/xrpl-api@2.0.17
Install via package.json:
"@Bithomp/xrpl-api": "2.0.17"

About this version

@Bithomp/xrpl-api

A Bithomp JavaScript/TypeScript library for interacting with the XRP Ledger

In an existing project (with package.json), install @bithomp/xrpl-api:

$ npm install --save @bithomp/xrpl-api

Example of use

const BithompXRPL = require("@bithomp/xrpl-api");
const config = [
  {
    "url": "wss://s2.ripple.com",
    "type": "regular,history"
  },
  {
    "url": "wss://xrplcluster.com",
    "type": "regular,history,gateway_balances"
  }
];

// setup and connect
BithompXRPL.Client.setup(config);
await BithompXRPL.Client.connect();

// send request
const accountInfo = await BithompXRPL.Client.getAccountInfo("rsuUjfWxrACCAwGQDsNeZUhpzXf1n1NK5Z");

// when complete
BithompXRPL.Client.disconnect();

Details


Assets

  • xrpl-api-2.0.17.tgz

Download activity

  • Total downloads 6
  • Last 30 days 0
  • Last week 0
  • Today 0