Build create order unsigned transaction for Solana (v1.2)
Supported on: Ethereum Base Solana BNB Chain Unichain Arbitrum Avalanche ZKsync Gnosis Optimism Polygon Linea Sonic
Parameters
quoteId
* string queryId of the quote received from /receive
serialize
boolean queryWhen enabled -> receive ready to sign transaction, otherwise receive instructions and accounts
versionedTransaction
boolean queryWhen enabled and serialize==true -> receive serialized VersionedTransaction instead of Message0
isMobile
string queryEnabled flag allows to save quote for Mobile History
Request Body
Request body for building a Solana order
secretsHashList
* array Array of secret hashes - [keccak256(secret)] or keccak256(secret[idx])[]
items
string receiver
string Receiver addess on dst chain
preset
string (Enum)Preset for order price curve. By default: recommended preset from a quote
fast
slow
medium
custom
priorityFee
string Priority price per compute unit in microlamports
JavaScript
Copy
1
Returns
200
400
default
200 response doesn’t have payload.