Skip to content

@liquality.bitcoin.BitcoinEsploraBatchBaseProvider

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

Class: BitcoinEsploraBatchBaseProvider

@liquality/bitcoin.BitcoinEsploraBatchBaseProvider

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new BitcoinEsploraBatchBaseProvider(options)

Parameters

Name Type
options EsploraBatchApiProviderOptions

Overrides

BitcoinEsploraBaseProvider.constructor

Defined in

bitcoin/lib/chain/esplora/BitcoinEsploraBatchBaseProvider.ts:15

Properties

_options

Protected _options: EsploraApiProviderOptions

Inherited from

BitcoinEsploraBaseProvider._options

Defined in

bitcoin/lib/chain/esplora/BitcoinEsploraBaseProvider.ts:11


httpClient

httpClient: HttpClient

Inherited from

BitcoinEsploraBaseProvider.httpClient

Defined in

bitcoin/lib/chain/esplora/BitcoinEsploraBaseProvider.ts:10

Methods

formatTransaction

formatTransaction(tx, currentHeight): Promise<Transaction<Transaction>>

Parameters

Name Type
tx Transaction
currentHeight number

Returns

Promise<Transaction<Transaction>>

Inherited from

BitcoinEsploraBaseProvider.formatTransaction

Defined in

bitcoin/lib/chain/esplora/BitcoinEsploraBaseProvider.ts:23


getAddressTransactionCounts

getAddressTransactionCounts(_addresses): Promise<{ [index: string]: number; }>

Parameters

Name Type
_addresses AddressType[]

Returns

Promise<{ [index: string]: number; }>

Overrides

BitcoinEsploraBaseProvider.getAddressTransactionCounts

Defined in

bitcoin/lib/chain/esplora/BitcoinEsploraBatchBaseProvider.ts:39


getFeePerByte

getFeePerByte(numberOfBlocks?): Promise<number>

Parameters

Name Type
numberOfBlocks number

Returns

Promise<number>

Inherited from

BitcoinEsploraBaseProvider.getFeePerByte

Defined in

bitcoin/lib/chain/esplora/BitcoinEsploraBaseProvider.ts:39


getMinRelayFee

getMinRelayFee(): Promise<number>

Returns

Promise<number>

Inherited from

BitcoinEsploraBaseProvider.getMinRelayFee

Defined in

bitcoin/lib/chain/esplora/BitcoinEsploraBaseProvider.ts:72


getRawTransactionByHash

getRawTransactionByHash(transactionHash): Promise<string>

Parameters

Name Type
transactionHash string

Returns

Promise<string>

Inherited from

BitcoinEsploraBaseProvider.getRawTransactionByHash

Defined in

bitcoin/lib/chain/esplora/BitcoinEsploraBaseProvider.ts:31


getTransactionHex

getTransactionHex(transactionHash): Promise<string>

Parameters

Name Type
transactionHash string

Returns

Promise<string>

Inherited from

BitcoinEsploraBaseProvider.getTransactionHex

Defined in

bitcoin/lib/chain/esplora/BitcoinEsploraBaseProvider.ts:35


getUnspentTransactions

getUnspentTransactions(_addresses): Promise<UTXO[]>

Parameters

Name Type
_addresses AddressType[]

Returns

Promise<UTXO[]>

Overrides

BitcoinEsploraBaseProvider.getUnspentTransactions

Defined in

bitcoin/lib/chain/esplora/BitcoinEsploraBatchBaseProvider.ts:20

Clone this wiki locally