Files
stack/libs/events/services/ledger/v1.0.0/COMMITTED_TRANSACTIONS.yaml
1641c3c852 feat: update for Ledger v2 (#468)
Co-authored-by: Antoine Wacheux <[email protected]>
Co-authored-by: Maxence Maireaux <[email protected]>
Co-authored-by: Brieuc Caillot <[email protected]>
2023-09-20 16:40:28 +02:00

47 lines
899 B
YAML

type: object
properties:
ledger:
type: string
transactions:
type: array
items:
type: object
properties:
postings:
type: array
items:
type: object
properties:
source:
type: string
destination:
type: string
amount:
type: number
asset:
type: string
required:
- source
- destination
- amount
- asset
reference:
type: string
metadata:
type: object
properties: {}
required: []
txid:
type: number
timestamp:
type: string
required:
- postings
- reference
- metadata
- txid
- timestamp
required:
- ledger
- transactions