Saltar al contenido principal

octopus transaction execute

octopus transaction execute​

Execute a transaction from a profile

Synopsis​

Initiate a transaction using a registered profile and provided inputs.

Inputs are passed as key=value pairs. Account references use UUIDs. Amount is in raw/minor units (e.g. 100000 = 1000.00 for 2 decimals).

octopus transaction execute <profile-fqn> [flags]

Examples​

octopus transaction execute transfers.p2p-transfer --tenant acme-bank \
--input amount=100000 \
--input source=019d8880-... \
--input destination=019d8881-...

octopus tx execute system.initial-funds --tenant acme-bank \
--input amount=500000 \
--input destination=019d8880-...

octopus tx execute transfers.p2p-transfer --tenant acme-bank \
--input amount=100000 \
--input source=019d8880-... \
--input destination=019d8881-... \
--business-date 2026-05-06 \
-o json

Options​

--business-date string Override business date (YYYY-MM-DD). Defaults to current open day.
--detach Return immediately without waiting for completion
--external-ref string External reference for idempotency tracking.
-h, --help help for execute
--input stringArray Transaction input as key=value (repeatable)
--timeout duration Maximum time to wait (default 1m0s)

Options inherited from parent commands​

-c, --correlation string Correlation ID for request tracing (UUID, auto-generated if omitted)
-g, --global Shorthand for --tenant global
-i, --idempotency-key string Idempotency key for exactly-once execution (UUID, auto-generated per operation if omitted)
-o, --output string Output format: human, json (default "human")
-p, --profile string Override active config profile for this command.
-t, --tenant string Tenant code. Overrides default_tenant from config.
-v, --verbose Enable verbose output

SEE ALSO​