Constructs and signs an IPNS Record using given values.
|
In
Exec
|
|
|
Value
String
|
the 'Value' field. Any path like IPNS of IPFS paths '/ipns/{key}' '/ipfs/baf...' |
|
Validity
String
|
the 'Validity' field. Expiration date of the record as a rfc3339 date |
|
Sequence
Uint 64 Structure (by ref)
|
the 'Sequence' field. Current version of the record |
|
Ttl
Uint 64 Structure (by ref)
|
the 'TTL' field. Hint for how long the record should be cached |
|
Private Key (P EM)
Array of Bytes
|
the key used for signing encoded in PEM format. Public key will be encoded in 'PubKey' field or inlined inside IPNS name |
|
Additional Metadata
Map of Strings to IPLD Node Object References
|
metadata that should be encoded in the 'Data' DAG-CBOR document, can be empty |
|
Out
Exec
|
|
|
Error Message
String
|
message containing error description |
|
IPNS Record
IPNS Record Structure
|
constructed and signed IPNS Record |
|
Success
Boolean
|
True if building was successful, false otherwise |