Builds the deposit transaction of a NEAR Intents transfer:
uses params.nearIntentsDeposit or creates a new deposit (EXACT_INPUT),
then a plain transfer of its amountIn to its deposit address
(a native currency transfer when the source token isNative).
Optionalprovider: Providerwill be used to access the network. Optional
Creates a NEAR Intents deposit: a quote with a one-shot deposit address.
The deposit must be funded before its deadline.
NearIntentsDeposit with float amounts
the same errors as getQuote
Fetches a NEAR Intents quote.
NearIntentsQuote with float amounts
Notifies NEAR Intents about the deposit transaction to speed up its detection. Optional: errors are logged and never thrown.
NEAR Intents (
Messenger.NEAR_INTENTS) quotes and deposits.Send flow:
getAmountToBeReceived/getAmountToSendwithMessenger.NEAR_INTENTS) to show the expected amounts,minAmountOutand the ETA.bridge.rawTxBuilder.sendwithMessenger.NEAR_INTENTS): creates a deposit and builds a plain transfer of the source tokens to its deposit address.deposit.deadline.No approval is needed. Source chains: EVM, SOL, TRX, SRB and SUI (ALG and STX are not supported).