UNPKG

@chainlink/blockchain.com

Version:

Chainlink adapter to query BTC address balance from blockchain.com.

17 lines 781 B
import { ChainType } from './endpoint'; export declare const ENV_API_KEY = "API_KEY"; export declare const ENV_API_TIMEOUT = "API_TIMEOUT"; export declare const ENDPOINT_MAIN = "https://blockchain.info/"; export declare const ENDPOINT_TEST = "https://testnet.blockchain.info/"; export declare const DEFAULT_DATA_PATH = "result"; export declare const DEFAULT_TIMEOUT = 30000; export declare const DEFAULT_CONFIRMATIONS = 6; export declare const DEFAULT_ENDPOINT = "balance"; export declare type Config = { apiKey?: string; api: Record<string, unknown>; }; export declare const getBaseURL: (chain: ChainType) => string; export declare const getConfig: (prefix?: string) => Config; export declare const logConfig: (config: Config) => void; //# sourceMappingURL=config.d.ts.map