UNPKG

btc-wallet

Version:

BTC Wallet is a toolkit that enables Bitcoin usage on the NEAR blockchain through the Satoshi protocol.

18 lines (17 loc) 634 B
export declare const useBTCProvider: () => { provider: any; accounts: string[]; getPublicKey: () => Promise<string>; signMessage: (message: string) => Promise<string>; getNetwork: () => Promise<"livenet" | "testnet">; switchNetwork: (network: "livenet" | "testnet") => Promise<void>; sendBitcoin: (toAddress: string, satoshis: number, options?: { feeRate: number; }) => Promise<string>; sendInscription: (address: string, inscriptionId: string, options?: { feeRate: number; }) => Promise<{ txid: string; }>; connector: import("..").BaseConnector | undefined; };