UNPKG

@hippocampus-web3/blockfrost-js

Version:

A JavaScript/TypeScript SDK for interacting with the https://blockfrost.io API

26 lines (25 loc) 718 B
import { KyInstance } from 'ky'; import Bottleneck from 'bottleneck'; import { list, pin, listByPath, pinRemove, gateway } from './endpoints/ipfs'; import { Options, ValidatedOptions } from './types'; declare class BlockFrostIPFS { /** @ignore */ apiUrl: string; /** @ignore */ projectId?: string; /** @ignore */ userAgent?: string; /** @ignore */ options: ValidatedOptions; /** @ignore */ instance: KyInstance; /** @ignore */ rateLimiter: Bottleneck | undefined; constructor(options?: Options); gateway: typeof gateway; pin: typeof pin; listByPath: typeof listByPath; list: typeof list; pinRemove: typeof pinRemove; } export { BlockFrostIPFS };