Web3S_Demo > IPLD Function Library > IPLD Try Build Raw Link Node

IPLD Try Build Raw Link Node

Attempts to build an IPLD Node using a raw (binary) CID.
Only CIDv0 and CIDv1 values are allowed.
CIDv0 will be encoded using base58,
CIDv1 will be encoded using base32 or
base36 if multicodec is libp2p-key (0x72) which corresponds to an IPNS name.

Inputs

In
Exec

Value
Array of Bytes

Value to assign to the node.

Outer
Object Reference

Object that will be node's outer.

Outputs

Out
Exec

Link Node
IPLD Node Object Reference

if successful, the created node, nullptr otherwise.

Return Value
Boolean

True if creating the node was successful, false otherwise.