UnsignedTx
A transaction body ready for Info.simulate.
Definition
class UnsignedTx(TypedDict):
sender: Addr
msgs: list[Message]
data: MetadataFields
sender — Addr. The signing account address.
msgs — list[Message]. Messages to include in the transaction.
data — Metadata. Per-tx metadata (user_index, chain_id, nonce, expiry).
Construction
unsigned = exchange.signer.build_unsigned_tx(messages, exchange._chain_id)
sim = exchange._info.simulate(unsigned)See also
Tx— signed counterpartSignDoc— what gets canonical-JSON encoded and signedSingleSigner.build_unsigned_tx— builder