Posts, comments and likes

Posts

To inscribe a post, set the parameter type to "post" and add a txt value

{
  "p": "dusm",
  "op": "pub",
  "type": "post",
  "txt": "We are all satoshi",
  "edit": false
}

Comment

To inscribe a comment to a post, set the parameter type to "comm", then add a txt value and an inscription ID as ref value

{
  "p": "dusm",
  "op": "pub",
  "type": "comm",
  "txt": "Brrr",
  "ref": "ID", //Inscription id of the post or comment
  "edit": false
}

Like

To inscribe a like, set the parameter type to "like" and add an inscription ID as ref value

{
  "p": "dusm",
  "op": "pub",
  "type": "like",
  "ref": "ID" //Inscription id of the post or comment
}

Last updated