Create a margin swap transactionCopy Pagepost https://api-v3.rain.fi/transaction-builder/defi/margin-swapRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body ParamsborrowerstringrequiredBorrower that is taking the loanamountInstringrequiredAmount incurrencyInstringrequiredMint of the currency incurrencyOutstringrequiredMint of the currency outjupSlippageobjectAcceptable swap slippage, in BPSjupSlippage objectslippageobjectAcceptable loan interest slippage rateslippage objectlookupTablestringReference to the lookup table used, the 'whitelist' field of the lender pool.referrerstringrequiredReferrer public key (if any)optionsobjectTransaction optionsoptions objectResponse 200Transaction to margin swapUpdated over 1 year ago Create an instant sell loan transactionnftDid this page help you?YesNo