Blockfrost.IPFS.Add (Blockfrost v0.1.1) View Source
Link to this section Summary
Functions
Adds a file to IPFS
Link to this section Functions
Specs
add_file(atom(), path_or_stream :: String.t() | Enumerable.t(), Keyword.t()) :: {:ok, Blockfrost.Response.AddFileResponse.t()} | Blockfrost.HTTP.error_response()
Adds a file to IPFS
Supports both a file path or a stream.
Remember that you need to pin an object to avoid it being garbage collected.
For more information about pinning, see Blockfrost.IPFS.Pins
This usage is being counted in your user account quota.