mainnet
Etherspot SDK to receive our offers. For the purposes of this guide, we're going to assume the variable is called mainnetEtherspotSdk
.getExchangeOffers
method with our desired token and amount parameters as illustrated below.getExchangeOffers
is executed, you will receive an array of 0 or more offers based on your swap request. For each item in the array, this data object is returned:exchangeRate
provider
receiveAmount
transactions