Get Cross-Chain Route

The getSquidRoute is a function that returns a possible route for an xchain claiming transaction.

const squidRoute = peanut.getSquidRoute({
            fromAddress: '',
            fromAmount: '',
            fromChain: '',
            fromToken: '',
            toAddress: '',
            toChain: '',
            toToken: '',
        })

Last updated