-
Notifications
You must be signed in to change notification settings - Fork 69
@liquality.bitcoin.BitcoinBaseChainProvider
@liquality/bitcoin.BitcoinBaseChainProvider
-
BitcoinBaseChainProvider
- formatTransaction
- getAddressTransactionCounts
- getFeePerByte
- getMinRelayFee
- getRawTransactionByHash
- getTransactionHex
- getUnspentTransactions
• new BitcoinBaseChainProvider()
▸ Abstract
formatTransaction(tx
, currentHeight
): Promise
<Transaction
<any
>>
Name | Type |
---|---|
tx |
any |
currentHeight |
number |
Promise
<Transaction
<any
>>
bitcoin/lib/chain/BitcoinBaseChainProvider.ts:5
▸ Abstract
getAddressTransactionCounts(_addresses
): Promise
<AddressTxCounts
>
Name | Type |
---|---|
_addresses |
AddressType [] |
Promise
<AddressTxCounts
>
bitcoin/lib/chain/BitcoinBaseChainProvider.ts:15
▸ Abstract
getFeePerByte(numberOfBlocks?
): Promise
<number
>
Name | Type |
---|---|
numberOfBlocks? |
number |
Promise
<number
>
bitcoin/lib/chain/BitcoinBaseChainProvider.ts:11
▸ Abstract
getMinRelayFee(): Promise
<number
>
Promise
<number
>
bitcoin/lib/chain/BitcoinBaseChainProvider.ts:17
▸ Abstract
getRawTransactionByHash(transactionHash
): Promise
<string
>
Name | Type |
---|---|
transactionHash |
string |
Promise
<string
>
bitcoin/lib/chain/BitcoinBaseChainProvider.ts:7
▸ Abstract
getTransactionHex(transactionHash
): Promise
<string
>
Name | Type |
---|---|
transactionHash |
string |
Promise
<string
>
bitcoin/lib/chain/BitcoinBaseChainProvider.ts:9
▸ Abstract
getUnspentTransactions(addresses
): Promise
<UTXO
[]>
Name | Type |
---|---|
addresses |
AddressType [] |
Promise
<UTXO
[]>