You can calculate the approximate transfer time using getAverageTransferTime method
const transferTimeMs = sdk.getAverageTransferTime(sourceToken, destinationToken, Messenger.ALLBRIDGE); console.log( "Average transfer time from %s to %s is %s", sourceToken.chainSymbol, destinationToken.chainSymbol, msToTime(transferTimeMs) );
Full example
Last updated 6 months ago