Quickstart
Getting started with Pluton is simple and straightforward. Follow these steps to initiate your first cross-chain transaction:
1. Estimate Your Transaction
Endpoint: POST /quote/estimateRequest
Body Example:
{
"fromChainId": 42161,
"fromToken": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"fromAmount": "100000000",
"toChainId": 101,
"toToken": "So11111111111111111111111111111111111111112",
"toAddress": "DestinationWalletAddress",
"slippage": 0.005,
"affiliate": "optionalAffiliateId",
"referrer": "optionalReferrerId"
}
Response:Returns available solver quotes and intent responses for your request.
2. Select a Quote and Get Transaction Data
Endpoint: POST /quote/selectRequest
Body Example:
{
"id": "intentResponseId", // Use the ID from the estimate response
"sourceWalletAddress": "0xYourWallet",
"destinationWalletAddress": "DestinationWalletAddress"
}
Response: Returns the transaction data (transaction.pluton) you need to sign and broadcast on-chain.
That’s it!
Use
/quote/estimate
to get available routes and quotes.Use
/quote/select
to get the transaction payload for signing and execution.
For more advanced flows (refunds, affiliate claims, history), see the Integration Guide.
Last updated