Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

C3 Transaction Specification

Adam Hanna edited this page Jul 10, 2018 · 6 revisions

Transaction

A transaction in c3 consists of an image hash upon which to apply the transaction, a method identifier which is used by the image to route the payload, a payload, the public address of the sender, and a signature.

{
  "txHash": "{hash}",
  "imageHash": "{hash}",
  "method": "{string}",
  "payload": "{obj}",
  "from": "{publicAddress}", // the hexEncoded public key bytes of the sender
  "sig": {
    "r": "{hexString}",
    "s": "{hexString}",
  } // sig is the signed tx hash; signed with the sender's private key
}