Skip to main content
POST
/
dex
/
chainSignatures
Get next chain signature
curl --request POST \
  --url https://api-partner.houdiniswap.com/v2/dex/chainSignatures \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "quoteId": "69a02882f48d56c923119d95",
  "addressFrom": "0xb7dE6b6eEBF7401aFea5a49D6405C9048fEf2d40",
  "previousSignature": {
    "signature": "<string>",
    "key": "<string>",
    "swapRequiredMetadata": {}
  },
  "signatureKey": "permit",
  "signatureStep": 1
}
'
[
  {
    "data": {
      "domain": {
        "name": "<string>",
        "version": "<string>",
        "chainId": 123,
        "verifyingContract": "<string>",
        "salt": "<string>"
      },
      "types": {},
      "primaryType": "<string>",
      "message": {}
    },
    "type": "single",
    "totalSteps": 123,
    "step": 123,
    "isComplete": true,
    "key": "<string>",
    "swapRequiredMetadata": {}
  }
]

Authorizations

Authorization
string
header
required

Body

application/json
quoteId
string
required

Quote ID from a prior quote response.

Example:

"69a02882f48d56c923119d95"

addressFrom
string
required

EVM address from which the amount will be deducted

Pattern: ^0x[0-9a-fA-F]{40}$
Example:

"0xb7dE6b6eEBF7401aFea5a49D6405C9048fEf2d40"

previousSignature
object
required

Previous signature object from the wallet signing step

signatureKey
string
required

Key for the signature in the chain, returned from the previous approve or chainSignatures call

Example:

"permit"

signatureStep
integer<int32>
required

Step number in the signature chain sequence

Required range: x >= 0
Example:

1

Response

Success

data
object
required
type
enum<string>
required
Available options:
single,
chained
totalSteps
number<double>
required
step
number<double>
required
isComplete
boolean
required
key
string
required
swapRequiredMetadata
object

Construct a type with a set of properties K of type T