Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ipfs/block.ts>Block#put

🦕🟦 Lightweight Deno HTTP client library for IPFS
Go to Latest
method Block.prototype.put
import { Block } from "https://deno.land/x/ipfs@0.4.0-wip.3/block.ts";

Parameters

data: Blob
optional
options: Options & Partial<{ format: string; mhtype: string; mhlen: number; pin: boolean; }> = [UNSUPPORTED]

Returns

Promise<Record<string, any>>