Web3S_Demo > IPLD Node > TrySetRawLink

TrySetRawLink

Attempts to set IPLD Node value to Link 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

Target
IPLD Node Object Reference

Value
Array of Bytes

Value to be set.

Outputs

Out
Exec

Success
Boolean

true if setting was successful, false otherwise