POST /v1/intent
Request
POST https://snipe.merkle.io/v1/intent{
// Required fields
"chainId": 1,
"wallet": "<wallet address>",
"tokenAddress": "<token address>",
"bribe": "<bribe amount in wei>",
"buyAmount": "<buy amount in wei>",
"expiry": 2800998888, // expiry timestamp in seconds
// Optional fields
"maxBuyTax": 0.2, // between 0 and 1
"maxSellTax": 0.2, // between 0 and 1
"minIn": "<min in amount in wei>",
"minOut": "<min out amount in token units>",
"minLiquidity": "<min liquidity in cents>",
"feeBps": 100, // 1% fee on the buy amount
"feeRecipient": "<fee recipient address>",
"firstOrFail": true, // or false
"maxSlippageBps": 1000, // 10%
"gasTip": "1000000000" // in wei (e.g., 1 gwei)
}
Field
Type
Required
Description
Response
Last updated
Was this helpful?