Sha256: 9e3f329c2ced1dff5412bc7cd4cfbdd3fd39b0bbd029beab61f40f6861e3bce1

Contents?: true

Size: 1012 Bytes

Versions: 2

Compression:

Stored size: 1012 Bytes

Contents

import { TLong } from '../../interface';
/**
 * GET /consensus/generatingbalance/{address}
 * Generating balance
 * @param base
 * @param address
 */
export declare function fetchGeneratingBalance(base: string, address: string, options?: RequestInit): Promise<IGeneratingBalance<TLong>>;
/**
 * GET /consensus/basetarget
 * Base target last
 * @param base
 */
export declare function fetchBasetarget(base: string): Promise<IBasetarget>;
/**
 * GET /consensus/algo
 * Consensus algo
 * @param base
 */
export declare function fetchConsensusAlgo(base: string): Promise<IConsensusAlgo>;
export interface IGeneratingBalance<LONG> {
    address: string;
    balance: LONG;
}
export interface IBasetarget {
    baseTarget: number;
}
export interface IConsensusAlgo {
    consensusAlgo: string;
}
export interface IGeneraationSignatureBlockId {
    generationSignature: string;
}
export interface IBaseTargetBlockId {
    baseTarget: number;
}
export interface IGenerationSignature {
    generationSignature: string;
}

Version data entries

2 entries across 1 versions & 1 rubygems

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