Meet the Tech:
The Tx Syntax 🧩
The unified fluent builder for outgoing transactions in a MultiversX Rust contract.
EGLD transfer, ESDT, cross-contract call, deploy, read-only query.
Same chain, different terminal operation.
💡 🧵
How it works:
self.tx()
.to(&recipient)
.egld(&amount)
.transfer();
Open the builder with self.tx(). Set the receiver with .to(). Attach value with .egld(). Dispatch with .transfer().
Every step is type-checked at compile time. The chain won't build if the pieces don't fit together.