obyte.js
0.1.19
Search
K
Links

Data

One can store arbitrary structured data using ‘data’ message type.

Returns

Returns the unit hash.

Example

const params = {
key: "value",
another_key: {
subkey: "other value",
another_subkey: 232
}
};
client.post.data(params, wif, function(err, result) {
if (err) return console.error(err);
console.log(result);
});

Learn more