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