Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

UnsignedTx

A transaction body ready for Info.simulate.

Definition

class UnsignedTx(TypedDict):
    sender: Addr
    msgs: list[Message]
    data: Metadata

Fields

senderAddr. The signing account address.

msgslist[Message]. Messages to include in the transaction.

dataMetadata. 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