rubic-sdk
Version:
Simplify dApp creation
15 lines (14 loc) • 915 B
TypeScript
import { BlockchainName } from "../../../models/blockchain-name";
import { BasicTransactionOptions } from "../models/basic-transaction-options";
import { BitcoinWeb3Pure } from "../../../web3-pure/typed-web3-pure/bitcoin-web3-pure";
import { BitcoinWalletProviderCore } from "../../../../sdk/models/wallet-provider";
import { Web3Private } from '../web3-private';
export declare class BitcoinWeb3Private extends Web3Private {
private readonly wallet;
protected readonly Web3Pure: typeof BitcoinWeb3Pure;
getBlockchainName(): Promise<BlockchainName>;
transfer(recipient: string, amount: string, memo?: string, options?: BasicTransactionOptions): Promise<string>;
sendPsbtTransaction(psbt: string, userAddress: string, inputIndexes: number[], options?: BasicTransactionOptions): Promise<string>;
constructor(wallet: BitcoinWalletProviderCore);
getPublicKeyFromWallet(): Promise<string>;
}