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.9 KiB
5.9 KiB
V2ExpandedTransaction
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
ID |
*big.Int | ✔️ | N/A | |
Metadata |
map[string]string | ✔️ | N/A | {"admin":"true"} |
PostCommitVolumes |
map[string]map[string]shared.V2Volume | ➖ | N/A | {"orders:1":{"USD":{"input":100,"output":10,"balance":90}},"orders:2":{"USD":{"input":100,"output":10,"balance":90}}} |
Postings |
[]shared.V2Posting | ✔️ | N/A | |
PreCommitVolumes |
map[string]map[string]shared.V2Volume | ➖ | 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 |
Reverted |
bool | ✔️ | N/A | |
Timestamp |
time.Time | ✔️ | N/A |