Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lifi/types",
"version": "18.2.0",
"version": "18.3.0-beta.0",
"description": "Types for the LI.FI stack",
"keywords": [
"sdk",
Expand Down
12 changes: 12 additions & 0 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,12 @@ export interface RouteOptionsBase {
/** Whether to include routes that require a transaction or a message, or both
* @default 'transaction' */
executionType?: ExecutionType

/** Opt the request into gasless execution. The returned steps carry signable
* typed data instead of a `transactionRequest`, and a relay fee is deducted
* from the input amount as a `feeCosts` entry named `LIFI Gasless Relay Fee`.
* @default false */
gasless?: boolean
}

/**
Expand Down Expand Up @@ -493,6 +499,12 @@ export interface QuoteRequest extends ToolConfiguration, TimingStrings {
* @default 'transaction' */
executionType?: ExecutionType

/** Opt the request into gasless execution. The response returns signable
* typed data instead of a `transactionRequest`, and a relay fee is deducted
* from the input amount as a `feeCosts` entry named `LIFI Gasless Relay Fee`.
* @default false */
gasless?: boolean

/** SVM specific option, without it implicit source swaps routes are discarded */
jitoBundle?: boolean

Expand Down
Loading