lib/client/index.js
/**
   * @param {string} server Binance Chain public url
   * @param {Boolean} useAsyncBroadcast use async broadcast mode, faster but less guarantees (default off)
   */
@param {string} server Binance Chain public url
@param {Boolean} useAsyncBroadcast use async broadcast mode, faster but less guarantees (default off)
@param { string } server Binance Chain public url @param { Boolean } useAsyncBroadcast use async broadcast mode faster but less guarantees ( default off )
function BncClient(server) {
    var useAsyncBroadcast = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
    _classCallCheck(this, BncClient);
    if (!server) {
      throw new Error("Binance chain server should not be null");
    }
    this._httpClient = new _request["default"](server);
    this._signingDelegate = DefaultSigningDelegate;
    this._broadcastDelegate = DefaultBroadcastDelegate;
    this._useAsyncBroadcast = useAsyncBroadcast;
  }
function BncClient ( server ) { var useAsyncBroadcast = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : false ; _classCallCheck ( this , BncClient ) ; if ( ! server ) { throw new Error ( "Binance chain server should not be null" ) ; } this . _httpClient = new _request [ "default" ] ( server ) ; this . _signingDelegate = DefaultSigningDelegate ; this . _broadcastDelegate = DefaultBroadcastDelegate ; this . _useAsyncBroadcast = useAsyncBroadcast ; }
@param {string} server Binance Chain public url
 @param {Boolean} useAsyncBroadcast use async broadcast mode, faster but less guarantees (default off)
@param { string } server Binance Chain public url @param { Boolean } useAsyncBroadcast use async broadcast mode faster but less guarantees ( default off )