🟥Limit Order Sell Token

Place Sell order at a particular rate

Limit order APIs work only for Raydium pairs

API https://api.autosnipe.ai/sniper-api/limit/sell

Request Method Post

Request Headers

NameValue

x-autosnipe-apikey

<YOUR_API_KEY>

x-autosnipe-signature

generated Signature

Content-Type

'application/json'

Request Params

NameTypeDescription

amount*

number

token amount to be sold

token_address*

string

token address to sell

chain_id*

number

0 - Solana

platform*

number

0 - Raydium

rate*

number

Rate at which order is to be placed

expiry_date

epoch

Order will expire if not placed by this time

jito_tip

number

tip for faster confirmation in SOL

Response Params

{
    "status": 1,
    "message": "Limit Order placed Successfully",
    "data": <limitOrderId>
}
let body = {amount, jito_tip, rate, expiry_date, token_address, platform, chain_id}
callAuthAPI("/limit/sell", body, "POST")

Last updated