Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,14 @@ The `InvokeHostFunctionOp` can be used to perform the following Soroban operatio

There is only a single `InvokeHostFunctionOp` allowed per transaction. Contracts should be used to perform multiple actions atomically, for example, to deploy a new contract and initialize it atomically.

Additionally, Soroban transactions containing `InvokeHostFunctionOp` have the following restrictions:

- The transaction **cannot include a memo** — the memo must be set to `MEMO_NONE`.
- The transaction **source account cannot be a muxed account**.
- The **operation source account, if set, cannot be a muxed account**.

See [Send to and receive payments from Contract Accounts](../../../../build/guides/transactions/send-and-receive-c-accounts.mdx) for information on how to provide a muxed ID when making payments in Soroban.

### InvokeHostFunctionOp

The XDR of `HostFunction` and `InvokeHostFunctionOp` below can be found [here][xdr].
Expand Down