Skip to content

Version 1.1.5

Latest
Compare
Choose a tag to compare
@sidthounao sidthounao released this 10 Feb 12:34
· 19 commits to main since this release
6b40377

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.