---
title: "Validate an unsigned transaction matches a prior simulation"
method: POST
path: "/api/v1/validate"
tags: ["quote"]
---

# Validate an unsigned transaction matches a prior simulation

`POST /api/v1/validate`

Validate an unsigned transaction matches a prior simulation

## Headers

- `x-request-id` string, required

## Request body

- ValidateRequest
  - `simulationId` string, required — Simulation ID from a prior /simulate call
  - `transaction` UnsignedTransactionDto, required
    - `data` string, required — Hex-encoded calldata
    - `to` string, required — Target contract address
    - `from` string, required — Sender address
    - `value` string, required — Value in wei (decimal or 0x string)
    - `chainId` number, required — Chain ID

## Response `200`

- ValidateResponse
  - `valid` boolean, required — Whether all validation checks passed
  - `simulationId` string, required — The simulation ID validated against
  - `checks` ValidationChecks, required
    - `chainId` boolean, required
    - `data` boolean, required
    - `to` boolean, required
    - `value` boolean, required
    - `from` boolean, required

---

[API](https://skmtc.dev/enso/apis/enso-api.md) · [All operations](https://skmtc.dev/enso/apis/enso-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/enso/enso-api/revisions/249f471fdafd/schema)
