TransactionHeader

common.TransactionHeader

type TransactionHeader

common.TransactionHeader

FieldTypeDescription
uetrstringUniversal e2e transaction reference. Term used for UUIDv4 in financial messaging such as ISO20022.
urnstringA Uniform Resource Name that describes the attributes of the underlying contract such as if one of the conditions involves an HTLC
memostringUser reference string for transactions acting as a memo field.
timestampuint64Seconds (minus leapsconds) since epoch 1970 - Unix timestamp - always interpreted as being in the UTC timezone. Internal operations will convert this to UTC time.
related_uetrsstring repeatedRelated uetrs 0..N.
metadatamap<string, string>metadata that is not derived from Contract contents such as the originator of a Contract negotiation.
{
  "uetr": "UETR1",
  "urn": "urn:knox:swap:hash-zSender2PublicKey:timeout-165000000:001",
  "memo": "memo string from contract",
  "timestamp": "2006-01-02T15:04:05Z",
  "related_uetrs": [
    "UETR2",
    "UETR3"
  ],
  "metadata": [
    {
      "key": "originator",
      "value": "zSender2PublicKey"
    }
  ]
}