mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
Co-authored-by: Maxence Maireaux <[email protected]> Co-authored-by: David Ragot <[email protected]>
5.3 KiB
5.3 KiB
Transaction
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
Metadata |
map[string]interface{} | ➖ | N/A | |
PostCommitVolumes |
map[string]map[string]shared.Volume | ➖ | N/A | {"orders:1":{"USD":{"input":100,"output":10,"balance":90}},"orders:2":{"USD":{"input":100,"output":10,"balance":90}}} |
Postings |
[]shared.Posting | ✔️ | N/A | |
PreCommitVolumes |
map[string]map[string]shared.Volume | ➖ | N/A | {"orders:1":{"USD":{"input":100,"output":10,"balance":90}},"orders:2":{"USD":{"input":100,"output":10,"balance":90}}} |
Reference |
*string | ➖ | N/A | ref:001 |
Timestamp |
time.Time | ✔️ | N/A | |
Txid |
*big.Int | ✔️ | N/A |