Put Block

Store input as a BTFS block.

Arguments

Arguments

Description

Type

Required?

arg

The data to be stored as a BTFS block.

file

Y

format

CID format for blocks to be created with.

string

N

mhtype

Multihash hash function. Default: “sha2-256”.

string

N

mhlen

Multihash hash length. Default: “-1”.

integer

N

pin

Pin added blocks recursively. Default: “false”.

boolean

N

Language
Click Try It! to start a request and see the response here!