mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
6.5 KiB
6.5 KiB
Transaction
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
Metadata |
map[string]any | ➖ | 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 |