BitcoinBlockChainService class

Implemented types

Constructors

BitcoinBlockChainService({required JsVMService jsVMService, required BitcoinRpcClient bitcoinRpcClient})
BitcoinBlockChainService.defaultInstance()
factory

Properties

bitcoinRpcClient → BitcoinRpcClient
final
hashCode → int
The hash code for this object.
no setterinherited
jsVMService → JsVMService
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

callSmartContractFunction(TransferRequest transferRequest) → Future<BlockchainResponse>
override
createPayloadForNearMPC({required String senderAddress, required String receiverAddress, required String amountOfBTC, bool testNetwork = true}) → Future<MpcTransactionInfo>
getAccountIdFromWalletRedirectOnTheWeb() → String?
getActualPriceFee() → Future<BlockchainResponse>
getAdressBTCP2PKHFomat(String publicKeyHEX, bool needKeyHash) → Future<String>
getAdressBTCSegWitFomat(String publicKeyHEX) → Future<String>
getBase58PubKeyFromHexValue({required String? hexEncodedPubKey}) → Future<String>
getBlockChainDataByDerivationPath({required String mnemonic, required String? passphrase, required DerivationPath derivationPath}) → Future<BitcoinBlockChainData>
override
getBlockChainDataFromMnemonic(String mnemonic, String passphrase) → Future<BitcoinBlockChainData>
override
getBlockchainNetworkEnvironment() → Future<String>
override
getBlockchainsUrlsByBlockchainType() → Set<String>
override
getWalletBalance(TransferRequest transferRequest) → Future<String>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendTransaction(String txhex) → Future<BlockchainResponse>
sendTransferNativeCoin(TransferRequest transferRequest) → Future<BlockchainResponse>
override
setBlockchainNetworkEnvironment({required String newUrl}) → Future<void>
override
signBitcoinTransfer(String toAddress, String accountID, String transferAmount, String privateKey, String publicKey, List dataFromUTXO, String format, int feeBayte) → Future<String>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited