Skip to content
docs

previewEvmTx

previewEvmTx(input): Promise<TxPreview>

Defined in: index.ts:499

Decode the calls, simulate them in one block with eth_simulateV1 (falling back to eth_call when the node lacks it), and derive the checks.

PreviewInput

Promise<TxPreview>

Error when calls is empty.