Files
2e03d96084 feat: update speakeasy (#1100)
Co-authored-by: Maxence Maireaux <[email protected]>
Co-authored-by: David Ragot <[email protected]>
2024-01-08 18:23:33 +00:00

5.3 KiB
Raw Permalink Blame History

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