Docs

SimulateOptions

type SimulateOptions<
abi extends Abi,
abiFn extends AbiFunction,
> = Prettify<
{ transaction: PreparedTransaction<abi, abiFn> } & (
| { account: Account; from?: never }
| { account?: never; from?: string }
)
>;