blockfrost-client-0.3.0.0: blockfrost.io basic client
Safe HaskellNone
LanguageHaskell2010

Blockfrost.Client.IPFS

Description

IPFS client functions

Synopsis

Documentation

ipfsAdd :: (MonadError BlockfrostError m, MonadBlockfrost m) => FilePath -> m IPFSAdd Source #

Add a file or directory to IPFS

ipfsGateway :: MonadBlockfrost m => Text -> m IPFSData Source #

Fetch file via API

ipfsGetPin :: MonadBlockfrost m => Text -> m IPFSPin Source #

Get pinned object details

ipfsListPins :: MonadBlockfrost m => m [IPFSPin] Source #

List objects pinned to local storage

ipfsListPins' :: MonadBlockfrost m => Paged -> SortOrder -> m [IPFSPin] Source #

List objects pinned to local storage Allows custom paging and ordering using Paged and SortOrder.

ipfsPin :: MonadBlockfrost m => Text -> m IPFSPinChange Source #

Pin an object

ipfsRemovePin :: MonadBlockfrost m => Text -> m IPFSPinChange Source #

Remove pinned object from local storage