Quickstart

Getting started with Pluton is simple and straightforward. Follow these steps to initiate your first cross-chain transaction:

Step 1: Submit a Quote Request

Use the /estimates/getBestEstimate endpoint to get an estimate for your desired transfer.

Request Example:

{
  "srcChainId": 1,
  "srcAssetAddress": "0xSourceAssetAddress",
  "dstChainId": 2,
  "dstAssetAddress": "0xDestinationAssetAddress",
  "amount": "1000",
  "slippage": 0.5,
  "quoteType": "EXACT_IN"
}

Step 2: Retrieve the Best Quote

Use the /quotes/getBestQuote endpoint to get the best available quote from Pluton.

Request Example:

{
  "srcChainId": 1,
  "srcAssetAddress": "0xSourceAssetAddress",
  "dstChainId": 2,
  "dstAssetAddress": "0xDestinationAssetAddress",
  "amount": "1000",
  "slippage": 0.5,
  "quoteType": "EXACT_IN",
  "srcWalletAddress": "0xSourceWalletAddress",
  "dstWalletAddress": "0xDestinationWalletAddress"
}

Step 3: Execute the Transaction

Once you have the best quote, confirm and execute the transaction using the provided details. Transfer the specified amount to the source chain address and wait for the solver to complete the process.

Step 4: Monitor the Status

Track the status of your transaction in real-time. Once completed, you will receive the equivalent amount on the destination chain.

Last updated