class Counterparty::Message

An object that describes a specific event in the counterpartyd message feed (which can be used by 3rd party applications to track state changes to the counterpartyd database on a block-by-block basis).

Attributes

bindings[RW]

(string): A JSON-encoded object containing the message data. The properties in this object match the columns in the table referred to by category.

block_index[RW]

(integer): The block index (block number in the block chain) this event occurred on

category[RW]

(string): A string denoting the entity that the message relates to, e.g. “credits”, “burns”, “debits”. The category matches the relevant table name in counterpartyd (see blocks.py for more info).

command[RW]

(string): The operation done to the table noted in category. This is either “insert”, or “update”.

message_index[RW]

(integer): The message index (i.e. transaction index)