For the complete documentation index, see llms.txt. This page is also available as Markdown.

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