diff --git a/src/api.ts b/src/api.ts index 72c81e9f..10e7805b 100644 --- a/src/api.ts +++ b/src/api.ts @@ -22,6 +22,12 @@ import type { TokenTag, } from './tokens/index.js' +export enum SVMPriorityFeeLevel { + NORMAL = 'NORMAL', + FAST = 'FAST', + ULTRA = 'ULTRA', +} + /** * Used as a bigint replacement for TransactionRequest because bigint is not serializable */ @@ -167,6 +173,9 @@ export interface RouteOptions extends RouteOptionsBase { /** SVM specific option, wallet to sponsor tx costs */ svmSponsor?: string + /** SVM specific option, priority fee level */ + svmPriorityFeeLevel?: SVMPriorityFeeLevel + /** Mayan specific option to bridge from non-EVM chain to Hyperliquid */ mayanNonEvmPermitSignature?: boolean @@ -385,6 +394,9 @@ export interface QuoteRequest extends ToolConfiguration, TimingStrings { /** SVM specific option, wallet to sponsor tx costs */ svmSponsor?: string + /** SVM specific option, priority fee level */ + svmPriorityFeeLevel?: SVMPriorityFeeLevel + /** Preset configuration for stablecoin routing optimization * When provided, this preset will override other route options with optimized settings */ preset?: string