Skip to content

Releases: getsafle/1inch-controller

Version 1.1.5

10 Feb 12:34
6b40377
Compare
Choose a tag to compare

This SDK is the 1Inch controller for Safle Swaps-v2

List of functions:

  • getSupportedChains() : Get list of supported chains on 1Inch
  • getSupportedTokens() : Get list of supported assets on 1Inch
  • 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.