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

Returns

Returns the unit hash.

Example

1
const params = {
2
key: "value",
3
another_key: {
4
subkey: "other value",
5
another_subkey: 232
6
}
7
};
8
9
client.post.data(params, wif, function(err, result) {
10
if (err) return console.error(err);
11
console.log(result);
12
});
Copied!

Learn more

Last modified 7mo ago
Copy link