:
exactIn
that takes the following parameters for input:exactIn
returns:TokenAmount
type. The amount of tokens to pay the fee for bridging: the fee for relayers network work. Please refer to the document for more information on relayers. TokenAmount
type. An amount of tokens the user gets on the destination's blockchain. execute
function returns: waitForMined
is a function of waiting for the transaction to be mined.waitForMined
function returns: waitForComplete
is a function of waiting for getting tokens on the destination blockchain.