Analysis

Transaction risk: from raw signed tx

post

Decode a raw signed transaction, simulate via trace_call, list all touched contracts, and assess risk similarly to other endpoints.

Body

Request model for raw signed transaction risk check.

raw_txstringRequired

0x-hex of the signed transaction

sender_addressany ofOptional

The 0x-hex address of the sender. Required if 'raw_tx' is an unsigned transaction. Ignored if 'raw_tx' is a signed transaction.

stringOptional
or
nullOptional
block_tagany ofOptional

Block tag or number

Default: latest
stringOptional
or
nullOptional
latest_offsetany ofOptional

Limit first-time checks to N latest blocks (performance control)

Default: 100
integerOptional
or
nullOptional
from_blockany ofOptional

Lower bound block for first-time checks

stringOptional
or
nullOptional
to_blockany ofOptional

Upper bound block for first-time checks

stringOptional
or
nullOptional
Responses
chevron-right
200

Successful Response

application/json
statusstring · enumRequiredPossible values:
post
/v1/analysis/tx-risk-raw

Last updated