EVM

Scan Raw Transaction

Changed on

Get a risk recommendation with plain-language reasons for a raw transaction.

post/v0/evm/transaction-raw/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 required

The address to relate the transaction to. Account address determines in which perspective the transaction is simulated and validated.

datastring required

Hex string of the raw transaction data

Response

Successful Response

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