Transaction Simulation
Simulates a transaction
Supported Networks
Ethereum:
chain_id:"0x1"BSC:
chain_id:"0x38"Avalanche:
chain_id:"0xa86a"Polygon:
chain_id:"0x89"Optimism:
chain_id:"0xa"Arbitrum:
chain_id:"0xa4b1"
post
Simulates a transaction
Body
chain_idstring · hexOptionalExample:
0x1fromstring · hexOptionalExample:
0xc014f9d89b194dde14554a65d4e009260f44de3ftostring · hexOptionalExample:
0x3fc91a3afd70395cd496c647d5a6cc9d4b2b7fadvaluestring · hexOptionalExample:
0x38d7ea4c68000datastring · hexOptionalExample:
0x3593564c000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000064e7451300000000000000000000000000000000000000000000000000000000000000020b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000038d7ea4c680000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000038d7ea4c6800000000000000000000000000000000000000000000000000057a626a2e9a17d7a00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8111111111117dc0aa78b770fa6a738034120c302000000000000000000000000000000000000000000Responses
200
Successful operation
application/json
403
Forbidden
500
Internal Server Error
post
/v2/transaction_simulationRequest Body Parameters
Parameter Name
Parameter Type
Comments
chain_id
hex string
Chain ID (e.g. "0x1" for mainnet)
from
hex string
From address
to
hex string
To address
value
hex string
Value
data
hex string
Data
Usage Example
Last updated
Was this helpful?