-
Notifications
You must be signed in to change notification settings - Fork 69
@liquality.bitcoin.BitcoinJsonRpcBaseProvider
@liquality/bitcoin.BitcoinJsonRpcBaseProvider
-
↳
BitcoinJsonRpcBaseProvider
- formatTransaction
- getAddressTransactionCounts
- getFeePerByte
- getMinRelayFee
- getRawTransactionByHash
- getTransactionHex
- getUnspentTransactions
• new BitcoinJsonRpcBaseProvider(options
)
Name | Type |
---|---|
options |
ProviderOptions |
BitcoinBaseChainProvider.constructor
bitcoin/lib/chain/jsonRpc/BitcoinJsonRpcBaseProvider.ts:12
• Protected
_options: ProviderOptions
bitcoin/lib/chain/jsonRpc/BitcoinJsonRpcBaseProvider.ts:10
• jsonRpc: JsonRpcProvider
bitcoin/lib/chain/jsonRpc/BitcoinJsonRpcBaseProvider.ts:9
▸ formatTransaction(tx
, currentHeight
): Promise
<Transaction
<any
>>
Name | Type |
---|---|
tx |
any |
currentHeight |
number |
Promise
<Transaction
<any
>>
BitcoinBaseChainProvider.formatTransaction
bitcoin/lib/chain/jsonRpc/BitcoinJsonRpcBaseProvider.ts:22
▸ getAddressTransactionCounts(_addresses
): Promise
<AddressTxCounts
>
Name | Type |
---|---|
_addresses |
AddressType [] |
Promise
<AddressTxCounts
>
BitcoinBaseChainProvider.getAddressTransactionCounts
bitcoin/lib/chain/jsonRpc/BitcoinJsonRpcBaseProvider.ts:58
▸ getFeePerByte(numberOfBlocks?
): Promise
<number
>
Name | Type |
---|---|
numberOfBlocks? |
number |
Promise
<number
>
BitcoinBaseChainProvider.getFeePerByte
bitcoin/lib/chain/jsonRpc/BitcoinJsonRpcBaseProvider.ts:38
▸ getMinRelayFee(): Promise
<number
>
Promise
<number
>
BitcoinBaseChainProvider.getMinRelayFee
bitcoin/lib/chain/jsonRpc/BitcoinJsonRpcBaseProvider.ts:69
▸ getRawTransactionByHash(transactionHash
): Promise
<string
>
Name | Type |
---|---|
transactionHash |
string |
Promise
<string
>
BitcoinBaseChainProvider.getRawTransactionByHash
bitcoin/lib/chain/jsonRpc/BitcoinJsonRpcBaseProvider.ts:30
▸ getTransactionHex(transactionHash
): Promise
<string
>
Name | Type |
---|---|
transactionHash |
string |
Promise
<string
>
BitcoinBaseChainProvider.getTransactionHex
bitcoin/lib/chain/jsonRpc/BitcoinJsonRpcBaseProvider.ts:34
▸ getUnspentTransactions(_addresses
): Promise
<UTXO
[]>
Name | Type |
---|---|
_addresses |
AddressType [] |
Promise
<UTXO
[]>