-
Notifications
You must be signed in to change notification settings - Fork 69
@liquality.bitcoin.BitcoinEsploraBatchBaseProvider
@liquality/bitcoin.BitcoinEsploraBatchBaseProvider
-
↳
BitcoinEsploraBatchBaseProvider
- formatTransaction
- getAddressTransactionCounts
- getFeePerByte
- getMinRelayFee
- getRawTransactionByHash
- getTransactionHex
- getUnspentTransactions
• new BitcoinEsploraBatchBaseProvider(options
)
Name | Type |
---|---|
options |
EsploraBatchApiProviderOptions |
BitcoinEsploraBaseProvider.constructor
bitcoin/lib/chain/esplora/BitcoinEsploraBatchBaseProvider.ts:15
• Protected
_options: EsploraApiProviderOptions
BitcoinEsploraBaseProvider._options
bitcoin/lib/chain/esplora/BitcoinEsploraBaseProvider.ts:11
• httpClient: HttpClient
BitcoinEsploraBaseProvider.httpClient
bitcoin/lib/chain/esplora/BitcoinEsploraBaseProvider.ts:10
▸ formatTransaction(tx
, currentHeight
): Promise
<Transaction
<Transaction
>>
Name | Type |
---|---|
tx |
Transaction |
currentHeight |
number |
Promise
<Transaction
<Transaction
>>
BitcoinEsploraBaseProvider.formatTransaction
bitcoin/lib/chain/esplora/BitcoinEsploraBaseProvider.ts:23
▸ getAddressTransactionCounts(_addresses
): Promise
<{ [index: string]
: number
; }>
Name | Type |
---|---|
_addresses |
AddressType [] |
Promise
<{ [index: string]
: number
; }>
BitcoinEsploraBaseProvider.getAddressTransactionCounts
bitcoin/lib/chain/esplora/BitcoinEsploraBatchBaseProvider.ts:39
▸ getFeePerByte(numberOfBlocks?
): Promise
<number
>
Name | Type |
---|---|
numberOfBlocks |
number |
Promise
<number
>
BitcoinEsploraBaseProvider.getFeePerByte
bitcoin/lib/chain/esplora/BitcoinEsploraBaseProvider.ts:39
▸ getMinRelayFee(): Promise
<number
>
Promise
<number
>
BitcoinEsploraBaseProvider.getMinRelayFee
bitcoin/lib/chain/esplora/BitcoinEsploraBaseProvider.ts:72
▸ getRawTransactionByHash(transactionHash
): Promise
<string
>
Name | Type |
---|---|
transactionHash |
string |
Promise
<string
>
BitcoinEsploraBaseProvider.getRawTransactionByHash
bitcoin/lib/chain/esplora/BitcoinEsploraBaseProvider.ts:31
▸ getTransactionHex(transactionHash
): Promise
<string
>
Name | Type |
---|---|
transactionHash |
string |
Promise
<string
>
BitcoinEsploraBaseProvider.getTransactionHex
bitcoin/lib/chain/esplora/BitcoinEsploraBaseProvider.ts:35
▸ getUnspentTransactions(_addresses
): Promise
<UTXO
[]>
Name | Type |
---|---|
_addresses |
AddressType [] |
Promise
<UTXO
[]>
BitcoinEsploraBaseProvider.getUnspentTransactions
bitcoin/lib/chain/esplora/BitcoinEsploraBatchBaseProvider.ts:20