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.
Optionalprovider: Providerwill be used to access the network
Optionalprovider: ProviderOptionalprovider: Provider
Creates a Raw Transaction for approving tokens usage by the bridge