will be used to access the network
Creates a Raw Transaction for approving tokens usage by the bridge
Creates a Raw Transaction for initiating the transfer of tokens
For Messenger.NEAR_INTENTS: the transaction is a plain transfer of the source tokens to a NEAR Intents deposit address.
SendParams.nearIntentsDeposit is used when defined, otherwise a new deposit is created
(to get the deposit details as well, use nearIntents.buildSendTransaction).
extraGas and a non-zero fee are rejected. Source chains: EVM, SOL, TRX, SRB (needs the deposit memo) and SUI.
For Messenger.LIFI_INTENTS: the transaction of a LI.FI Intents order built by the Core API: the
LifiIntentsBridge call on EVM, an unsigned VersionedTransaction of the lifi-intents-bridge program on SOL.
SendParams.lifiIntentsOrder is used when defined, otherwise a new order is created
(to get the order details as well, use lifiIntents.buildSendTransaction). Sign it at once: the order is short-lived.
extraGas and a non-zero fee are rejected. Source chains: EVM and SOL.
Optionalprovider: Providerwill be used to access the network
Optionalprovider: ProviderOptionalprovider: Provider
Creates a Raw Transaction for approving tokens usage by the bridge