Skip to content

Version 1.1.4

Latest

Choose a tag to compare

@sidthounao sidthounao released this 10 Feb 12:32
a40dae9

This SDK is the Uniswap controller for Safle Swaps-v2

List of functions:

  • getSupportedChains() : Get list of supported chains on Uniswap
  • getSupportedTokens() : Get list of supported assets on Uniswap
  • getExchangeRate() : Get exchange rates for a token pair
  • getEstimatedGas() : Get estimated gas for the swap transaction
  • getRawTransaction() : Get raw transaction for the swap
  • approvalRawTransaction() : Get raw transaction for approving the spender contract

ATTENTION: This is an unaudited version.