---
title: "Get next chain signature"
method: POST
path: "/dex/chainSignatures"
tags: ["DEX"]
---

# Get next chain signature

`POST /dex/chainSignatures`

Get the next signature requirement in a multi-step signature chain

Used for swaps that require multiple sequential signatures (e.g. permit + bridge).
Call this endpoint recursively: sign the returned data with the wallet,
then pass the signature back until `isComplete` is true.
Only needed when a signature returned by the approve endpoint has type "CHAINED".

## Request body

- ChainSignaturesRequest
  - `quoteId` string, required — Quote ID from a prior quote response.
  - `addressFrom` string, required — EVM address from which the amount will be deducted
  - `previousSignature` SignatureObject, required
    - `signature` string, required
    - `key` string, required
    - `swapRequiredMetadata` RecordStringAny — Construct a type with a set of properties K of type T
  - `signatureKey` string, required — Key for the signature in the chain, returned from the previous approve or chainSignatures call
  - `signatureStep` integer, required — Step number in the signature chain sequence

## Response `200`

Success

- ApprovalTypedData[]
  - `data` EIP712TypedData, required
    - `domain` TypedDataDomain, required
      - `name` string
      - `version` string
      - `chainId` number, double
      - `verifyingContract` string
      - `salt` string
    - `types` RecordStringTypedDataFieldArray, required — Construct a type with a set of properties K of type T
    - `primaryType` string, required
    - `message` RecordStringAny, required — Construct a type with a set of properties K of type T
  - `type` 'single' | 'chained', required
  - `totalSteps` number, double, required
  - `step` number, double, required
  - `isComplete` boolean, required
  - `key` string, required
  - `swapRequiredMetadata` RecordStringAny — Construct a type with a set of properties K of type T

## Other responses

- `422` — Validation Failed
- `500` — Internal Server Error

---

[API](https://skmtc.net/houdiniswap/apis/houdiniswap-backend.md) · [All operations](https://skmtc.net/houdiniswap/apis/houdiniswap-backend/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/houdiniswap/houdiniswap-backend/revisions/2063dbc88d59/schema)
