UNPKG

@blockfrost/blockfrost-js

Version:

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

27 lines (26 loc) 731 B
import { Got } from 'got'; import Bottleneck from 'bottleneck'; import { add, 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: Got; /** @ignore */ rateLimiter: Bottleneck | undefined; constructor(options?: Options); add: typeof add; gateway: typeof gateway; pin: typeof pin; listByPath: typeof listByPath; list: typeof list; pinRemove: typeof pinRemove; } export { BlockFrostIPFS };