transactionOut

Get a transaction to retrieve tokens from one address to another with specified slippage and quote ID.

Request Parameters:

Request URL Example:

https://api.magpiefi.xyz/aggregator/transaction-out?quoteId=c6625f82-19a7-4943-9eb7-9dd4b0a7d39f&toAddress=0x710Ba8dc63290640f14F0f823faD0Fa49B91C5Ab&fromAddress=0x710Ba8dc63290640f14F0f823faD0Fa49B91C5Ab&estimateGas=true

Response Example:

{
  "from": "string",
  "to": "string",
  "data": "string",
  "chainId": 0,
  "type": 0,
  "gasLimit": "string",
  "maxFeePerGas": "string",
  "maxPriorityFeePerGas": "string",
  "gasPrice": "string",
  "value": "string"
}

Last updated