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

Tx

A signed transaction. Holds messages, sender, gas, credential, and metadata.

Definition

type Tx<Credential = Json, Metadata = Json> = {
  sender: Address
  msgs: Message[]
  gasLimit: number
  credential: Credential
  data: Metadata
}
 
type UnsignedTx = Pick<Tx, "sender" | "msgs">

Fields

senderAddress. The signing/paying account.

msgsMessage[]. The list of messages to execute.

gasLimitnumber. Maximum gas the tx may consume.

credentialJson (typically Credential). The signature bundle.

dataJson (typically { chainId, userIndex, nonce }). EIP-712 metadata signed with the tx.

See also