Skip to main content
POST
Simulate already-built transactions (standalone)

Headers

x-request-id
string
required

Body

application/json

Request to quote multiple transactions

amountIn
string[]
required

List of input amounts (as decimal strings)

chainId
integer<int64>
required

Chain ID (e.g., 1 for Ethereum mainnet)

Required range: x >= 0
Example:

1

tokenIn
string[]
required

List of input token addresses

Example:

"0xdac17f958d2ee523a2206206994597c13d831ec7"

tokenOut
string[]
required

List of output token addresses

Example:

"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"

transactions
object[]
required

List of transactions to quote

Response

Quote successful

status
enum<string>
required

Status of the quote (Success or Error)

Available options:
Success,
Error
amountOut
string[] | null

Output amounts for each output token (as decimal strings)

error
null | object

Error details if the quote failed

gas
null | string

Estimated gas for the transaction

Example:

"1000000000000000000"

stateOverride
object | null

State override used for simulation