Files
stack/components/ledger/pkg/client/docs/models/operations/createtransactionrequest.md

4.6 KiB
Raw Permalink Blame History

CreateTransactionRequest

Fields

Field Type Required Description Example
Ledger string ✔️ Name of the ledger. ledger001
Preview *bool ➖ Set the preview mode. Preview mode doesn't add the logs to the database or publish a message to the message broker. true
PostTransaction components.PostTransaction ✔️ The request body must contain at least one of the following objects:
- postings: suitable for simple transactions
- script: enabling more complex transactions with Numscript