Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 810 Bytes

executeQuote.md

File metadata and controls

27 lines (15 loc) · 810 Bytes

@across-protocol/app-sdk / executeQuote

Function: executeQuote()

executeQuote(params): Promise<object | object>

Executes a quote by:

  1. Approving the SpokePool contract if necessary
  2. Depositing the input token on the origin chain
  3. Waiting for the deposit to be filled on the destination chain

Parameters

params: ExecuteQuoteParams

See ExecuteQuoteParams.

Returns

Promise<object | object>

The deposit ID and receipts for the deposit and fill transactions.

Defined in

packages/sdk/src/actions/executeQuote.ts:167