Sha256: 02aad677ce90ffeb1f7880da7f785401d83fc82a6ceee0e04e21f41651655a3d

Contents?: true

Size: 689 Bytes

Versions: 1

Compression:

Stored size: 689 Bytes

Contents

import request from '../../tools/request';
/**
 * GET /consensus/generatingbalance/{address}
 * Generating balance
 * @param base
 * @param address
 */
export function fetchGeneratingBalance(base, address, options = Object.create(null)) {
    return request({ base, url: `/consensus/generatingbalance/${address}` });
}
/**
 * GET /consensus/basetarget
 * Base target last
 * @param base
 */
export function fetchBasetarget(base) {
    return request({ base, url: '/consensus/basetarget' });
}
/**
 * GET /consensus/algo
 * Consensus algo
 * @param base
 */
export function fetchConsensusAlgo(base) {
    return request({ base, url: '/consensus/algo' });
}
//# sourceMappingURL=index.js.map

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
waves_lib-0.1.0 js/node_modules/@waves/node-api-js/es/api-node/consensus/index.js