Optional url?: stringEsplora's API url. Defaults to blockstream.info if service = ESPLORA.
Optional irrevOptional maxPrivate #irrevPrivate #BLOCK_Private #cachedPrivate #tipPrivate #urlPrivate #maxPrivate #blockImplements Explorer#fetchBlockStatus.
Optional address?: stringOptional scriptImplements Explorer#fetchAddress.
Implements Explorer#fetchScriptHash.
Implements Explorer#fetchFeeEstimates.
Implements Explorer#fetchBlockHeight. Get's current block height.
A number representing the current height.
Private #getReturns the height of the last block. It does not fetch it, unless either: fetched before more than #BLOCK_HEIGHT_CACHE_TIME ago the #cachedTipBlockHeight is behind the blockHeight passed as a param
Optional blockHeight: numberFetches the transaction history for a given address or script hash from an Esplora server. See interface.ts
Optional address?: stringOptional scriptPush a raw Bitcoin transaction to the network.
A raw Bitcoin transaction in hexadecimal string format.
The transaction ID (txId) if the transaction was broadcasted successfully.
If the transaction is invalid or fails to be broadcasted.
Implements an Explorer Interface for an Esplora server.