obyte.js
0.1.19
Search
K
Links

Data feed

Data fields can be used to design definitions that involve oracles.

Returns

Returns the unit hash.

Example

const params = {
time: new Date().toString(),
timestamp: Date.now()
};
client.post.dataFeed(params, wif, function(err, result) {
if (err) return console.error(err);
console.log(result);
});

Learn more