Encoding your PayloadΒΆ

Transaction payloads are composed of some sort of raw binary that is opaque to the validator. The logic for decoding them rests entirely within the particular Transaction Processor itself. As a result, there are many possible formats, and you will have to look to the definition of the TP for that information. But as an example, the IntKey Transaction Processor uses a payload of three key/value pairs encoded as CBOR. Creating one might look like this: