UNPKG

@mr-zwets/bchn-api-wrapper

Version:

a Typescript wrapper for interacting with the Bitcoin Cash Node (BCHN) API

12 lines (11 loc) 400 B
import type { RpcClientConfig } from "../interfaces/interfaces.js"; export declare function getRandomId(): number; export declare function validateAndConstructUrl(config: RpcClientConfig): string; export declare function validateUrl(url: string): string; export declare enum BchnNetworkPort { Mainnet = 8332, Testnet = 18332, Testnet4 = 28332, Scalenet = 38332, Regtest = 18443 }