common.TransactionHeader
type TransactionHeader
TransactionHeader
common.TransactionHeader
common.TransactionHeader
Field | Type | Description |
---|---|---|
uetr | string | Universal e2e transaction reference. Term used for UUIDv4 in financial messaging such as ISO20022. |
urn | string | A Uniform Resource Name that describes the attributes of the underlying contract such as if one of the conditions involves an HTLC |
memo | string | User reference string for transactions acting as a memo field. |
timestamp | uint64 | Seconds (minus leapsconds) since epoch 1970 - Unix timestamp - always interpreted as being in the UTC timezone. Internal operations will convert this to UTC time. |
related_uetrs | string repeated | Related uetrs 0..N. |
metadata | map<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"
}
]
}