Kyber

Call price and trade estimates on Kyber by using this Resolcer

Kyber Resolver to get buy and sell details. You can view details like source code, ABIs on Etherscan.

Get buy amount

Get buy token details like amount and unit amount.Copy

dsa.kyber.getBuyAmount(buyToken, sellToken, sellAmt, slippage);

Returns: Object of buy token details

{
  buyAmt: "2208.0499999999997",
  buyAmtRaw: "2208050000000000000000",
  unitAmt: "216388900000000000000"
}

Last updated