-
Notifications
You must be signed in to change notification settings - Fork 69
@liquality.bitcoin ledger.<internal>.BitcoinBaseChainProvider
@liquality/bitcoin-ledger..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/dist/lib/chain/BitcoinBaseChainProvider.d.ts:4
▸ Abstract
getAddressTransactionCounts(_addresses
): Promise
<AddressTxCounts
>
Name | Type |
---|---|
_addresses |
AddressType [] |
Promise
<AddressTxCounts
>
bitcoin/dist/lib/chain/BitcoinBaseChainProvider.d.ts:9
▸ Abstract
getFeePerByte(numberOfBlocks?
): Promise
<number
>
Name | Type |
---|---|
numberOfBlocks? |
number |
Promise
<number
>
bitcoin/dist/lib/chain/BitcoinBaseChainProvider.d.ts:7
▸ Abstract
getMinRelayFee(): Promise
<number
>
Promise
<number
>
bitcoin/dist/lib/chain/BitcoinBaseChainProvider.d.ts:10
▸ Abstract
getRawTransactionByHash(transactionHash
): Promise
<string
>
Name | Type |
---|---|
transactionHash |
string |
Promise
<string
>
bitcoin/dist/lib/chain/BitcoinBaseChainProvider.d.ts:5
▸ Abstract
getTransactionHex(transactionHash
): Promise
<string
>
Name | Type |
---|---|
transactionHash |
string |
Promise
<string
>
bitcoin/dist/lib/chain/BitcoinBaseChainProvider.d.ts:6
▸ Abstract
getUnspentTransactions(addresses
): Promise
<UTXO
[]>
Name | Type |
---|---|
addresses |
AddressType [] |
Promise
<UTXO
[]>
bitcoin/dist/lib/chain/BitcoinBaseChainProvider.d.ts:8