EVM

Scan User Operation

Changed on

Get a risk recommendation with plain-language reasons for a user operation.

post/v0/evm/user-operation/scan

Request

Request body

optionsRoutersEvmModelsValidationOptions[]

List of one or more of options for the desired output. "simulation" - include simulation output in your response. "validation" - include security validation of the transaction in your response. "gas_estimation" - include gas estimation result in your response. Default is ["validation"]

state_overrideobject

Override the state of the chain. This is useful for testing purposes.

simulate_with_estimated_gasboolean

Simulate transactions using gas estimation result. This requires "gas_estimation" option to be enabled.

account_addressstring

The address of the account (wallet) sending the request in hex string format

should_calculate_missing_balanceboolean

For simulations, determine whether to calculate missing balances in user operations.

Response

Success

featuresobject
blockstring required

The block number or tag used for the scan (e.g. "latest" or a specific block number as a string).

chainstring required

The blockchain the transaction is being scanned on (e.g. ethereum, base, polygon).

account_addressstring

The account address whose perspective is used for simulation and validation. If omitted, it is inferred from the transaction's from field.

Changes

    • warning

      added the new exchange_batch_withdrawal enum value to the //// response property for the response status

    • info

      removed the exchange_batch_withdrawal enum value from the //// response property for the response status