btc-wallet
Version:
BTC Wallet is a toolkit that enables Bitcoin usage on the NEAR blockchain through the Satoshi protocol.
13 lines (12 loc) • 544 B
TypeScript
import type { ProviderService } from '@near-wallet-selector/core/src/lib/services';
export declare function getNearProvider(option: {
network?: string;
provider?: ProviderService;
}): any;
export declare function nearCallFunction<T>(contractId: string, methodName: string, args: any, options?: {
network?: string;
provider?: ProviderService;
cacheTimeout?: number;
skipCache?: boolean;
}): Promise<T>;
export declare function pollTransactionStatuses(network: string, hashes: string[]): Promise<FinalExecutionOutcome[]>;