UNPKG

@normalizex/honeypot-is

Version:

library targeting of the honeypot.is API.

10 lines (9 loc) 683 B
import { PairInfo, GetPairsResponse, HoneypotScanResponse, ContractVerificationResponse } from './types/RequestsV1.types'; export declare class HoneypotIsV1 { private endpoint; private sub_endpoint; getPairs: (tokenAddress: string, chainId: number | string) => Promise<GetPairsResponse>; honeypotScan: (tokenAddress: string, router: string, pair: string, chainId: number | string) => Promise<HoneypotScanResponse>; getContractVerification: (tokenAddress: string, router: string, pair: string, chainId: string | number) => Promise<ContractVerificationResponse>; } export { PairInfo, GetPairsResponse, HoneypotScanResponse, ContractVerificationResponse };