Optional
Readonly
apiReadonly
axiosReadonly
chainReadonly
routerProtected
getMake a kyber call
Rest
...params: MakeCallParamsthe additional parameters for kybercall.
KybercallData is returned if there is a route to trade via Kyberswap.
If there is no route, undefined
is returned.
If input.token
is the same as output
, no actual call is done.
input.token
is the same as output
, no actual call is done.
We will just return the input amount.input.token
is a native token (it is checked by calling isNativeToken),
it will be convert to NATIVE_ADDRESS_0xEE before calling.Private
makeRest
...__namedParameters: MakeCallParamsStatic
assertStatic
getStatic
isGenerated using TypeDoc
the address of the router (that is, the address that can be passed to Router)