Version: 0.13.0

MockBitcoinWallet

Hierarchy

  • MockBitcoinWallet

Implements

Index

Methods

Methods

broadcastTransaction

broadcastTransaction(transactionHex: string, network: string): Promise‹string›

Implementation of BitcoinWallet

Defined in mocks/bitcoin_wallet.ts:4

Parameters:

NameType
transactionHexstring
networkstring

Returns: Promise‹string›


getAddress

getAddress(): Promise‹string›

Implementation of BitcoinWallet

Defined in mocks/bitcoin_wallet.ts:13

Returns: Promise‹string›


getBalance

getBalance(): Promise‹number›

Implementation of BitcoinWallet

Defined in mocks/bitcoin_wallet.ts:17

Returns: Promise‹number›


getFee

getFee(): string

Implementation of BitcoinWallet

Defined in mocks/bitcoin_wallet.ts:21

Returns: string


sendToAddress

sendToAddress(address: string, satoshis: number, network: string): Promise‹string›

Implementation of BitcoinWallet

Defined in mocks/bitcoin_wallet.ts:26

Parameters:

NameType
addressstring
satoshisnumber
networkstring

Returns: Promise‹string›