Skip to content

@liquality.bitcoin.BitcoinFeeApiProvider

Krasimir Raykov edited this page Mar 30, 2022 · 4 revisions

Class: BitcoinFeeApiProvider

@liquality/bitcoin.BitcoinFeeApiProvider

Hierarchy

  • Fee

    BitcoinFeeApiProvider

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new BitcoinFeeApiProvider(endpoint?)

Parameters

Name Type Default value
endpoint string 'https://mempool.space/api/v1/fees/recommended'

Overrides

Fee.constructor

Defined in

bitcoin/lib/fee/BitcoinFeeApiProvider.ts:7

Properties

gasUnits

gasUnits: BigNumber

Inherited from

Fee.gasUnits

Defined in

client/dist/lib/Fee.d.ts:3

Methods

getFees

getFees(): Promise<FeeDetails>

Returns

Promise<FeeDetails>

Implementation of

FeeProvider.getFees

Overrides

Fee.getFees

Defined in

bitcoin/lib/fee/BitcoinFeeApiProvider.ts:12

Clone this wiki locally