UNPKG

@berrywallet/core

Version:

Berrywallet main Core for work with common cryptocurrencies like Bitcoin, Ethereum, Dash, Litecoin

13 lines (12 loc) 649 B
import { AxiosInstance } from 'axios'; import { Coin, Wallet } from '../../'; import { TAdapterOption } from '../api'; import { NetworkClient } from './network-client'; export declare class BlockcypherBIPNetworkClient extends NetworkClient { protected client: AxiosInstance; constructor(coin: Coin.CoinInterface, options: TAdapterOption); getTx(txid: string): Promise<Wallet.Entity.WalletTransaction | null>; getBlock(blockHash: string): Promise<Wallet.Entity.Block>; broadCastTransaction(transaction: Coin.Transaction.Transaction): Promise<string>; getAddressTxs(address: string): Promise<Wallet.Entity.BIPTransaction[]>; }