@blockfrost/blockfrost-js
Version:
A JavaScript/TypeScript SDK for interacting with the https://blockfrost.io API
5 lines (4 loc) • 381 B
TypeScript
import { paths } from '@blockfrost/openapi';
export type PinResponse = paths['/ipfs/pin/add/{IPFS_path}']['post']['responses']['200']['content']['application/json'];
export type AddResponse = paths['/ipfs/add']['post']['responses']['200']['content']['application/json'];
export type ListResponse = paths['/ipfs/pin/list']['get']['responses']['200']['content']['application/json'];