Skip to main content
POST
Transaction Simulation

Headers

Content-Type
string
default:application/json
required

Must be set to application/json

X-API-Key
string
required

Your HashDit API key (required for production use)

Body

application/json

Transaction simulation request

chain_id
string
required

The network chain ID. See Supported Chains for a complete list of supported networks for this endpoint.

Example:

"56"

block_height
string
required

Block height used as the simulation context.

Example:

"58083468"

evm_transactions
object[]
required

List of EVM transactions to simulate.

requested_items
object
required
request_source
string

Identifier for the request source (e.g. application name).

Example:

"Diting"

Response

Successful response

code
string

API result code.

Example:

"000000000"

status
string

Request status (OK on success).

Example:

"OK"

type
string

Simulation category.

Example:

"GENERAL"

data
object
error_data
object | null

Error details if simulation fails.

Example:

null