UNPKG

@okcontract/sdk

Version:

One-stop-shop permissionless SDK for building any blockchain frontend

18 lines (17 loc) 464 B
import type { ForeignSource } from "@okcontract/coredata"; export declare const foreignOrgId: { Coingecko: string; CoinMarketCap: string; Defillama: string; Opensea: string; Coinlist: string; }; export declare const foreignIdOfSlug: { [k: string]: string; }; /** * getForeign retrieves the first matching entity in the list. * @param l * @param entity */ export declare const getForeign: (l: string[], entity: ForeignSource) => string;