Hi, please try the react example in this repo.
In the Form.tsx file
After const wrappedTrades = await (sdk.crossChain.calculateTrade(fromToken, String(amount), toToken))
Add: console.log(wrappedTrades)
Try to calculate a swap between BNB and Polygon, amount 1.
I get in the browser console a bunch of errors with trade set to null.

Errors for all trades:
Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced.
Are you experiencing some issues right now or...?
I think a few days ago it was working...
Hi, please try the react example in this repo.
In the
Form.tsxfileAfter
const wrappedTrades = await (sdk.crossChain.calculateTrade(fromToken, String(amount), toToken))Add:
console.log(wrappedTrades)Try to calculate a swap between BNB and Polygon, amount 1.
I get in the browser console a bunch of errors with trade set to null.
Errors for all trades:
Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced.
Are you experiencing some issues right now or...?
I think a few days ago it was working...