@relayprotocol/relay-sdk 7.0.3 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/types/api.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file was auto-generated by openapi-typescript.\n * Do not make direct changes to the file.\n */\n\n\nexport interface paths {\n \"/app-fees/{wallet}/balances\": {\n get: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n path: {\n /** @description Wallet to get the app fees for */\n wallet: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description An array of app fee balances across multiple currencies */\n balances?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n }[];\n /** @description Total app fee balance in USD across all currencies. */\n totalBalanceUsd?: number;\n /** @description Outstanding fast fill balance in USD that has not yet settled. This amount is deducted from the available collateral for new fast fills and claims. */\n outstandingFastFillBalanceUsd?: number;\n /** @description Total balance minus outstanding fast fill balance. The effective collateral available for new fast fills and claims. */\n availableBalanceUsd?: number;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Descriptive error message */\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/app-fees/{wallet}/claim\": {\n post: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n path: {\n wallet: string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n /** @description Chain id of the currency to claim */\n chainId: number;\n /** @description Currency to claim */\n currency: string;\n /** @description Amount to claim */\n amount?: string;\n /** @description The recipient of the claimed funds */\n recipient: string;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description An array of steps detailing what needs to be done to claim */\n steps?: {\n /** @description Unique identifier tied to the step */\n id?: string;\n /** @description A call to action for the step */\n action?: string;\n /** @description A short description of the step and what it entails */\n description?: string;\n /** @description The kind of step, for claims this will be `signature` */\n kind?: string;\n /** @description For claims, we'll always have a single `signature` step */\n items?: {\n /** @description Can either be complete or incomplete */\n status?: string;\n data?: unknown;\n }[];\n }[];\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Descriptive error message */\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/app-fees/{wallet}/claims\": {\n get: {\n parameters: {\n query?: {\n /** @description Number of claims to return */\n limit?: number;\n /** @description Pagination continuation token */\n continuation?: string;\n };\n path: {\n /** @description Wallet address to retrieve claim history for */\n wallet: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description An array of past app fee claim transactions */\n claims?: ({\n claimId?: string;\n wallet?: string;\n recipient?: string;\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n txHash?: string | null;\n status?: string;\n createdAt?: string;\n })[];\n continuation?: string;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Descriptive error message */\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/balance-events/{wallet}\": {\n get: {\n parameters: {\n query: {\n /** @description Temporary shared secret required to access this endpoint */\n id: string;\n /** @description Restrict to one chain */\n chainId?: number | null;\n /** @description Restrict to one currency (use chainId for non-EVM) */\n currency?: string | null;\n /** @description Restrict to one balance update context */\n context?: \"set-pending-amount\" | \"unset-pending-amount\" | \"reset-pending-amount\" | \"pay-fees\" | \"claim\" | \"fast-fill-reduce-balance\" | \"fast-fill-increase-balance\" | \"balance-topup\" | \"execute-transaction-request\" | \"fixed-rate-accounting\" | \"integrator-fixed-bps-accounting\" | null;\n /** @description Restrict to a specific request id */\n requestId?: string | null;\n /** @description Page size for events (max 250, default 50) */\n limit?: number | null;\n /** @description Pagination cursor: the `id` of the last event from the previous page */\n cursor?: string | null;\n /** @description Include rows where the current balance is <= 0 (default true) */\n includeNegativeBalances?: boolean | null;\n };\n path: {\n /** @description Wallet address (EVM/SVM/BVM auto-detected) */\n wallet: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n wallet?: string;\n balances?: {\n chainId?: number;\n currency?: string;\n amount?: string;\n }[];\n events?: ({\n id?: number;\n chainId?: number;\n wallet?: string;\n currency?: string;\n delta?: string;\n balanceAfter?: string;\n context?: string;\n requestId?: string | null;\n contextData?: unknown;\n createdAt?: string;\n })[];\n continuation?: string | null;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/chains\": {\n get: {\n parameters: {\n query?: {\n includeChains?: string | null;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description An array of supported chains */\n chains?: ({\n id?: number;\n name?: string;\n displayName?: string;\n httpRpcUrl?: string;\n wsRpcUrl?: string;\n explorerUrl?: string;\n explorerName?: string;\n explorerPaths?: {\n transaction?: string;\n address?: string;\n token?: string;\n } | null;\n /** @description If the network supports depositing to this chain, e.g. allows this chain to be set as the destination chain */\n depositEnabled?: boolean;\n /** @enum {string} */\n tokenSupport?: \"All\" | \"Limited\";\n /** @description If relaying to and from this chain is disabled */\n disabled?: boolean;\n /** @description The value limit at which the chain is partially disabled, if 0, the chain is not partially disabled. i.e, 1000000000000000000 to designate 1 ETH max withdrawal/deposit */\n partialDisableLimit?: number;\n /** @description If the chain is experiencing issues where blocks are lagging behind or not being produced */\n blockProductionLagging?: boolean;\n currency?: {\n id?: string;\n symbol?: string;\n name?: string;\n address?: string;\n decimals?: number;\n supportsBridging?: boolean;\n };\n /** @description The fee in bps for withdrawing from this chain */\n withdrawalFee?: number;\n /** @description The fee in bps for depositing to this chain */\n depositFee?: number;\n /** @description If the chain has surge pricing enabled */\n surgeEnabled?: boolean;\n /** @description An array of featured erc20 currencies */\n featuredTokens?: {\n id?: string;\n symbol?: string;\n name?: string;\n address?: string;\n decimals?: number;\n /** @description If the currency supports bridging */\n supportsBridging?: boolean;\n metadata?: {\n logoURI?: string;\n };\n }[];\n /** @description An array of erc20 currencies that the solver accepts directly as input */\n erc20Currencies?: {\n id?: string;\n symbol?: string;\n name?: string;\n address?: string;\n decimals?: number;\n /** @description If the currency supports bridging */\n supportsBridging?: boolean;\n /** @description If the erc20 currency supports permit via signature (EIP-2612) */\n supportsPermit?: boolean;\n /** @description The fee in bps for withdrawing from this chain */\n withdrawalFee?: number;\n /** @description The fee in bps for depositing to this chain */\n depositFee?: number;\n /** @description If the chain has surge pricing enabled */\n surgeEnabled?: boolean;\n }[];\n /** @description An array of all currencies that the solver accepts directly as input, including native currency if applicable */\n solverCurrencies?: {\n id?: string;\n symbol?: string;\n name?: string;\n address?: string;\n decimals?: number;\n }[];\n /** @description The URL to the chain icon */\n iconUrl?: string | null;\n /** @description The URL to the chain logo */\n logoUrl?: string | null;\n /** @description Brand color code */\n brandColor?: string | null;\n /** @description Relay contract addresses */\n contracts?: {\n multicall3?: string;\n multicaller?: string;\n onlyOwnerMulticaller?: string;\n relayReceiver?: string;\n erc20Router?: string;\n approvalProxy?: string;\n v3?: {\n erc20Router?: string;\n approvalProxy?: string;\n };\n };\n /**\n * @description The type of VM the chain runs on\n * @enum {string}\n */\n vmType?: \"bvm\" | \"evm\" | \"svm\" | \"tvm\" | \"tonvm\" | \"hypevm\" | \"lvm\" | \"xrpvm\";\n explorerQueryParams?: {\n [key: string]: unknown;\n } | null;\n /** @description The chain id which the chain rolls up to. This is always set as Ethereum for L1 chains */\n baseChainId?: number | null;\n /** @description If applicable, a status message for the chain */\n statusMessage?: string | null;\n /** @description An array of solver addresses in use on the chain, including active multi-EOA and VM-specific service signer addresses. */\n solverAddresses?: string[];\n tags?: string[];\n protocol?: {\n v2?: {\n chainId?: string | null;\n depository?: string | null;\n depositoryVault?: string | null;\n };\n };\n })[];\n };\n };\n };\n };\n };\n };\n \"/chains/liquidity\": {\n get: {\n parameters: {\n query: {\n chainId: number;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description Solver balances per currency on the requested chain */\n liquidity?: {\n chainId?: number;\n currencyId?: string;\n symbol?: string;\n address?: string;\n decimals?: number;\n /** @description Main EOA solver balance in the currency's smallest unit (e.g. wei for ETH) */\n balance?: string;\n /** @description Solver balance expressed in USD */\n amountUsd?: string;\n }[];\n };\n };\n };\n };\n };\n };\n \"/chains/health\": {\n get: {\n parameters: {\n query?: {\n chainId?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description A boolean indicating if the chain is healthy (true) or not (false) */\n healthy?: boolean;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n };\n };\n };\n };\n };\n };\n \"/config\": {\n get: {\n parameters: {\n query: {\n originChainId: string;\n destinationChainId: string;\n /** @description User address, when supplied returns user balance and max bridge amount */\n user?: string;\n /** @description Restricts the user balance and capacity to a particular currency when supplied with a currency address. Defaults to native currency */\n currency?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n enabled?: boolean;\n user?: {\n /** @description Balance on the origin chain in the native or supplied currency */\n balance?: string;\n /** @description Maximum amount that the user can bridge after fees in the native or supplied currency */\n maxBridgeAmount?: string;\n };\n solver?: {\n address?: string;\n /** @description Balance of the solver on the destination chain. Denoted in wei */\n balance?: string;\n /** @description How much of the given currency is available to be bridged per bridge request. Denoted in wei */\n capacityPerRequest?: string;\n };\n /** @description This denotes if the chain combination supports canonical plus bridging */\n supportsExternalLiquidity?: boolean;\n };\n };\n };\n };\n };\n };\n \"/config/v2\": {\n get: {\n parameters: {\n query: {\n originChainId: string;\n destinationChainId: string;\n /** @description User address, when supplied returns user balance and max bridge amount */\n user?: string;\n /** @description Restricts the user balance and capacity to a particular currency when supplied with a currency id. Defaults to the native currency of the destination chain. */\n currency?: \"anime\" | \"btc\" | \"cgt\" | \"dai\" | \"degen\" | \"eth\" | \"omi\" | \"pop\" | \"tg7\" | \"tia\" | \"usdc\" | \"usdc.e\" | \"usdt\" | \"sol\" | \"weth\" | \"ape\" | \"g7\" | \"pengu\" | \"plume\" | \"plumeusd\" | \"gun\" | \"somi\" | \"synd\" | \"xpl\" | \"usde\" | \"mon\" | \"usdh\" | \"musd\" | \"usdm\" | \"pyusd\" | \"cash\" | \"eusd\" | \"pusd\" | \"bnb\" | \"usdg\" | \"pathusd\" | \"usdc.e-cronos\";\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n enabled?: boolean;\n user?: {\n /** @description Balance on the origin chain in the native or supplied currency */\n balance?: string;\n /** @description Maximum amount that the user can bridge after fees in the native or supplied currency */\n maxBridgeAmount?: string;\n };\n /** @description Total fee in the native or supplied currency for the bridge operation */\n fee?: string;\n solver?: {\n address?: string;\n /** @description Balance of the solver on the destination chain. Denoted in wei */\n balance?: string;\n /** @description How much of the given currency is available to be bridged per bridge request. Denoted in wei */\n capacityPerRequest?: string;\n };\n /** @description This denotes if the chain combination supports canonical plus bridging */\n supportsExternalLiquidity?: boolean;\n };\n };\n };\n /** @description Default Response */\n 500: {\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n };\n };\n };\n };\n };\n };\n \"/deposit-addresses/v1\": {\n get: {\n parameters: {\n query?: {\n /** @description The deposit address to look up. Provide either `address` or `requestId`. */\n address?: string;\n /** @description The original requestId the deposit address was created for. Provide either `address` or `requestId`. */\n requestId?: string;\n };\n header?: {\n /** @description API key for authentication. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description The deposit address. */\n depositAddress: string;\n /**\n * @description The deposit address type.\n * @enum {string}\n */\n type: \"open\" | \"strict\";\n /** @description The original requestId the deposit address was created for. */\n requestId: string;\n /** @description The chain the deposit address was created on. */\n chainId: number;\n /** @description ISO 8601 timestamp of when the deposit address was created. */\n createdAt: string;\n /** @description Origin currency id from the originating quote request. Null when the quote request is unavailable. */\n currency?: string | null;\n /** @description Refund address from the originating quote request. Null when unset or the quote request is unavailable. */\n refundTo?: string | null;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/execute/permits\": {\n post: {\n parameters: {\n query: {\n /** @description The permit signature. */\n signature: string;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n /** @description The kind of signature. This value is returned in the quote API steps body field. e.g eip3009 */\n kind: string;\n /** @description The requestId of the quote this permit signature applies to. Returned in the quote API steps body field. */\n requestId: string;\n /**\n * @description The API value returned from the quote API steps body field.\n * @enum {string}\n */\n api?: \"bridge\" | \"swap\" | \"user-swap\";\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n message?: string;\n steps?: {\n id?: string;\n action?: string;\n description?: string;\n kind?: string;\n items?: {\n status?: string;\n data?: {\n to?: string;\n data?: string;\n value?: string;\n chainId?: number;\n };\n check?: {\n endpoint?: string;\n method?: string;\n };\n }[];\n }[];\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/quote\": {\n /**\n * @deprecated\n * @description This endpoint is deprecated. Use /quote/v2 instead.\n */\n post: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n /**\n * @description Address that is depositing funds on the origin chain and submitting transactions or signatures\n * @default 0x03508bb71268bba25ecacc8f620e01866650532c\n */\n user: string;\n /** @description Address that is receiving the funds on the destination chain, if not specified then this will default to the user address */\n recipient?: string;\n /** @default 8453 */\n originChainId: number;\n /** @default 10 */\n destinationChainId: number;\n /** @default 0x0000000000000000000000000000000000000000 */\n originCurrency: string;\n /** @default 0x0000000000000000000000000000000000000000 */\n destinationCurrency: string;\n /**\n * @description Amount to swap as the base amount (can be switched to exact input/output using the dedicated flag), denoted in the smallest unit of the specified currency (e.g., wei for ETH)\n * @default 1000000000000000000\n */\n amount: string;\n /**\n * @description Whether to use the amount as the output or the input for the basis of the swap\n * @default EXACT_INPUT\n * @enum {string}\n */\n tradeType: \"EXACT_INPUT\" | \"EXACT_OUTPUT\" | \"EXPECTED_OUTPUT\";\n txs?: {\n to?: string;\n value?: string;\n data?: string;\n originalTxValue?: string;\n }[];\n /** @description Total gas limit for the destination chain call transactions */\n txsGasLimit?: number;\n /** @description Authorization list for EIP-7702 transactions to be executed on destination chain */\n authorizationList?: {\n chainId: number;\n address: string;\n nonce: number;\n yParity: number;\n r: string;\n s: string;\n }[];\n /** @description Additional data needed for specific routes */\n additionalData?: {\n /** @description If the request originates from Bitcoin and the user is a P2SH address, the public key is needed to be able to generate the transaction data */\n userPublicKey?: string;\n };\n referrer?: string;\n referrerAddress?: string;\n /** @description Address to send the refund to in the case of failure, if not specified then the recipient address or user address is used */\n refundTo?: string;\n /** @description Origin-chain address used for deposit-address fund recovery. Requires useDepositAddress=true. */\n recoveryAddress?: string;\n /**\n * @deprecated\n * @description Always refund on the origin chain in case of any issues\n */\n refundOnOrigin?: boolean;\n /** @description If set, the destination fill will include a gas topup to the recipient (only supported for EVM chains if the requested currency is not the gas currency on the destination chain) */\n topupGas?: boolean;\n /** @description The destination gas topup amount in USD decimal format, e.g 100000 = $1. topupGas is required to be enabled. Defaults to 2000000 ($2) */\n topupGasAmount?: string;\n /**\n * @description Enabling will send any swap surplus when doing exact output operations to the solver EOA, otherwise it will be swept to the recipient\n * @default false\n */\n enableTrueExactOutput?: boolean;\n /**\n * @description Enable this to avoid direct transfers to the depository (only relevant for EVM and v2 protocol flow)\n * @default true\n */\n explicitDeposit?: boolean;\n /** @description Enable this to use canonical+ bridging, trading speed for more liquidity */\n useExternalLiquidity?: boolean;\n /** @description Enable this for specific fallback routes */\n useFallbacks?: boolean;\n /** @description Enable this to use permit (eip3009) when bridging, only works on supported currency such as usdc */\n usePermit?: boolean;\n /** @description How long the permit remains valid, in seconds. Defaults to 10 minutes. */\n permitExpiry?: number;\n /** @description Return protocol data for on-chain intent validation. This includes protocol.v2.orderSignature and may increase quote latency. */\n includeProtocolData?: boolean;\n /** @description Enable this to use a deposit address when bridging, in scenarios where calldata cannot be sent alongside the transaction. only works on native currency bridges. For new requests, EXACT_OUTPUT is only supported when strict is also enabled. */\n useDepositAddress?: boolean;\n /** @description When used with useDepositAddress, enables a strict deposit address that is tied to a specific order. Underpayments fail and refund, exact payments fill, and overpayments fill the quoted amount while refunding the excess in a separate refund leg. EXACT_OUTPUT deposit-address requests are only supported in strict mode. Open-ended deposit addresses remain the flexible path for variable deposited amounts. Requires a refundTo address. */\n strict?: boolean;\n /** @description Slippage tolerance for the swap, if not specified then the slippage tolerance is automatically calculated to avoid front-running. This value is in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage. Must be 0–10000 bps. */\n slippageTolerance?: string;\n /** @description Slippage tolerance for destination gas in the event that the deposit occurs after the order deadline, and more gas is required for the solver to execute the destination transaction. Must be 0–10000 bps. */\n latePaymentSlippageTolerance?: string;\n appFees?: {\n /** @description Address that will receive the app fee */\n recipient?: string;\n /** @description App fees to be charged for execution in basis points, e.g. 100 = 1% */\n fee?: string;\n }[];\n /** @description If the request involves specifying transactions to be executed during the deposit transaction, an explicit gas limit must be set when requesting the quote */\n gasLimitForDepositSpecifiedTxs?: number;\n /** @description Force executing swap requests via the solver (by default, same-chain swap requests are self-executed) */\n forceSolverExecution?: boolean;\n /** @description If the sponsor should pay for the fees associated with the request. Includes gas topup amounts. */\n subsidizeFees?: boolean;\n /** @description The fee components to sponsor for swap execution kinds. Requires subsidizeFees=true. Defaults to execution, swap, relay, and app when omitted; rent remains user-paid unless explicitly selected. */\n sponsoredFeeComponents?: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The max subsidization amount in USDC decimal format, e.g 1000000 = $1. subsidizeFees must be enabled. The sponsor will cover fees up to this cap and the user pays any remainder. */\n maxSubsidizationAmount?: string;\n /**\n * @deprecated\n * @description Deprecated compatibility alias that adds \"rent\" to sponsoredFeeComponents.\n */\n subsidizeRent?: boolean;\n /** @description Swap sources to include for swap routing. */\n includedSwapSources?: string[];\n /** @description Swap sources to exclude for swap routing. */\n excludedSwapSources?: string[];\n /** @description Swap sources to include for swap routing on origin. */\n includedOriginSwapSources?: string[];\n /** @description Swap sources to include for swap routing on destination. */\n includedDestinationSwapSources?: string[];\n /** @description The gas overhead for the origin chain, this is used to calculate the gas fee for the origin chain when the solver is executing a gasless transaction on the origin chain */\n originGasOverhead?: number;\n /** @description The payer to be set for deposit transactions on solana. This account must have enough for fees and rent. */\n depositFeePayer?: string;\n /** @description Maximum number of hops to use in solana swap routing. Can reduce transaction size. */\n maxRouteLength?: number;\n /** @description Prevents certain ATA creation instructions in solana routing */\n useSharedAccounts?: boolean;\n /** @description Whether to include compute unit limit instruction for solana origin requests. */\n includeComputeUnitLimit?: boolean;\n /** @description Whether to ignore price impact errors. */\n overridePriceImpact?: boolean;\n /** @description Whether to disable preferred swap provider selection. */\n disableSwapProviderPreference?: boolean;\n /** @description Whether to disable origin swaps. */\n disableOriginSwaps?: boolean;\n /** @description The rate to charge for fixed spread quotes. */\n fixedRate?: string;\n /** @description Time-to-live for the quote, in seconds, measured from when the quote was generated. If the request is not filled within this window it is refunded instead of filled. */\n ttl?: number;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /**\n * @description An array of steps detailing what needs to be done to bridge, steps includes multiple items of the same kind (signature, transaction, etc)\n * @example [\n * {\n * \"id\": \"deposit\",\n * \"action\": \"Confirm transaction in your wallet\",\n * \"description\": \"Depositing funds to the relayer to execute the swap for USDC\",\n * \"kind\": \"transaction\",\n * \"requestId\": \"0x92b99e6e1ee1deeb9531b5ad7f87091b3d71254b3176de9e8b5f6c6d0bd3a331\",\n * \"items\": [\n * {\n * \"status\": \"incomplete\",\n * \"data\": {\n * \"from\": \"0x0CccD55A5Ac261Ea29136831eeaA93bfE07f5Db6\",\n * \"to\": \"0xf70da97812cb96acdf810712aa562db8dfa3dbef\",\n * \"data\": \"0x00fad611\",\n * \"value\": \"1000000000000000000\",\n * \"maxFeePerGas\": \"12205661344\",\n * \"maxPriorityFeePerGas\": \"2037863396\",\n * \"chainId\": 1\n * },\n * \"check\": {\n * \"endpoint\": \"/intents/status?requestId=0x92b99e6e1ee1deeb9531b5ad7f87091b3d71254b3176de9e8b5f6c6d0bd3a331\",\n * \"method\": \"GET\"\n * }\n * }\n * ]\n * }\n * ]\n */\n steps?: ({\n /**\n * @description Unique identifier tied to the step\n * @enum {string}\n */\n id: \"deposit\" | \"approve\" | \"authorize\" | \"authorize1\" | \"authorize2\" | \"swap\" | \"send\";\n /** @description A call to action for the step */\n action: string;\n /** @description A short description of the step and what it entails */\n description: string;\n /** @description The kind of step, can either be a transaction or a signature. Transaction steps require submitting a transaction while signature steps require submitting a signature */\n kind: string;\n /** @description A unique identifier for this step, tying all related transactions together */\n requestId?: string;\n /** @description The deposit address for the bridge request */\n depositAddress?: string;\n /** @description While uncommon it is possible for steps to contain multiple items of the same kind (transaction/signature) grouped together that can be executed simultaneously. */\n items: {\n /** @description Can either be complete or incomplete, this can be locally controlled once the step item is completed (depending on the kind) and the check object (if returned) has been verified. Once all step items are complete, the bridge is complete */\n status?: string;\n data?: unknown;\n /** @description Details an endpoint and a method you should poll to get confirmation, the endpoint should return a boolean success flag which can be used to determine if the step item is complete */\n check?: {\n /** @description The endpoint to confirm that the step item was successfully completed */\n endpoint?: string;\n /** @description The REST method to access the endpoint */\n method?: string;\n };\n }[];\n })[];\n fees?: {\n /**\n * @description Origin chain gas fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n gas?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Combination of the relayerGas and relayerService to give you the full relayer fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayer?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Destination chain gas fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayerGas?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Fees paid to the relay solver, note that this value can be negative (which represents network rewards for moving in a direction that optimizes liquidity distribution)\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayerService?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n app?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The amount of fees for the request that are subsidized by the request sponsor. Does not include deposit origin gas unless it is a permit based deposit.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n subsidized?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Granular fee sponsorship details derived from the solver's internal sponsorship resolution. */\n feeSponsorship?: {\n /** @description The quote-time sponsorship expectation for the request. */\n quoted?: {\n /** @description The normalized sponsorship buckets selected for this request. */\n selectedComponents: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The requested sponsorship cap in USD micro-units, when one was configured for the request. */\n maxSubsidizationAmount?: string;\n /** @description Whether the configured sponsorship cap limited the selected fee buckets for this phase. */\n capHit: boolean;\n /** @description Per-bucket sponsorship details for the sponsorable fee components. */\n components: {\n /** @description Execution fee sponsorship details. */\n execution: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Swap fee sponsorship details. */\n swap: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Relay protocol fee sponsorship details. */\n relay: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description App fee sponsorship details. */\n app: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Solana ATA rent sponsorship details. */\n rent: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n };\n /**\n * @description The total amount sponsored for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsoredTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The total amount the user paid across the sponsorable fee buckets for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPaysTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description The post-solve sponsorship outcome recorded for the request. */\n actual?: {\n /** @description The normalized sponsorship buckets selected for this request. */\n selectedComponents: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The requested sponsorship cap in USD micro-units, when one was configured for the request. */\n maxSubsidizationAmount?: string;\n /** @description Whether the configured sponsorship cap limited the selected fee buckets for this phase. */\n capHit: boolean;\n /** @description Per-bucket sponsorship details for the sponsorable fee components. */\n components: {\n /** @description Execution fee sponsorship details. */\n execution: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Swap fee sponsorship details. */\n swap: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Relay protocol fee sponsorship details. */\n relay: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description App fee sponsorship details. */\n app: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Solana ATA rent sponsorship details. */\n rent: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n };\n /**\n * @description The total amount sponsored for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsoredTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The total amount the user paid across the sponsorable fee buckets for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPaysTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description How much the sponsor ultimately paid, denominated in the sponsor payment currency. */\n sponsorPayment?: {\n /** @description The sponsor payment amount. */\n amount: string;\n /** @description The sponsor payment currency address. */\n address: string;\n /** @description The sponsor payment chain id. */\n chainId: number;\n };\n };\n };\n /** @description A summary of the swap and what the user should expect to happen given an input */\n details?: {\n /** @description The operation that will be performed, possible options are send, swap, wrap, unwrap, bridge */\n operation?: string;\n /** @description The address that deposited the funds */\n sender?: string;\n /** @description The address that will be receiving the swap output */\n recipient?: string;\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyIn?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyOut?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n refundCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyGasTopup?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The difference between the input and output values, including fees */\n totalImpact?: {\n usd?: string;\n percent?: string;\n };\n /** @description The impact of the swap, not factoring in fees */\n swapImpact?: {\n usd?: string;\n percent?: string;\n };\n expandedPriceImpact?: {\n /** @description Cost to execute swap or bridge depending on available liquidity. This value can be negative (representing network rewards for improving liquidity distribution) */\n swap?: {\n usd?: string;\n };\n /** @description Fees paid to cover transaction execution costs */\n execution?: {\n usd?: string;\n };\n /** @description Fees paid to the protocol */\n relay?: {\n usd?: string;\n };\n /** @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app */\n app?: {\n usd?: string;\n };\n /** @description Fees paid by a sponsor for this request */\n sponsored?: {\n usd?: string;\n };\n };\n /** @description The swap rate which is equal to 1 input unit in the output unit, e.g. 1 USDC -> x ETH. This value can fluctuate based on gas and fees. */\n rate?: string;\n slippageTolerance?: {\n /** @description The total slippage tolerance applied to the order, in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage. The origin and destination breakdowns are alternative allocations of this budget and are not additive. */\n total?: string;\n /** @description The slippage tolerance on the origin chain swap */\n origin?: {\n usd?: string;\n value?: string;\n percent?: string;\n };\n /** @description The slippage tolerance on the destination chain swap */\n destination?: {\n usd?: string;\n value?: string;\n percent?: string;\n };\n };\n /** @description Estimated swap time in seconds */\n timeEstimate?: number;\n /** @description The user's balance in the given currency on the origin chain */\n userBalance?: string;\n /** @description The type of fallback route the request uses, if any */\n fallbackType?: string;\n /** @description Whether the rate for the quote is fixed or dynamic (swap on origin/destination) */\n isFixedRate?: boolean;\n /** @description The USD cost of the fixed rate vs market rate. Positive means the fixed rate is worse than market (user pays premium), negative means better (user benefits). Only present for fixed rate quotes. */\n fixedRateFee?: {\n usd?: string;\n };\n route?: {\n /** @description The route taken for the origin chain swap */\n origin?: {\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n router?: string;\n includedSwapSources?: string[];\n };\n /** @description The route taken for the origin chain swap */\n destination?: {\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n router?: string;\n includedSwapSources?: string[];\n };\n };\n };\n /** @description Protocol information for the quote */\n protocol?: {\n v2?: {\n /** @description The underlying protocol order id */\n orderId?: string;\n /**\n * @description The protocol hub type. Always 'onchain' for the public protocol contract. Mirrors the requests/v3 protocol block.\n * @enum {string}\n */\n hubType?: \"onchain\";\n /** @description The underlying protocol order data */\n orderData?: unknown;\n /** @description Solver's ECDSA signature over the orderId, returned when includeProtocolData is set. Use ecrecover to verify the commitment on-chain. */\n orderSignature?: string;\n /** @description The details for the depository payment */\n paymentDetails?: {\n /** @description The protocol chain id for the payment */\n chainId?: string;\n /** @description The depository address */\n depository?: string;\n /** @description The currency of the payment */\n currency?: string;\n /** @description The amount of the payment */\n amount?: string;\n };\n };\n };\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n errorData?: string;\n requestId?: string;\n approxSimulatedBlock?: number;\n failedCallData?: {\n from?: string;\n to?: string;\n data?: string;\n value?: string;\n };\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 429: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n requestId?: string;\n };\n };\n };\n };\n };\n };\n \"/quote/v2\": {\n post: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n /**\n * @description Address that is depositing funds on the origin chain and submitting transactions or signatures\n * @default 0x03508bb71268bba25ecacc8f620e01866650532c\n */\n user: string;\n /** @description Address that is receiving the funds on the destination chain, if not specified then this will default to the user address */\n recipient?: string;\n /** @default 8453 */\n originChainId: number;\n /** @default 10 */\n destinationChainId: number;\n /** @default 0x0000000000000000000000000000000000000000 */\n originCurrency: string;\n /** @default 0x0000000000000000000000000000000000000000 */\n destinationCurrency: string;\n /**\n * @description Amount to swap as the base amount (can be switched to exact input/output using the dedicated flag), denoted in the smallest unit of the specified currency (e.g., wei for ETH)\n * @default 1000000000000000000\n */\n amount: string;\n /**\n * @description Whether to use the amount as the output or the input for the basis of the swap\n * @default EXACT_INPUT\n * @enum {string}\n */\n tradeType: \"EXACT_INPUT\" | \"EXACT_OUTPUT\" | \"EXPECTED_OUTPUT\";\n txs?: {\n to?: string;\n value?: string;\n data?: string;\n originalTxValue?: string;\n }[];\n /** @description Total gas limit for the destination chain call transactions */\n txsGasLimit?: number;\n /** @description Authorization list for EIP-7702 transactions to be executed on destination chain */\n authorizationList?: {\n chainId: number;\n address: string;\n nonce: number;\n yParity: number;\n r: string;\n s: string;\n }[];\n /** @description Additional data needed for specific routes */\n additionalData?: {\n /** @description If the request originates from Bitcoin and the user is a P2SH address, the public key is needed to be able to generate the transaction data */\n userPublicKey?: string;\n };\n referrer?: string;\n referrerAddress?: string;\n /** @description Address to send the refund to in the case of failure, if not specified then the recipient address or user address is used */\n refundTo?: string;\n /** @description Origin-chain address used for deposit-address fund recovery. Requires useDepositAddress=true. */\n recoveryAddress?: string;\n /**\n * @deprecated\n * @description Always refund on the origin chain in case of any issues\n */\n refundOnOrigin?: boolean;\n /** @description If set, the destination fill will include a gas topup to the recipient (only supported for EVM chains if the requested currency is not the gas currency on the destination chain) */\n topupGas?: boolean;\n /** @description The destination gas topup amount in USD decimal format, e.g 100000 = $1. topupGas is required to be enabled. Defaults to 2000000 ($2) */\n topupGasAmount?: string;\n /**\n * @description Enabling will send any swap surplus when doing exact output operations to the solver EOA, otherwise it will be swept to the recipient\n * @default false\n */\n enableTrueExactOutput?: boolean;\n /**\n * @description Enable this to avoid direct transfers to the depository (only relevant for EVM and v2 protocol flow)\n * @default true\n */\n explicitDeposit?: boolean;\n /** @description Enable this to use canonical+ bridging, trading speed for more liquidity */\n useExternalLiquidity?: boolean;\n /** @description Enable this for specific fallback routes */\n useFallbacks?: boolean;\n /** @description Enable this to use permit (eip3009) when bridging, only works on supported currency such as usdc */\n usePermit?: boolean;\n /** @description How long the permit remains valid, in seconds. Defaults to 10 minutes. */\n permitExpiry?: number;\n /** @description Return protocol data for on-chain intent validation. This includes protocol.v2.orderSignature and may increase quote latency. */\n includeProtocolData?: boolean;\n /** @description Enable this to use a deposit address when bridging, in scenarios where calldata cannot be sent alongside the transaction. only works on native currency bridges. For new requests, EXACT_OUTPUT is only supported when strict is also enabled. */\n useDepositAddress?: boolean;\n /** @description When used with useDepositAddress, enables a strict deposit address that is tied to a specific order. Underpayments fail and refund, exact payments fill, and overpayments fill the quoted amount while refunding the excess in a separate refund leg. EXACT_OUTPUT deposit-address requests are only supported in strict mode. Open-ended deposit addresses remain the flexible path for variable deposited amounts. Requires a refundTo address. */\n strict?: boolean;\n /** @description Slippage tolerance for the swap, if not specified then the slippage tolerance is automatically calculated to avoid front-running. This value is in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage. Must be 0–10000 bps. */\n slippageTolerance?: string;\n /** @description Slippage tolerance for destination gas in the event that the deposit occurs after the order deadline, and more gas is required for the solver to execute the destination transaction. Must be 0–10000 bps. */\n latePaymentSlippageTolerance?: string;\n appFees?: {\n /** @description Address that will receive the app fee */\n recipient?: string;\n /** @description App fees to be charged for execution in basis points, e.g. 100 = 1% */\n fee?: string;\n }[];\n /** @description If the request involves specifying transactions to be executed during the deposit transaction, an explicit gas limit must be set when requesting the quote */\n gasLimitForDepositSpecifiedTxs?: number;\n /** @description Force executing swap requests via the solver (by default, same-chain swap requests are self-executed) */\n forceSolverExecution?: boolean;\n /** @description If the sponsor should pay for the fees associated with the request. Includes gas topup amounts. */\n subsidizeFees?: boolean;\n /** @description The fee components to sponsor for swap execution kinds. Requires subsidizeFees=true. Defaults to execution, swap, relay, and app when omitted; rent remains user-paid unless explicitly selected. */\n sponsoredFeeComponents?: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The max subsidization amount in USDC decimal format, e.g 1000000 = $1. subsidizeFees must be enabled. The sponsor will cover fees up to this cap and the user pays any remainder. */\n maxSubsidizationAmount?: string;\n /**\n * @deprecated\n * @description Deprecated compatibility alias that adds \"rent\" to sponsoredFeeComponents.\n */\n subsidizeRent?: boolean;\n /** @description Swap sources to include for swap routing. */\n includedSwapSources?: string[];\n /** @description Swap sources to exclude for swap routing. */\n excludedSwapSources?: string[];\n /** @description Swap sources to include for swap routing on origin. */\n includedOriginSwapSources?: string[];\n /** @description Swap sources to include for swap routing on destination. */\n includedDestinationSwapSources?: string[];\n /** @description The gas overhead for the origin chain, this is used to calculate the gas fee for the origin chain when the solver is executing a gasless transaction on the origin chain */\n originGasOverhead?: number;\n /** @description The payer to be set for deposit transactions on solana. This account must have enough for fees and rent. */\n depositFeePayer?: string;\n /** @description Maximum number of hops to use in solana swap routing. Can reduce transaction size. */\n maxRouteLength?: number;\n /** @description Prevents certain ATA creation instructions in solana routing */\n useSharedAccounts?: boolean;\n /** @description Whether to include compute unit limit instruction for solana origin requests. */\n includeComputeUnitLimit?: boolean;\n /** @description Whether to ignore price impact errors. */\n overridePriceImpact?: boolean;\n /** @description Whether to disable preferred swap provider selection. */\n disableSwapProviderPreference?: boolean;\n /** @description Whether to disable origin swaps. */\n disableOriginSwaps?: boolean;\n /** @description The rate to charge for fixed spread quotes. */\n fixedRate?: string;\n /** @description Time-to-live for the quote, in seconds, measured from when the quote was generated. If the request is not filled within this window it is refunded instead of filled. */\n ttl?: number;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /**\n * @description An array of steps detailing what needs to be done to bridge, steps includes multiple items of the same kind (signature, transaction, etc)\n * @example [\n * {\n * \"id\": \"deposit\",\n * \"action\": \"Confirm transaction in your wallet\",\n * \"description\": \"Depositing funds to the relayer to execute the swap for USDC\",\n * \"kind\": \"transaction\",\n * \"requestId\": \"0x92b99e6e1ee1deeb9531b5ad7f87091b3d71254b3176de9e8b5f6c6d0bd3a331\",\n * \"items\": [\n * {\n * \"status\": \"incomplete\",\n * \"data\": {\n * \"from\": \"0x0CccD55A5Ac261Ea29136831eeaA93bfE07f5Db6\",\n * \"to\": \"0xf70da97812cb96acdf810712aa562db8dfa3dbef\",\n * \"data\": \"0x00fad611\",\n * \"value\": \"1000000000000000000\",\n * \"maxFeePerGas\": \"12205661344\",\n * \"maxPriorityFeePerGas\": \"2037863396\",\n * \"chainId\": 1\n * },\n * \"check\": {\n * \"endpoint\": \"/intents/status?requestId=0x92b99e6e1ee1deeb9531b5ad7f87091b3d71254b3176de9e8b5f6c6d0bd3a331\",\n * \"method\": \"GET\"\n * }\n * }\n * ]\n * }\n * ]\n */\n steps?: ({\n /**\n * @description Unique identifier tied to the step\n * @enum {string}\n */\n id: \"deposit\" | \"approve\" | \"authorize\" | \"authorize1\" | \"authorize2\" | \"swap\" | \"send\";\n /** @description A call to action for the step */\n action: string;\n /** @description A short description of the step and what it entails */\n description: string;\n /** @description The kind of step, can either be a transaction or a signature. Transaction steps require submitting a transaction while signature steps require submitting a signature */\n kind: string;\n /** @description A unique identifier for this step, tying all related transactions together */\n requestId?: string;\n /** @description The deposit address for the bridge request */\n depositAddress?: string;\n /** @description While uncommon it is possible for steps to contain multiple items of the same kind (transaction/signature) grouped together that can be executed simultaneously. */\n items: {\n /** @description Can either be complete or incomplete, this can be locally controlled once the step item is completed (depending on the kind) and the check object (if returned) has been verified. Once all step items are complete, the bridge is complete */\n status?: string;\n data?: unknown;\n /** @description Details an endpoint and a method you should poll to get confirmation, the endpoint should return a boolean success flag which can be used to determine if the step item is complete */\n check?: {\n /** @description The endpoint to confirm that the step item was successfully completed */\n endpoint?: string;\n /** @description The REST method to access the endpoint */\n method?: string;\n };\n }[];\n })[];\n fees?: {\n /**\n * @description Origin chain gas fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n gas?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Combination of the relayerGas and relayerService to give you the full relayer fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayer?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Destination chain gas fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayerGas?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Fees paid to the relay solver, note that this value can be negative (which represents network rewards for moving in a direction that optimizes liquidity distribution)\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayerService?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n app?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The amount of fees for the request that are subsidized by the request sponsor. Does not include deposit origin gas unless it is a permit based deposit.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n subsidized?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Granular fee sponsorship details derived from the solver's internal sponsorship resolution. */\n feeSponsorship?: {\n /** @description The quote-time sponsorship expectation for the request. */\n quoted?: {\n /** @description The normalized sponsorship buckets selected for this request. */\n selectedComponents: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The requested sponsorship cap in USD micro-units, when one was configured for the request. */\n maxSubsidizationAmount?: string;\n /** @description Whether the configured sponsorship cap limited the selected fee buckets for this phase. */\n capHit: boolean;\n /** @description Per-bucket sponsorship details for the sponsorable fee components. */\n components: {\n /** @description Execution fee sponsorship details. */\n execution: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Swap fee sponsorship details. */\n swap: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Relay protocol fee sponsorship details. */\n relay: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description App fee sponsorship details. */\n app: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Solana ATA rent sponsorship details. */\n rent: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n };\n /**\n * @description The total amount sponsored for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsoredTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The total amount the user paid across the sponsorable fee buckets for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPaysTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description The post-solve sponsorship outcome recorded for the request. */\n actual?: {\n /** @description The normalized sponsorship buckets selected for this request. */\n selectedComponents: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The requested sponsorship cap in USD micro-units, when one was configured for the request. */\n maxSubsidizationAmount?: string;\n /** @description Whether the configured sponsorship cap limited the selected fee buckets for this phase. */\n capHit: boolean;\n /** @description Per-bucket sponsorship details for the sponsorable fee components. */\n components: {\n /** @description Execution fee sponsorship details. */\n execution: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Swap fee sponsorship details. */\n swap: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Relay protocol fee sponsorship details. */\n relay: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description App fee sponsorship details. */\n app: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Solana ATA rent sponsorship details. */\n rent: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n };\n /**\n * @description The total amount sponsored for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsoredTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The total amount the user paid across the sponsorable fee buckets for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPaysTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description How much the sponsor ultimately paid, denominated in the sponsor payment currency. */\n sponsorPayment?: {\n /** @description The sponsor payment amount. */\n amount: string;\n /** @description The sponsor payment currency address. */\n address: string;\n /** @description The sponsor payment chain id. */\n chainId: number;\n };\n };\n };\n /** @description A summary of the swap and what the user should expect to happen given an input */\n details?: {\n /** @description The operation that will be performed, possible options are send, swap, wrap, unwrap, bridge */\n operation?: string;\n /** @description The address that deposited the funds */\n sender?: string;\n /** @description The address that will be receiving the swap output */\n recipient?: string;\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyIn?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyOut?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n refundCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyGasTopup?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The difference between the input and output values, including fees */\n totalImpact?: {\n usd?: string;\n percent?: string;\n };\n /** @description The impact of the swap, not factoring in fees */\n swapImpact?: {\n usd?: string;\n percent?: string;\n };\n expandedPriceImpact?: {\n /** @description Cost to execute swap or bridge depending on available liquidity. This value can be negative (representing network rewards for improving liquidity distribution) */\n swap?: {\n usd?: string;\n };\n /** @description Fees paid to cover transaction execution costs */\n execution?: {\n usd?: string;\n };\n /** @description Fees paid to the protocol */\n relay?: {\n usd?: string;\n };\n /** @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app */\n app?: {\n usd?: string;\n };\n /** @description Fees paid by a sponsor for this request */\n sponsored?: {\n usd?: string;\n };\n };\n /** @description The swap rate which is equal to 1 input unit in the output unit, e.g. 1 USDC -> x ETH. This value can fluctuate based on gas and fees. */\n rate?: string;\n slippageTolerance?: {\n /** @description The total slippage tolerance applied to the order, in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage. The origin and destination breakdowns are alternative allocations of this budget and are not additive. */\n total?: string;\n /** @description The slippage tolerance on the origin chain swap */\n origin?: {\n usd?: string;\n value?: string;\n percent?: string;\n };\n /** @description The slippage tolerance on the destination chain swap */\n destination?: {\n usd?: string;\n value?: string;\n percent?: string;\n };\n };\n /** @description Estimated swap time in seconds */\n timeEstimate?: number;\n /** @description The user's balance in the given currency on the origin chain */\n userBalance?: string;\n /** @description The type of fallback route the request uses, if any */\n fallbackType?: string;\n /** @description Whether the rate for the quote is fixed or dynamic (swap on origin/destination) */\n isFixedRate?: boolean;\n /** @description The USD cost of the fixed rate vs market rate. Positive means the fixed rate is worse than market (user pays premium), negative means better (user benefits). Only present for fixed rate quotes. */\n fixedRateFee?: {\n usd?: string;\n };\n route?: {\n /** @description The route taken for the origin chain swap */\n origin?: {\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n router?: string;\n includedSwapSources?: string[];\n };\n /** @description The route taken for the origin chain swap */\n destination?: {\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n router?: string;\n includedSwapSources?: string[];\n };\n };\n };\n /** @description Protocol information for the quote */\n protocol?: {\n v2?: {\n /** @description The underlying protocol order id */\n orderId?: string;\n /**\n * @description The protocol hub type. Always 'onchain' for the public protocol contract. Mirrors the requests/v3 protocol block.\n * @enum {string}\n */\n hubType?: \"onchain\";\n /** @description The underlying protocol order data */\n orderData?: unknown;\n /** @description Solver's ECDSA signature over the orderId, returned when includeProtocolData is set. Use ecrecover to verify the commitment on-chain. */\n orderSignature?: string;\n /** @description The details for the depository payment */\n paymentDetails?: {\n /** @description The protocol chain id for the payment */\n chainId?: string;\n /** @description The depository address */\n depository?: string;\n /** @description The currency of the payment */\n currency?: string;\n /** @description The amount of the payment */\n amount?: string;\n };\n };\n };\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n errorData?: string;\n requestId?: string;\n approxSimulatedBlock?: number;\n failedCallData?: {\n from?: string;\n to?: string;\n data?: string;\n value?: string;\n };\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 429: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n requestId?: string;\n };\n };\n };\n };\n };\n };\n \"/price\": {\n post: {\n requestBody: {\n content: {\n \"application/json\": {\n /** @description Address that is depositing funds on the origin chain and submitting transactions or signatures */\n user: string;\n /** @description Address that is receiving the funds on the destination chain, if not specified then this will default to the user address */\n recipient?: string;\n originChainId: number;\n destinationChainId: number;\n originCurrency: string;\n destinationCurrency: string;\n /** @description Amount to swap as the base amount (can be switched to exact input/output using the dedicated flag), denoted in the smallest unit of the specified currency (e.g., wei for ETH) */\n amount: string;\n /**\n * @description Whether to use the amount as the output or the input for the basis of the swap\n * @enum {string}\n */\n tradeType: \"EXACT_INPUT\" | \"EXACT_OUTPUT\" | \"EXPECTED_OUTPUT\";\n txs?: {\n to?: string;\n value?: string;\n data?: string;\n }[];\n referrer?: string;\n /** @description Address to send the refund to in the case of failure, if not specified then the recipient address or user address is used */\n refundTo?: string;\n /**\n * @deprecated\n * @description Always refund on the origin chain in case of any issues\n */\n refundOnOrigin?: boolean;\n /** @description Enable this to use canonical+ bridging, trading speed for more liquidity */\n useExternalLiquidity?: boolean;\n /** @description Enable this for specific fallback routes */\n useFallbacks?: boolean;\n /** @description Enable this to use permit (eip3009) when bridging, only works on supported currency such as usdc */\n usePermit?: boolean;\n /** @description Enable this to use a deposit address when bridging, in scenarios where calldata cannot be sent alongside the transaction. only works on native currency bridges. */\n useDepositAddress?: boolean;\n /** @description Slippage tolerance for the swap, if not specified then the slippage tolerance is automatically calculated to avoid front-running. This value is in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage. Must be 0–10000 bps. */\n slippageTolerance?: string;\n appFees?: {\n /** @description Address that will receive the app fee */\n recipient?: string;\n /** @description App fees to be charged for execution in basis points, e.g. 100 = 1% */\n fee?: string;\n }[];\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n fees?: {\n /**\n * @description Origin chain gas fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n gas?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Combination of the relayerGas and relayerService to give you the full relayer fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayer?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Destination chain gas fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayerGas?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Fees paid to the relay solver, note that this value can be negative (which represents network rewards for moving in a direction that optimizes liquidity distribution)\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayerService?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n app?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The amount of fees for the request that are subsidized by the request sponsor. Does not include deposit origin gas unless it is a permit based deposit.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n subsidized?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description A summary of the swap and what the user should expect to happen given an input */\n details?: {\n /** @description The operation that will be performed, possible options are send, swap, wrap, unwrap, bridge */\n operation?: string;\n /** @description The address that deposited the funds */\n sender?: string;\n /** @description The address that will be receiving the swap output */\n recipient?: string;\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyIn?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyOut?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The difference between the input and output values, including fees */\n totalImpact?: {\n usd?: string;\n percent?: string;\n };\n /** @description The impact of the swap, not factoring in fees */\n swapImpact?: {\n usd?: string;\n percent?: string;\n };\n /** @description The swap rate which is equal to 1 input unit in the output unit, e.g. 1 USDC -> x ETH. This value can fluctuate based on gas and fees. */\n rate?: string;\n slippageTolerance?: {\n /** @description The total slippage tolerance applied to the order, in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage. The origin and destination breakdowns are alternative allocations of this budget and are not additive. */\n total?: string;\n /** @description The slippage tolerance on the origin chain swap */\n origin?: {\n usd?: string;\n value?: string;\n percent?: string;\n };\n /** @description The slippage tolerance on the destination chain swap */\n destination?: {\n usd?: string;\n value?: string;\n percent?: string;\n };\n };\n /** @description Estimated swap time in seconds */\n timeEstimate?: number;\n /** @description The user's balance in the given currency on the origin chain */\n userBalance?: string;\n };\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n errorData?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n };\n };\n };\n \"/execute/swap\": {\n post: {\n requestBody: {\n content: {\n \"application/json\": {\n /** @description Address that is depositing funds on the origin chain and submitting transactions or signatures */\n user: string;\n /** @description Address that is receiving the funds on the destination chain, if not specified then this will default to the user address */\n recipient?: string;\n originChainId: number;\n destinationChainId: number;\n originCurrency: string;\n destinationCurrency: string;\n /** @description Amount to swap as the base amount (can be switched to exact input/output using the dedicated flag), denoted in the smallest unit of the specified currency (e.g., wei for ETH) */\n amount: string;\n /**\n * @description Whether to use the amount as the output or the input for the basis of the swap\n * @enum {string}\n */\n tradeType: \"EXACT_INPUT\" | \"EXACT_OUTPUT\" | \"EXPECTED_OUTPUT\";\n txs?: {\n to?: string;\n value?: string;\n data?: string;\n }[];\n source?: string;\n /** @description Address to send the refund to in the case of failure, if not specified then the recipient address or user address is used */\n refundTo?: string;\n /**\n * @deprecated\n * @description Always refund on the origin chain in case of any issues\n */\n refundOnOrigin?: boolean;\n /** @description Enable this to use canonical+ bridging, trading speed for more liquidity */\n useExternalLiquidity?: boolean;\n /** @description Enable this for specific fallback routes */\n useFallbacks?: boolean;\n /** @description Enable this to use permit (eip3009) when bridging, only works on supported currency such as usdc */\n usePermit?: boolean;\n /** @description Slippage tolerance for the swap, if not specified then the slippage tolerance is automatically calculated to avoid front-running. This value is in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage */\n slippageTolerance?: string;\n appFees?: {\n /** @description Address that will receive the app fee */\n recipient?: string;\n /** @description App fees to be charged for execution in basis points, e.g. 100 = 1% */\n fee?: string;\n }[];\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /**\n * @description An array of steps detailing what needs to be done to bridge, steps includes multiple items of the same kind (signature, transaction, etc)\n * @example [\n * {\n * \"id\": \"deposit\",\n * \"action\": \"Confirm transaction in your wallet\",\n * \"description\": \"Depositing funds to the relayer to execute the swap for USDC\",\n * \"kind\": \"transaction\",\n * \"requestId\": \"0x92b99e6e1ee1deeb9531b5ad7f87091b3d71254b3176de9e8b5f6c6d0bd3a331\",\n * \"items\": [\n * {\n * \"status\": \"incomplete\",\n * \"data\": {\n * \"from\": \"0x0CccD55A5Ac261Ea29136831eeaA93bfE07f5Db6\",\n * \"to\": \"0xf70da97812cb96acdf810712aa562db8dfa3dbef\",\n * \"data\": \"0x00fad611\",\n * \"value\": \"1000000000000000000\",\n * \"maxFeePerGas\": \"12205661344\",\n * \"maxPriorityFeePerGas\": \"2037863396\",\n * \"chainId\": 1\n * },\n * \"check\": {\n * \"endpoint\": \"/intents/status?requestId=0x92b99e6e1ee1deeb9531b5ad7f87091b3d71254b3176de9e8b5f6c6d0bd3a331\",\n * \"method\": \"GET\"\n * }\n * }\n * ]\n * }\n * ]\n */\n steps?: {\n /** @description Unique identifier tied to the step */\n id?: string;\n /** @description A call to action for the step */\n action?: string;\n /** @description A short description of the step and what it entails */\n description?: string;\n /** @description The kind of step, can either be a transaction or a signature. Transaction steps require submitting a transaction while signature steps require submitting a signature */\n kind?: string;\n /** @description A unique identifier for this step, tying all related transactions together */\n requestId?: string;\n /** @description While uncommon it is possible for steps to contain multiple items of the same kind (transaction/signature) grouped together that can be executed simultaneously. */\n items?: {\n /** @description Can either be complete or incomplete, this can be locally controlled once the step item is completed (depending on the kind) and the check object (if returned) has been verified. Once all step items are complete, the bridge is complete */\n status?: string;\n data?: unknown;\n /** @description Details an endpoint and a method you should poll to get confirmation, the endpoint should return a boolean success flag which can be used to determine if the step item is complete */\n check?: {\n /** @description The endpoint to confirm that the step item was successfully completed */\n endpoint?: string;\n /** @description The REST method to access the endpoint */\n method?: string;\n };\n }[];\n }[];\n fees?: {\n /**\n * @description Origin chain gas fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n gas?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Combination of the relayerGas and relayerService to give you the full relayer fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayer?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Destination chain gas fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayerGas?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Fees paid to the relay solver, note that this value can be negative (which represents network rewards for moving in a direction that optimizes liquidity distribution)\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayerService?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n app?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The amount of fees for the request that are subsidized by the request sponsor. Does not include deposit origin gas unless it is a permit based deposit.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n subsidized?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n breakdown?: {\n /** @description Amount that will be swapped in the estimated time */\n value?: string;\n /** @description Estimated swap time in seconds */\n timeEstimate?: number;\n }[];\n balances?: {\n /** @description The user's balance in the given currency on the origin chain */\n userBalance?: string;\n /** @description The minimum balance the user needs to have to swap */\n requiredToSolve?: string;\n };\n /** @description A summary of the swap and what the user should expect to happen given an input */\n details?: {\n /** @description The operation that will be performed, possible options are send, swap, wrap, unwrap, bridge */\n operation?: string;\n /** @description Estimated swap time in seconds */\n timeEstimate?: number;\n /** @description The user's balance in the given currency on the origin chain */\n userBalance?: string;\n /** @description The address that deposited the funds */\n sender?: string;\n /** @description The address that will be receiving the swap output */\n recipient?: string;\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyIn?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyOut?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The difference between the input and output values, including fees */\n totalImpact?: {\n usd?: string;\n percent?: string;\n };\n /** @description The impact of the swap, not factoring in fees */\n swapImpact?: {\n usd?: string;\n percent?: string;\n };\n /** @description The swap rate which is equal to 1 input unit in the output unit, e.g. 1 USDC -> x ETH. This value can fluctuate based on gas and fees. */\n rate?: string;\n slippageTolerance?: {\n /** @description The total slippage tolerance applied to the order, in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage. The origin and destination breakdowns are alternative allocations of this budget and are not additive. */\n total?: string;\n /** @description The slippage tolerance on the origin chain swap */\n origin?: {\n usd?: string;\n value?: string;\n percent?: string;\n };\n /** @description The slippage tolerance on the destination chain swap */\n destination?: {\n usd?: string;\n value?: string;\n percent?: string;\n };\n };\n };\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/execute\": {\n post: {\n parameters: {\n header: {\n /** @description Required API key for authentication. Contact the team for getting an API Key */\n \"x-api-key\": string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n /**\n * @description The kind of gasless transaction to execute. Currently supported: rawCalls\n * @enum {string}\n */\n executionKind: \"rawCalls\";\n /** @description Raw call parameters for the gasless transaction */\n data: {\n /** @description Chain ID of the EVM network */\n chainId: number;\n /** @description Address of the contract to call */\n to: string;\n /** @description Encoded function call data */\n data: string;\n /** @description ETH value to send with the call (in wei) */\n value: string;\n /** @description Authorization list for EIP-7702 transactions to be executed on destination chain */\n authorizationList?: {\n chainId: number;\n address: string;\n nonce: number;\n yParity: number;\n r: string;\n s: string;\n }[];\n };\n /** @description Options related to gas fee sponsorship, app referrer and destination calls */\n executionOptions: {\n /** @description The referrer of the app which is executing the gasless transaction */\n referrer: string;\n /** @description If the app should pay for the fees associated with the request */\n subsidizeFees: boolean;\n /** @description Destination execution data for the gasless transaction */\n destinationChainExecutionData?: {\n /** @description Calls to be executed on the destination chain */\n calls: {\n to?: string;\n value?: string;\n data?: string;\n }[];\n /** @description Authorization list for EIP-7702 transactions to be executed on destination chain */\n authorizationList?: {\n chainId: number;\n address: string;\n nonce: number;\n yParity: number;\n r: string;\n s: string;\n }[];\n };\n };\n /** @description The request ID of the gasless transaction to execute */\n requestId?: string;\n };\n };\n };\n responses: {\n /** @description Transaction successfully queued for execution */\n 200: {\n content: {\n \"application/json\": {\n /** @example Transaction submitted */\n message?: string;\n /** @example 0xabc123... */\n requestId?: string;\n };\n };\n };\n /** @description Bad Request - Invalid input or simulation failure */\n 400: {\n content: {\n \"application/json\": {\n /** @example to is required */\n error: string;\n } | {\n /** @example data is required */\n error: string;\n } | {\n /** @example value is required */\n error: string;\n } | {\n /** @example chainId is required */\n error: string;\n } | {\n /** @example authorizationList cannot be empty */\n error: string;\n } | ({\n /** @example DELEGATION_REDEEM_FAILED */\n error: string;\n /** @example Delegation redemption reverted without data. Verify the signed delegation is unredeemed and matches the current chain, mode, and account. */\n message: string;\n /** @example 0xabc123... */\n requestId: string;\n details?: {\n topLevel: {\n type: string;\n address?: string;\n contract?: string;\n function?: string;\n selector?: string;\n error?: string;\n revertReason?: string;\n gasUsed?: string;\n };\n innermost: {\n type: string;\n address?: string;\n contract?: string;\n function?: string;\n selector?: string;\n error?: string;\n revertReason?: string;\n gasUsed?: string;\n };\n path: {\n type: string;\n address?: string;\n contract?: string;\n function?: string;\n selector?: string;\n error?: string;\n revertReason?: string;\n gasUsed?: string;\n }[];\n revert: {\n /** @enum {string} */\n type: \"errorString\" | \"panic\" | \"customError\" | \"unknownCustomError\" | \"empty\";\n /** @example DELEGATION_REDEEM_FAILED */\n label: string;\n /** @example Delegation redemption reverted without data. Verify the signed delegation is unredeemed and matches the current chain, mode, and account. */\n message: string;\n /** @example 0x08c379a0 */\n selector?: string;\n /** @example Error */\n name?: string;\n args?: {\n [key: string]: string;\n };\n rawArgsHex?: string;\n };\n };\n });\n };\n };\n /** @description Unauthorized - Missing or invalid API key or referrer */\n 401: {\n content: {\n \"application/json\": {\n /** @example Unauthorized */\n error?: string;\n };\n };\n };\n /** @description Internal Server Error */\n 500: {\n content: {\n \"application/json\": {\n /** @example Internal server error */\n error?: string;\n };\n };\n };\n };\n };\n };\n \"/fast-fill\": {\n post: {\n parameters: {\n header: {\n /** @description Required API key for authentication. Contact the team for getting an API Key */\n \"x-api-key\": string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n /** @description The request ID of the request that needs to be fast filled */\n requestId: string;\n /** @description The input currency amount that the solver receives on origin */\n solverInputCurrencyAmount?: string;\n /** @description Optional per-request USD limit. If the computed fill value exceeds this amount, the request is rejected. Must be lower than or equal to the app's available USDC balance. */\n maxFillAmountUsd?: number;\n };\n };\n };\n responses: {\n /** @description Request was successful. It was either queued or found to be already executed. */\n 200: {\n content: {\n \"application/json\": {\n /** @example Request successfully queued for fast fill. */\n message?: string;\n };\n };\n };\n /** @description Bad Request - The request body contains invalid data. */\n 400: {\n content: {\n \"application/json\": {\n /** @example Currency is required and could not be determined. */\n message?: string;\n };\n };\n };\n /** @description Unauthorized - Missing or invalid API key. */\n 401: {\n content: {\n \"application/json\": {\n /** @example Unauthorized: Check API Key */\n message?: string;\n };\n };\n };\n /** @description Forbidden - No sponsoring wallet with app balance configured. */\n 403: {\n content: {\n \"application/json\": {\n /** @example Forbidden: Fast fill requires a sponsoring wallet with app balance. */\n message?: string;\n };\n };\n };\n /** @description The requested requestId could not be found. */\n 404: {\n content: {\n \"application/json\": {\n /** @example Request not found */\n message?: string;\n };\n };\n };\n /** @description Conflict - This request is already being processed. */\n 409: {\n content: {\n \"application/json\": {\n /** @example Conflict: This request is already being processed. */\n message?: string;\n };\n };\n };\n /** @description Internal Server Error. */\n 500: {\n content: {\n \"application/json\": {\n /** @example An internal server error occurred. */\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/lives\": {\n get: {\n parameters: {\n query?: {\n withReport?: string | null;\n skipPostgres?: string | null;\n skipRedis?: string | null;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n status?: string;\n report?: {\n version?: string;\n [key: string]: string | ({\n status?: string;\n reason?: string | null;\n }) | undefined;\n };\n };\n };\n };\n /** @description Default Response */\n 503: {\n content: {\n \"application/json\": {\n status?: string;\n report?: {\n version?: string;\n [key: string]: string | ({\n status?: string;\n reason?: string | null;\n }) | undefined;\n };\n };\n };\n };\n };\n };\n };\n \"/intents/status\": {\n get: {\n parameters: {\n query?: {\n /** @description A unique id representing the execution in the Relay system. You can obtain this id from the requests api or the check object within the step items. */\n requestId?: string;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /**\n * @description Note that fallback is returned in the case of a refund\n * @enum {string}\n */\n status?: \"failure\" | \"fallback\" | \"pending\" | \"received\" | \"success\";\n details?: string;\n /** @description Incoming transaction hashes */\n inTxHashes?: string[];\n /** @description Outgoing transaction hashes */\n txHashes?: string[];\n /** @description The last timestamp the data was updated */\n time?: number;\n originChainId?: number;\n destinationChainId?: number;\n };\n };\n };\n };\n };\n };\n \"/intents/status/v2\": {\n get: {\n parameters: {\n query?: {\n /** @description A unique id representing the execution in the Relay system. You can obtain this id from the requests api or the check object within the step items. */\n requestId?: string;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @enum {string} */\n status?: \"refund\" | \"waiting\" | \"depositing\" | \"failure\" | \"pending\" | \"success\";\n details?: string;\n /** @description Incoming transaction hashes */\n inTxHashes?: string[];\n /** @description Outgoing transaction hashes */\n txHashes?: string[];\n /** @description The last timestamp the data was updated */\n time?: number;\n originChainId?: number;\n destinationChainId?: number;\n /** @description The timestamp when the quote request was created */\n quoteCreatedAt?: number;\n };\n };\n };\n };\n };\n };\n \"/intents/status/v3\": {\n get: {\n parameters: {\n query?: {\n /** @description A unique id representing the execution in the Relay system. You can obtain this id from the requests api or the check object within the step items. */\n requestId?: string;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @enum {string} */\n status?: \"refund\" | \"waiting\" | \"depositing\" | \"failure\" | \"pending\" | \"submitted\" | \"success\";\n details?: string;\n /** @description Incoming transaction hashes */\n inTxHashes?: string[];\n /** @description Outgoing transaction hashes */\n txHashes?: string[];\n /** @description The last timestamp the data was updated */\n updatedAt?: number;\n originChainId?: number;\n destinationChainId?: number;\n /** @description The timestamp when the quote request was created */\n quoteCreatedAt?: number;\n };\n };\n };\n };\n };\n };\n \"/requests/{requestId}/signature\": {\n get: {\n parameters: {\n path: {\n requestId: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n requestData?: {\n originChainId?: number;\n originUser?: string;\n originCurrency?: string;\n originAmount?: string;\n originTransferDestination?: string;\n destinationChainId?: number;\n destinationUser?: string;\n };\n signature?: string;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n };\n };\n };\n };\n };\n };\n \"/requests/{requestId}/signature/v2\": {\n get: {\n parameters: {\n path: {\n requestId: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n requestData?: {\n originChainId?: number;\n originUser?: string;\n originCurrency?: string;\n destinationChainId?: number;\n destinationUser?: string;\n destinationCurrency?: string;\n };\n signature?: string;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n };\n };\n };\n };\n };\n };\n \"/requests\": {\n get: {\n parameters: {\n query?: {\n limit?: string;\n continuation?: string;\n user?: string;\n hash?: string;\n originChainId?: number;\n destinationChainId?: number;\n privateChainsToInclude?: string;\n id?: string;\n startTimestamp?: number;\n endTimestamp?: number;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /**\n * @example {\n * \"id\": \"0xddd6c1a0340e940b7be4f5a4be076df8b7ec7de7b18f9ec6efe4bfffd2f21cf6\",\n * \"status\": \"success\",\n * \"user\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"recipient\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"data\": {\n * \"fees\": {\n * \"gas\": \"2622672522398\",\n * \"fixed\": \"10000000000000\",\n * \"price\": \"39000000000000\"\n * },\n * \"feesUsd\": {\n * \"gas\": \"9057\",\n * \"fixed\": \"34534\",\n * \"price\": \"134684\"\n * },\n * \"inTxs\": [\n * {\n * \"fee\": \"423218878900\",\n * \"data\": {\n * \"to\": \"0xf70da97812cb96acdf810712aa562db8dfa3dbef\",\n * \"data\": \"0x5869d8\",\n * \"from\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"value\": \"2651622672522398\"\n * },\n * \"hash\": \"0xe53021eaa63d100b08338197d26953e2219bcbad828267dd936c549ff643aad7\",\n * \"type\": \"onchain\",\n * \"chainId\": 7777777,\n * \"timestamp\": 1713290377\n * }\n * ],\n * \"currency\": \"eth\",\n * \"price\": \"2600000000000000\",\n * \"usesExternalLiquidity\": false,\n * \"outTxs\": [\n * {\n * \"fee\": \"1837343366480\",\n * \"data\": {\n * \"to\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"data\": \"0x5869d8\",\n * \"from\": \"0xf70da97812cb96acdf810712aa562db8dfa3dbef\",\n * \"value\": \"2600000000000000\"\n * },\n * \"hash\": \"0x9da7bc54dfe6229d6980fd62250d472f23dfe0f41a1cdc870c81a08b3445f254\",\n * \"type\": \"onchain\",\n * \"chainId\": 8453,\n * \"timestamp\": 1713290383\n * }\n * ]\n * },\n * \"createdAt\": \"2024-04-16T17:59:39.702Z\",\n * \"updatedAt\": \"2024-04-16T17:59:46.145Z\"\n * }\n */\n requests?: ({\n id?: string;\n /**\n * @description Note that fallback is returned in the case of a refund\n * @enum {string}\n */\n status?: \"failure\" | \"fallback\" | \"depositing\" | \"pending\" | \"received\" | \"success\";\n user?: string;\n recipient?: string;\n data?: {\n fees?: {\n /** @description Estimated gas cost required for execution, in wei */\n gas?: string;\n /** @description The fixed fee which is always added to execution, in wei */\n fixed?: string;\n /** @description The dynamic fee which is a result of the chain and the amount, in wei */\n price?: string;\n };\n feesUsd?: {\n gas?: string;\n fixed?: string;\n price?: string;\n };\n inTxs?: {\n /** @description Total fees in wei */\n fee?: string;\n data?: unknown;\n stateChanges?: unknown;\n hash?: string;\n /** @description The type of transaction, always set to onchain */\n type?: string;\n chainId?: number;\n timestamp?: number;\n }[];\n currency?: string;\n feeCurrency?: string;\n appFees?: {\n recipient?: string;\n amount?: string;\n }[];\n metadata?: {\n sender?: string;\n recipient?: string;\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyIn?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyOut?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n rate?: string;\n };\n price?: string;\n usesExternalLiquidity?: boolean;\n timeEstimate?: number;\n outTxs?: {\n /** @description Total fees in wei */\n fee?: string;\n data?: unknown;\n stateChanges?: unknown;\n hash?: string;\n /** @description The type of transaction, always set to onchain */\n type?: string;\n chainId?: number;\n timestamp?: number;\n }[];\n };\n createdAt?: string;\n updatedAt?: string;\n })[];\n continuation?: string;\n };\n };\n };\n };\n };\n };\n \"/requests/v2\": {\n get: {\n parameters: {\n query?: {\n /** @description Maximum number of requests to return per page. */\n limit?: number;\n /** @description Pagination cursor returned by a previous response. Pass it back to fetch the next page. */\n continuation?: string;\n /** @description Filter requests where this address is the sender or recipient. */\n user?: string;\n /** @description Filter requests by an origin or destination transaction hash. */\n hash?: string;\n /** @description Filter requests where this is the origin chain. */\n originChainId?: number;\n /** @description Filter requests where this is the destination chain. */\n destinationChainId?: number;\n /** @description Comma-separated list of private chain UUIDs to include in the results. */\n privateChainsToInclude?: string;\n /** @description Filter by `requestId` — the Relay-level intent identifier returned by the quote api. Used for status polling, webhooks, and most other API endpoints. */\n id?: string;\n /** @description Filter by `orderId` — the protocol-level deposit identifier passed as `bytes32 id` to the Relay Depository when funds are deposited, and emitted in the deposit event. */\n orderId?: string;\n /** @description When true, include `orderData`; public pending requests omit its output subtree. */\n includeOrderData?: boolean;\n /** @description Filter requests created at or after this Unix timestamp (seconds). */\n startTimestamp?: number;\n /** @description Filter requests created at or before this Unix timestamp (seconds). */\n endTimestamp?: number;\n /** @description Filter requests by origin-chain block number (inclusive lower bound). */\n startBlock?: number;\n /** @description Filter requests by origin-chain block number (inclusive upper bound). */\n endBlock?: number;\n /** @description Get all requests for a single chain in either direction. Setting originChainId and/or destinationChainId will override this parameter. */\n chainId?: string;\n /** @description Filter requests by the `referrer` value supplied at quote time. */\n referrer?: string;\n /** @description Filter requests by deposit address. Returns all requests associated with this deposit address. */\n depositAddress?: string;\n /** @description When filtering by id or depositAddress, also return child transactions (e.g. duplicates, retries, refunds) linked to the original request. */\n includeChildRequests?: boolean;\n /** @description When true, include fields available only to the authenticating integrator for their own requests. */\n includeAuthenticatedData?: boolean;\n /** @description Filter requests by status. */\n status?: \"success\" | \"failure\" | \"refund\" | \"pending\" | \"depositing\";\n /** @description Filter requests by the API key that created them. */\n apiKey?: string;\n /** @description Field to sort by. */\n sortBy?: \"createdAt\" | \"updatedAt\";\n /** @description Sort direction. */\n sortDirection?: \"asc\" | \"desc\";\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /**\n * @example {\n * \"id\": \"0xddd6c1a0340e940b7be4f5a4be076df8b7ec7de7b18f9ec6efe4bfffd2f21cf6\",\n * \"status\": \"success\",\n * \"user\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"recipient\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"depositAddress\": {\n * \"address\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"depositAddressType\": \"open\",\n * \"depositor\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"depositTxHash\": \"0x34d78ccb41099f0546be1c35541b28ab4c92b498aeb4cae6e849c51c05fe1f1b\"\n * },\n * \"data\": {\n * \"subsidizedRequest\": false,\n * \"fees\": {\n * \"gas\": \"2622672522398\",\n * \"fixed\": \"10000000000000\",\n * \"price\": \"39000000000000\"\n * },\n * \"feesUsd\": {\n * \"gas\": \"9057\",\n * \"fixed\": \"34534\",\n * \"price\": \"134684\"\n * },\n * \"inTxs\": [\n * {\n * \"fee\": \"423218878900\",\n * \"data\": {\n * \"to\": \"0xf70da97812cb96acdf810712aa562db8dfa3dbef\",\n * \"data\": \"0x5869d8\",\n * \"from\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"value\": \"2651622672522398\"\n * },\n * \"hash\": \"0xe53021eaa63d100b08338197d26953e2219bcbad828267dd936c549ff643aad7\",\n * \"type\": \"onchain\",\n * \"chainId\": 7777777,\n * \"timestamp\": 1713290377\n * }\n * ],\n * \"currency\": \"eth\",\n * \"price\": \"2600000000000000\",\n * \"usesExternalLiquidity\": false,\n * \"outTxs\": [\n * {\n * \"fee\": \"1837343366480\",\n * \"data\": {\n * \"to\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"data\": \"0x5869d8\",\n * \"from\": \"0xf70da97812cb96acdf810712aa562db8dfa3dbef\",\n * \"value\": \"2600000000000000\"\n * },\n * \"hash\": \"0x9da7bc54dfe6229d6980fd62250d472f23dfe0f41a1cdc870c81a08b3445f254\",\n * \"type\": \"onchain\",\n * \"chainId\": 8453,\n * \"timestamp\": 1713290383\n * }\n * ]\n * },\n * \"moonpayId\": \"9dc342c3-538b-4731-aba7-13ed89acc7ae\",\n * \"createdAt\": \"2024-04-16T17:59:39.702Z\",\n * \"updatedAt\": \"2024-04-16T17:59:46.145Z\"\n * }\n */\n requests?: ({\n /** @description The `requestId` — the Relay-level intent identifier used across the API for status polling, webhooks, and most other endpoints. Distinct from `protocol.orderId`, which is the protocol-level deposit identifier extractable from on-chain data. */\n id?: string;\n /**\n * @description Note that fallback is returned in the case of a refund\n * @enum {string}\n */\n status?: \"refund\" | \"waiting\" | \"depositing\" | \"failure\" | \"pending\" | \"success\";\n /** @description The address that initiated the request. */\n user?: string;\n /** @description The address that receives the destination output. */\n recipient?: string;\n depositAddress?: ({\n address?: string;\n /** @enum {string} */\n depositAddressType?: \"strict\" | \"open\";\n depositor?: string | null;\n depositTxHash?: string | null;\n }) | null;\n data?: {\n /** @description Slippage tolerance for the swap. This value is in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage */\n slippageTolerance?: string;\n /** @enum {string} */\n failReason?: \"UNKNOWN\" | \"SLIPPAGE\" | \"AMOUNT_TOO_LOW_TO_REFUND\" | \"DEPOSIT_ADDRESS_MISMATCH\" | \"DEPOSIT_CHAIN_MISMATCH\" | \"INCORRECT_DEPOSIT_CURRENCY\" | \"DOUBLE_SPEND\" | \"SOLVER_CAPACITY_EXCEEDED\" | \"SOLVER_BALANCE_TOO_LOW\" | \"DEPOSITED_AMOUNT_TOO_LOW_TO_FILL\" | \"NEGATIVE_NEW_AMOUNT_AFTER_FEES\" | \"NO_QUOTES\" | \"MISSING_REVERT_DATA\" | \"REVERSE_SWAP_FAILED\" | \"GENERATE_SWAP_FAILED\" | \"TOO_LITTLE_RECEIVED\" | \"EXECUTION_REVERTED\" | \"NEW_CALLDATA_INCLUDES_HIGHER_RENT_FEE\" | \"TRANSACTION_REVERTED\" | \"TRANSACTION_TOO_LARGE\" | \"ORIGIN_CURRENCY_MISMATCH\" | \"NO_INTERNAL_SWAP_ROUTES_FOUND\" | \"SWAP_USES_TOO_MUCH_GAS\" | \"INSUFFICIENT_FUNDS_FOR_RENT\" | \"SPONSOR_BALANCE_TOO_LOW\" | \"ORDER_EXPIRED\" | \"ORDER_IS_CANCELLED\" | \"TRANSFER_FROM_FAILED\" | \"TRANSFER_FAILED\" | \"SIGNATURE_EXPIRED\" | \"INVALID_SIGNATURE\" | \"INSUFFICIENT_NATIVE_TOKENS_SUPPLIED\" | \"TRANSFER_AMOUNT_EXCEEDS_ALLOWANCE\" | \"TRANSFER_AMOUNT_EXCEEDS_BALANCE\" | \"INVALID_SENDER\" | \"ACCOUNT_ABSTRACTION_INVALID_NONCE\" | \"ACCOUNT_ABSTRACTION_SIGNATURE_ERROR\" | \"SEAPORT_INEXACT_FRACTION\" | \"TOKEN_NOT_TRANSFERABLE\" | \"ZERO_SELL_AMOUNT\" | \"MINT_NOT_ACTIVE\" | \"ERC_1155_TOO_MANY_REQUESTED\" | \"INCORRECT_PAYMENT\" | \"INVALID_GAS_PRICE\" | \"FLUID_DEX_ERROR\" | \"ORDER_ALREADY_FILLED\" | \"SEAPORT_INVALID_FULFILLER\" | \"INVALID_SIGNER\" | \"MINT_QUANTITY_EXCEEDS_MAX_PER_WALLET\" | \"MINT_QUANTITY_EXCEEDS_MAX_SUPPLY\" | \"JUPITER_INVALID_TOKEN_ACCOUNT\" | \"INVALID_NONCE\" | \"ACCOUNT_ABSTRACTION_GAS_LIMIT\" | \"CONTRACT_PAUSED\" | \"SWAP_IMPACT_TOO_HIGH\" | \"INSUFFICIENT_POOL_LIQUIDITY\" | \"TTL_EXPIRED\" | \"DEPOSIT_CONFIRMATION_TIMEOUT\" | \"ORPHANED_DEPOSIT_REFUND\" | \"GASLESS_PERMIT_BALANCE_TOO_LOW\" | \"MANUAL_ADMIN_REFUND\" | \"QUOTED_GAS_LIMIT_EXCEEDED\" | \"DESTINATION_TOKEN_TRANSFER_REJECTED\" | \"DEPOSIT_REORGED\" | \"BLOCKED_WALLET\" | \"PROTOCOL_DEADLINE_EXPIRED\" | \"TRANSACTION_NOT_INCLUDED\" | \"TRANSACTION_SUBMISSION_FAILED\" | \"N/A\";\n /** @enum {string} */\n refundFailReason?: \"AMOUNT_TOO_LOW_TO_REFUND\" | \"NEGATIVE_NEW_AMOUNT_AFTER_FEES\" | \"SWAP_CURRENCY_NOT_ON_ORIGIN\" | \"REFUND_RECIPIENT_IS_VASP\";\n /** @description Regenerated requestId that now owns the sweep/fill for a superseded deposit-address request. */\n supersededByRequestId?: string | null;\n failedTxHash?: string;\n failedTxBlockNumber?: number;\n failedCallData?: {\n from?: string;\n to?: string;\n data?: string;\n value?: string;\n };\n subsidizedRequest?: boolean;\n fees?: {\n /** @description Estimated gas cost required for execution, in wei */\n gas?: string;\n /** @description The fixed fee which is always added to execution, in wei */\n fixed?: string;\n /** @description The dynamic fee which is a result of the chain and the amount, in wei */\n price?: string;\n /** @description The fee taken by the API gateway, in wei */\n gateway?: string;\n };\n feesUsd?: {\n gas?: string;\n fixed?: string;\n price?: string;\n gateway?: string;\n };\n inTxs?: ({\n /** @description Total fees in wei */\n fee?: string;\n data?: unknown;\n stateChanges?: unknown;\n hash?: string;\n block?: number;\n /** @description The type of transaction, always set to onchain */\n type?: string;\n chainId?: number;\n timestamp?: number;\n /** @enum {string} */\n status?: \"success\" | \"failure\";\n })[];\n currency?: string;\n currencyObject?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n feeCurrency?: string;\n feeCurrencyObject?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n appFeeCurrencyObject?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n refundCurrencyData?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n appFees?: {\n recipient?: string;\n bps?: string;\n amount?: string;\n amountUsd?: string;\n amountUsdCurrent?: string;\n }[];\n subsidizedFee?: {\n origin?: {\n amount?: string;\n address?: string;\n chainId?: number;\n };\n sponsor?: {\n amount?: string;\n address?: string;\n chainId?: number;\n };\n amountUsd?: string;\n amountUsdCurrent?: string;\n };\n /** @description Granular fee sponsorship details derived from the solver's internal sponsorship resolution. */\n feeSponsorship?: {\n /** @description The quote-time sponsorship expectation for the request. */\n quoted?: {\n /** @description The normalized sponsorship buckets selected for this request. */\n selectedComponents: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The requested sponsorship cap in USD micro-units, when one was configured for the request. */\n maxSubsidizationAmount?: string;\n /** @description Whether the configured sponsorship cap limited the selected fee buckets for this phase. */\n capHit: boolean;\n /** @description Per-bucket sponsorship details for the sponsorable fee components. */\n components: {\n /** @description Execution fee sponsorship details. */\n execution: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Swap fee sponsorship details. */\n swap: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Relay protocol fee sponsorship details. */\n relay: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description App fee sponsorship details. */\n app: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Solana ATA rent sponsorship details. */\n rent: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n };\n /**\n * @description The total amount sponsored for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsoredTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The total amount the user paid across the sponsorable fee buckets for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPaysTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description The post-solve sponsorship outcome recorded for the request. */\n actual?: {\n /** @description The normalized sponsorship buckets selected for this request. */\n selectedComponents: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The requested sponsorship cap in USD micro-units, when one was configured for the request. */\n maxSubsidizationAmount?: string;\n /** @description Whether the configured sponsorship cap limited the selected fee buckets for this phase. */\n capHit: boolean;\n /** @description Per-bucket sponsorship details for the sponsorable fee components. */\n components: {\n /** @description Execution fee sponsorship details. */\n execution: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Swap fee sponsorship details. */\n swap: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Relay protocol fee sponsorship details. */\n relay: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description App fee sponsorship details. */\n app: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Solana ATA rent sponsorship details. */\n rent: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n };\n /**\n * @description The total amount sponsored for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsoredTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The total amount the user paid across the sponsorable fee buckets for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPaysTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description How much the sponsor ultimately paid, denominated in the sponsor payment currency. */\n sponsorPayment?: {\n /** @description The sponsor payment amount. */\n amount: string;\n /** @description The sponsor payment currency address. */\n address: string;\n /** @description The sponsor payment chain id. */\n chainId: number;\n };\n };\n };\n /** @description Breakdown of price impact by component, with quoted and actual values */\n expandedPriceImpact?: {\n /** @description Price impact as estimated at quote time */\n quoted?: {\n /** @description Cost to execute swap or bridge depending on available liquidity. This value can be negative (representing network rewards for improving liquidity distribution) */\n swap?: {\n usd?: string;\n };\n /** @description Fees paid to cover transaction execution costs */\n execution?: {\n usd?: string;\n };\n /** @description Fees paid to the protocol */\n relay?: {\n usd?: string;\n };\n /** @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app */\n app?: {\n usd?: string;\n };\n /** @description Fees paid by a sponsor for this request */\n sponsored?: {\n usd?: string;\n };\n };\n /** @description Price impact as computed at fill time */\n actual?: {\n /** @description Cost to execute swap or bridge depending on available liquidity. This value can be negative (representing network rewards for improving liquidity distribution) */\n swap?: {\n usd?: string;\n };\n /** @description Fees paid to cover transaction execution costs */\n execution?: {\n usd?: string;\n };\n /** @description Fees paid to the protocol */\n relay?: {\n usd?: string;\n };\n /** @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app */\n app?: {\n usd?: string;\n };\n /** @description Fees paid by a sponsor for this request */\n sponsored?: {\n usd?: string;\n };\n };\n } | null;\n paidAppFees?: {\n recipient?: string;\n bps?: string;\n amount?: string;\n amountUsd?: string;\n amountUsdCurrent?: string;\n }[];\n platformFee?: ({\n bucket?: string;\n ruleId?: string;\n relayFeeBps?: number;\n integratorFeeBps?: number;\n totalFeeBps?: number;\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayFee?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n integratorFee?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n totalPlatformFee?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n integratorFeeRecipient?: string | null;\n }) | null;\n metadata?: {\n sender?: string;\n recipient?: string;\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"amountUsdCurrent\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyIn?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n amountUsdCurrent?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"amountUsdCurrent\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyOut?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n amountUsdCurrent?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyGasTopup?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n rate?: string;\n quoteOraclePrice?: {\n rate?: string;\n inputAmount?: string;\n outputAmount?: string;\n observedAt?: string;\n from?: {\n chainId?: number;\n address?: string;\n currencyId?: string;\n decimals?: number;\n };\n to?: {\n chainId?: number;\n address?: string;\n currencyId?: string;\n decimals?: number;\n };\n };\n route?: {\n /** @description The route taken for the origin chain swap */\n origin?: {\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n router?: string;\n includedSwapSources?: string[];\n };\n /** @description The route taken for the origin chain swap */\n destination?: {\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n router?: string;\n includedSwapSources?: string[];\n };\n };\n };\n price?: string;\n usesExternalLiquidity?: boolean;\n timeEstimate?: number;\n triggeredByFastFill?: boolean;\n outTxs?: ({\n /** @description Total fees in wei */\n fee?: string;\n data?: unknown;\n stateChanges?: unknown;\n hash?: string;\n block?: number;\n /** @description The type of transaction, always set to onchain */\n type?: string;\n chainId?: number;\n timestamp?: number;\n /** @enum {string} */\n status?: \"success\" | \"failure\";\n })[];\n };\n protocol?: {\n /** @description The protocol-level deposit identifier passed as `bytes32 id` to the Relay Depository when funds are deposited, and emitted in the deposit event. Use this to correlate on-chain deposit data to a Relay request. Distinct from the `requestId`, which is the Relay-level intent identifier used across the API. */\n orderId?: string;\n /** @enum {string} */\n hubType?: \"onchain\";\n /** @description True if the deposit is recoverable via the protocol withdrawal flow. */\n isWithdrawable?: boolean;\n solver?: {\n address?: string;\n protocolChainId?: string;\n chainId?: number;\n };\n deposit?: {\n origin?: {\n amount?: string;\n chainId?: number;\n currency?: string;\n depositor?: string;\n depository?: string;\n onchainId?: string;\n transactionId?: string;\n };\n relay?: {\n amount?: string;\n chainId?: number;\n currency?: string;\n hash?: string;\n /** @enum {string} */\n operation?: \"mint\";\n tokenMetadata?: {\n decimals?: number;\n name?: string;\n symbol?: string;\n };\n };\n attestation?: {\n execution?: {\n actions?: string[];\n idempotencyKey?: string;\n };\n attestations?: {\n oracleChainId?: string;\n oracleContract?: string;\n signerAddress?: string;\n signature?: string;\n }[];\n };\n };\n settlement?: {\n destination?: {\n fills?: {\n chainId?: number;\n transactionId?: string;\n }[];\n refunds?: {\n chainId?: number;\n transactionId?: string;\n }[];\n };\n relay?: {\n amount?: string;\n chainId?: number;\n currency?: string;\n hash?: string;\n /** @enum {string} */\n operation?: \"transfer\" | \"burn\" | \"mixed\";\n solver?: string;\n tokenMetadata?: {\n decimals?: number;\n name?: string;\n symbol?: string;\n };\n };\n attestation?: {\n execution?: {\n actions?: string[];\n idempotencyKey?: string;\n };\n attestations?: {\n oracleChainId?: string;\n oracleContract?: string;\n signerAddress?: string;\n signature?: string;\n }[];\n };\n };\n };\n orderData?: unknown;\n referrer?: string;\n moonpayId?: string;\n createdAt?: string;\n updatedAt?: string;\n })[];\n continuation?: string;\n };\n };\n };\n };\n };\n };\n \"/requests/v3\": {\n get: {\n parameters: {\n query?: {\n /** @description Maximum number of requests to return per page. */\n limit?: number;\n /** @description Pagination cursor returned by a previous response. Pass it back to fetch the next page. */\n continuation?: string;\n /** @description When true, also compute and return the total count of requests matching these filters (ignores limit/continuation). Adds latency — omit unless the total is needed. */\n includeTotal?: boolean;\n /** @description Filter requests by wallet address — matches requests where this address is the sender or the deposit-address depositor. */\n user?: string;\n /** @description Broad term search across request ID, wallet, deposit address, and all transaction hashes (deposit, fill, refund, failed, and chain entry transaction IDs). Use `id`, `depositTxHash`, `fillTxHash`, or `refundTxHash` for targeted single-field lookups. */\n term?: string;\n /** @description Filter by requestId — the Relay-level intent identifier returned by the quote API. */\n id?: string;\n /** @description Filter by protocol-level orderId. */\n orderId?: string;\n /** @description Filter by deposit transaction hash. */\n depositTxHash?: string;\n /** @description Filter by fill transaction hash. */\n fillTxHash?: string;\n /** @description Filter by refund transaction hash. */\n refundTxHash?: string;\n /** @description Filter requests where this is the origin chain. */\n originChainId?: number;\n /** @description Filter requests where this is the destination chain. */\n destinationChainId?: number;\n /** @description Get all requests for a single chain in either direction. Overridden by originChainId / destinationChainId. */\n chainId?: number;\n /** @description Comma-separated list of private chain UUIDs to include in results. */\n privateChainsToInclude?: string;\n /** @description Filter requests associated with this deposit address. */\n depositAddress?: string;\n /** @description Filter requests where this address is the recipient. */\n recipient?: string;\n /** @description Filter requests by status. */\n status?: \"success\" | \"failure\" | \"refund\" | \"pending\" | \"depositing\";\n /** @description Filter requests by failure reason. Only returns requests that failed with this specific reason. */\n failReason?: \"UNKNOWN\" | \"SLIPPAGE\" | \"AMOUNT_TOO_LOW_TO_REFUND\" | \"DEPOSIT_ADDRESS_MISMATCH\" | \"DEPOSIT_CHAIN_MISMATCH\" | \"INCORRECT_DEPOSIT_CURRENCY\" | \"DOUBLE_SPEND\" | \"SOLVER_CAPACITY_EXCEEDED\" | \"SOLVER_BALANCE_TOO_LOW\" | \"DEPOSITED_AMOUNT_TOO_LOW_TO_FILL\" | \"NEGATIVE_NEW_AMOUNT_AFTER_FEES\" | \"NO_QUOTES\" | \"MISSING_REVERT_DATA\" | \"REVERSE_SWAP_FAILED\" | \"GENERATE_SWAP_FAILED\" | \"TOO_LITTLE_RECEIVED\" | \"EXECUTION_REVERTED\" | \"NEW_CALLDATA_INCLUDES_HIGHER_RENT_FEE\" | \"TRANSACTION_REVERTED\" | \"TRANSACTION_TOO_LARGE\" | \"ORIGIN_CURRENCY_MISMATCH\" | \"NO_INTERNAL_SWAP_ROUTES_FOUND\" | \"SWAP_USES_TOO_MUCH_GAS\" | \"INSUFFICIENT_FUNDS_FOR_RENT\" | \"SPONSOR_BALANCE_TOO_LOW\" | \"ORDER_EXPIRED\" | \"ORDER_IS_CANCELLED\" | \"TRANSFER_FROM_FAILED\" | \"TRANSFER_FAILED\" | \"SIGNATURE_EXPIRED\" | \"INVALID_SIGNATURE\" | \"INSUFFICIENT_NATIVE_TOKENS_SUPPLIED\" | \"TRANSFER_AMOUNT_EXCEEDS_ALLOWANCE\" | \"TRANSFER_AMOUNT_EXCEEDS_BALANCE\" | \"INVALID_SENDER\" | \"ACCOUNT_ABSTRACTION_INVALID_NONCE\" | \"ACCOUNT_ABSTRACTION_SIGNATURE_ERROR\" | \"SEAPORT_INEXACT_FRACTION\" | \"TOKEN_NOT_TRANSFERABLE\" | \"ZERO_SELL_AMOUNT\" | \"MINT_NOT_ACTIVE\" | \"ERC_1155_TOO_MANY_REQUESTED\" | \"INCORRECT_PAYMENT\" | \"INVALID_GAS_PRICE\" | \"FLUID_DEX_ERROR\" | \"ORDER_ALREADY_FILLED\" | \"SEAPORT_INVALID_FULFILLER\" | \"INVALID_SIGNER\" | \"MINT_QUANTITY_EXCEEDS_MAX_PER_WALLET\" | \"MINT_QUANTITY_EXCEEDS_MAX_SUPPLY\" | \"JUPITER_INVALID_TOKEN_ACCOUNT\" | \"INVALID_NONCE\" | \"ACCOUNT_ABSTRACTION_GAS_LIMIT\" | \"CONTRACT_PAUSED\" | \"SWAP_IMPACT_TOO_HIGH\" | \"INSUFFICIENT_POOL_LIQUIDITY\" | \"TTL_EXPIRED\" | \"DEPOSIT_CONFIRMATION_TIMEOUT\" | \"ORPHANED_DEPOSIT_REFUND\" | \"GASLESS_PERMIT_BALANCE_TOO_LOW\" | \"MANUAL_ADMIN_REFUND\" | \"QUOTED_GAS_LIMIT_EXCEEDED\" | \"DESTINATION_TOKEN_TRANSFER_REJECTED\" | \"DEPOSIT_REORGED\" | \"BLOCKED_WALLET\" | \"PROTOCOL_DEADLINE_EXPIRED\" | \"TRANSACTION_NOT_INCLUDED\" | \"TRANSACTION_SUBMISSION_FAILED\" | \"N/A\";\n /** @description Filter requests by refund failure reason. */\n refundFailReason?: \"AMOUNT_TOO_LOW_TO_REFUND\" | \"NEGATIVE_NEW_AMOUNT_AFTER_FEES\" | \"SWAP_CURRENCY_NOT_ON_ORIGIN\" | \"REFUND_RECIPIENT_IS_VASP\";\n /** @description Filter requests by API key. Accepts a single value or a comma-separated list (e.g. key1,key2) — results include requests matching any of the supplied keys. */\n apiKey?: string;\n /** @description Filter requests by requestType (case-insensitive). Supported values: Bridge, Crosschain Swap, Same-chain Swap, Send, Wrap, Unwrap, Call. */\n requestType?: string;\n /** @description Filter by origin currency chain ID. */\n currencyInChainId?: number;\n /** @description Filter by destination currency chain ID. */\n currencyOutChainId?: number;\n /** @description Filter by origin currency contract address. */\n currencyInAddress?: string;\n /** @description Filter by destination currency contract address. */\n currencyOutAddress?: string;\n /** @description Filter by origin currency symbol (e.g. USDC). Case-insensitive; matches across all chains. */\n currencyInSymbol?: string;\n /** @description Filter by destination currency symbol (e.g. USDC). Case-insensitive; matches across all chains. */\n currencyOutSymbol?: string;\n /** @description Field to sort by. */\n sortBy?: \"createdAt\" | \"updatedAt\" | \"amountUsd\";\n /** @description Sort direction (default: desc for time fields, asc for amountUsd). */\n sortDirection?: \"asc\" | \"desc\";\n /** @description Filter requests with createdAt ≥ this Unix timestamp (seconds). Applied to updatedAt instead when sortBy=updatedAt. */\n startTimestamp?: number;\n /** @description Filter requests with createdAt ≤ this Unix timestamp (seconds). Applied to updatedAt instead when sortBy=updatedAt. */\n endTimestamp?: number;\n /** @description Filter by chain entry block number (inclusive lower bound). When originChainId is also set, scoped to origin-chain entries only. */\n startBlock?: number;\n /** @description Filter by chain entry block number (inclusive upper bound). When originChainId is also set, scoped to origin-chain entries only. */\n endBlock?: number;\n /** @description Filter requests with currencyIn.amountUsd ≥ this value. */\n amountUsdMin?: number;\n /** @description Filter requests with currencyIn.amountUsd ≤ this value. */\n amountUsdMax?: number;\n /** @description Filter requests with total app fees USD ≥ this value. */\n appFeesAmountUsdMin?: number;\n /** @description Filter requests with total app fees USD ≤ this value. */\n appFeesAmountUsdMax?: number;\n /** @description Filter requests with fill time ≥ this value (seconds). */\n fillTimeMin?: number;\n /** @description Filter requests with fill time ≤ this value (seconds). */\n fillTimeMax?: number;\n /** @description Comma-separated feature flags to filter by. Requests must have at least one of the specified features. Supported values: gasless_execution, gasless_swap, fast_fill, gas_top_up, fixed_rate, app_fees, deposit_address. */\n features?: string;\n /** @description When true, include fields available only to the authenticating integrator for their own requests. */\n includeAuthenticatedData?: boolean;\n /** @description Only effective when `id` is also provided. When true, returns the parent request AND any child requests. When false or omitted, only the exact `request_id` match is returned. */\n includeChildRequests?: boolean;\n /** @description JSON-encoded array of filter-group objects. Fields within each group are AND'd; groups are OR'd. Prefix a key with 'not:' to negate it (must_not). Values can be a scalar or an array (OR semantics within the field). Example: [{\"depositAddress\":\"0xabc\",\"originChainId\":8453},{\"depositAddress\":\"0x123\",\"originChainId\":1}]. Negation example: [{\"not:status\":\"failure\"}]. Array value example: [{\"not:status\":[\"failure\",\"refund\"]}]. */\n filters?: string;\n };\n header: {\n /** @description API key for authentication. */\n \"x-api-key\": string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n requests?: ({\n id?: string;\n /** @enum {string} */\n status?: \"refund\" | \"waiting\" | \"depositing\" | \"failure\" | \"pending\" | \"submitted\" | \"success\";\n user?: string;\n recipient?: string;\n sender?: string | null;\n /** @description The address refunds are sent to for deposit-address transactions. Null when not specified. */\n refundTo?: string | null;\n /** @description Regenerated requestId that now owns the sweep/fill for a superseded deposit-address request. Currently only set for Bitcoin (BVM) deposit-address requests. */\n supersededByRequestId?: string | null;\n depositAddress?: ({\n address?: string;\n /** @enum {string} */\n type?: \"strict\" | \"open\";\n depositor?: string | null;\n depositTxHash?: string | null;\n /** @description Origin-chain address that can recover deposit-address funds if the recipient wallet is later blocked. Null when not specified. */\n recoveryAddress?: string | null;\n }) | null;\n data?: {\n slippageTolerance?: string;\n /** @enum {string|null} */\n failReason?: \"UNKNOWN\" | \"SLIPPAGE\" | \"AMOUNT_TOO_LOW_TO_REFUND\" | \"DEPOSIT_ADDRESS_MISMATCH\" | \"DEPOSIT_CHAIN_MISMATCH\" | \"INCORRECT_DEPOSIT_CURRENCY\" | \"DOUBLE_SPEND\" | \"SOLVER_CAPACITY_EXCEEDED\" | \"SOLVER_BALANCE_TOO_LOW\" | \"DEPOSITED_AMOUNT_TOO_LOW_TO_FILL\" | \"NEGATIVE_NEW_AMOUNT_AFTER_FEES\" | \"NO_QUOTES\" | \"MISSING_REVERT_DATA\" | \"REVERSE_SWAP_FAILED\" | \"GENERATE_SWAP_FAILED\" | \"TOO_LITTLE_RECEIVED\" | \"EXECUTION_REVERTED\" | \"NEW_CALLDATA_INCLUDES_HIGHER_RENT_FEE\" | \"TRANSACTION_REVERTED\" | \"TRANSACTION_TOO_LARGE\" | \"ORIGIN_CURRENCY_MISMATCH\" | \"NO_INTERNAL_SWAP_ROUTES_FOUND\" | \"SWAP_USES_TOO_MUCH_GAS\" | \"INSUFFICIENT_FUNDS_FOR_RENT\" | \"SPONSOR_BALANCE_TOO_LOW\" | \"ORDER_EXPIRED\" | \"ORDER_IS_CANCELLED\" | \"TRANSFER_FROM_FAILED\" | \"TRANSFER_FAILED\" | \"SIGNATURE_EXPIRED\" | \"INVALID_SIGNATURE\" | \"INSUFFICIENT_NATIVE_TOKENS_SUPPLIED\" | \"TRANSFER_AMOUNT_EXCEEDS_ALLOWANCE\" | \"TRANSFER_AMOUNT_EXCEEDS_BALANCE\" | \"INVALID_SENDER\" | \"ACCOUNT_ABSTRACTION_INVALID_NONCE\" | \"ACCOUNT_ABSTRACTION_SIGNATURE_ERROR\" | \"SEAPORT_INEXACT_FRACTION\" | \"TOKEN_NOT_TRANSFERABLE\" | \"ZERO_SELL_AMOUNT\" | \"MINT_NOT_ACTIVE\" | \"ERC_1155_TOO_MANY_REQUESTED\" | \"INCORRECT_PAYMENT\" | \"INVALID_GAS_PRICE\" | \"FLUID_DEX_ERROR\" | \"ORDER_ALREADY_FILLED\" | \"SEAPORT_INVALID_FULFILLER\" | \"INVALID_SIGNER\" | \"MINT_QUANTITY_EXCEEDS_MAX_PER_WALLET\" | \"MINT_QUANTITY_EXCEEDS_MAX_SUPPLY\" | \"JUPITER_INVALID_TOKEN_ACCOUNT\" | \"INVALID_NONCE\" | \"ACCOUNT_ABSTRACTION_GAS_LIMIT\" | \"CONTRACT_PAUSED\" | \"SWAP_IMPACT_TOO_HIGH\" | \"INSUFFICIENT_POOL_LIQUIDITY\" | \"TTL_EXPIRED\" | \"DEPOSIT_CONFIRMATION_TIMEOUT\" | \"ORPHANED_DEPOSIT_REFUND\" | \"GASLESS_PERMIT_BALANCE_TOO_LOW\" | \"MANUAL_ADMIN_REFUND\" | \"QUOTED_GAS_LIMIT_EXCEEDED\" | \"DESTINATION_TOKEN_TRANSFER_REJECTED\" | \"DEPOSIT_REORGED\" | \"BLOCKED_WALLET\" | \"PROTOCOL_DEADLINE_EXPIRED\" | \"TRANSACTION_NOT_INCLUDED\" | \"TRANSACTION_SUBMISSION_FAILED\" | \"N/A\" | null;\n /** @enum {string|null} */\n refundFailReason?: \"AMOUNT_TOO_LOW_TO_REFUND\" | \"NEGATIVE_NEW_AMOUNT_AFTER_FEES\" | \"SWAP_CURRENCY_NOT_ON_ORIGIN\" | \"REFUND_RECIPIENT_IS_VASP\" | null;\n failedTxHash?: string;\n failedTxBlockNumber?: number;\n failedCallData?: {\n from?: string;\n to?: string;\n data?: string;\n value?: string;\n };\n usesExternalLiquidity?: boolean;\n timeEstimate?: number | null;\n triggeredByFastFill?: boolean | null;\n inTxs?: ({\n txHash?: string;\n fee?: string;\n feeUsd?: string;\n block?: number;\n type?: string;\n chainId?: number;\n timestamp?: number;\n /** @enum {string} */\n status?: \"success\" | \"failure\";\n data?: unknown;\n stateChanges?: unknown;\n })[];\n outTxs?: ({\n txHash?: string;\n fee?: string;\n feeUsd?: string;\n block?: number;\n type?: string;\n chainId?: number;\n timestamp?: number;\n /** @enum {string} */\n status?: \"success\" | \"failure\";\n data?: unknown;\n stateChanges?: unknown;\n })[];\n appFees?: {\n quoted?: {\n recipient?: string;\n bps?: string;\n amount?: string;\n amountFormatted?: string;\n }[];\n actual?: {\n recipient?: string;\n bps?: string;\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n }[];\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n };\n /** @description Granular fee sponsorship details derived from the solver's internal sponsorship resolution. */\n feeSponsorship?: ({\n /** @description The quote-time sponsorship expectation for the request. */\n quoted?: {\n /** @description The normalized sponsorship buckets selected for this request. */\n selectedComponents: (\"execution\" | \"swap\" | \"platform\" | \"app\" | \"rent\")[];\n /** @description The requested sponsorship cap in USD micro-units, when one was configured for the request. */\n maxSubsidizationAmount?: string;\n /** @description Whether the configured sponsorship cap limited the selected fee buckets for this phase. */\n capHit: boolean;\n /** @description Per-bucket sponsorship details for the five sponsorable fee components. */\n components: {\n /** @description Execution fee sponsorship details. */\n execution: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Swap fee sponsorship details. */\n swap: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Platform fee sponsorship details. */\n platform: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description App fee sponsorship details. */\n app: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Solana ATA rent sponsorship details. */\n rent: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n };\n /** @description The total amount sponsored for this phase. */\n sponsoredTotal: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The total amount the user paid across the sponsorable fee buckets for this phase. */\n userPaysTotal: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description The post-solve sponsorship outcome recorded for the request. */\n actual?: {\n /** @description The normalized sponsorship buckets selected for this request. */\n selectedComponents: (\"execution\" | \"swap\" | \"platform\" | \"app\" | \"rent\")[];\n /** @description The requested sponsorship cap in USD micro-units, when one was configured for the request. */\n maxSubsidizationAmount?: string;\n /** @description Whether the configured sponsorship cap limited the selected fee buckets for this phase. */\n capHit: boolean;\n /** @description Per-bucket sponsorship details for the five sponsorable fee components. */\n components: {\n /** @description Execution fee sponsorship details. */\n execution: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Swap fee sponsorship details. */\n swap: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Platform fee sponsorship details. */\n platform: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description App fee sponsorship details. */\n app: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Solana ATA rent sponsorship details. */\n rent: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n };\n /** @description The total amount sponsored for this phase. */\n sponsoredTotal: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The total amount the user paid across the sponsorable fee buckets for this phase. */\n userPaysTotal: {\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description How much the sponsor ultimately paid, denominated in the sponsor payment currency. */\n sponsorPayment?: {\n /** @description The sponsor payment amount. */\n amount: string;\n /** @description The sponsor payment currency address. */\n address: string;\n /** @description The sponsor payment chain id. */\n chainId: number;\n };\n };\n /** @description The currency in which all sponsorship amounts are denominated. Shared across all nested amount objects. */\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n }) | null;\n /** @description Breakdown of fees by component, with quoted and actual values */\n fees?: {\n /** @description Fees as estimated at quote time */\n quoted?: {\n /** @description Cost to execute swap or bridge depending on available liquidity. This value can be negative (representing network rewards for improving liquidity distribution) */\n swap?: {\n usd?: string;\n amount?: string;\n amountFormatted?: string;\n };\n /** @description Fees paid to cover transaction execution costs */\n execution?: {\n usd?: string;\n amount?: string;\n amountFormatted?: string;\n };\n /** @description Fees paid to the protocol */\n platform?: {\n usd?: string;\n amount?: string;\n amountFormatted?: string;\n };\n /** @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app */\n app?: {\n usd?: string;\n amount?: string;\n amountFormatted?: string;\n };\n /** @description Fees paid by a sponsor for this request */\n sponsored?: {\n usd?: string;\n amount?: string;\n amountFormatted?: string;\n };\n };\n /** @description Fees as computed at fill time */\n actual?: {\n /** @description Cost to execute swap or bridge depending on available liquidity. This value can be negative (representing network rewards for improving liquidity distribution) */\n swap?: {\n usd?: string;\n amount?: string;\n amountFormatted?: string;\n };\n /** @description Fees paid to cover transaction execution costs */\n execution?: {\n usd?: string;\n amount?: string;\n amountFormatted?: string;\n };\n /** @description Fees paid to the protocol */\n platform?: {\n usd?: string;\n amount?: string;\n amountFormatted?: string;\n };\n /** @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app */\n app?: {\n usd?: string;\n amount?: string;\n amountFormatted?: string;\n };\n /** @description Fees paid by a sponsor for this request */\n sponsored?: {\n usd?: string;\n amount?: string;\n amountFormatted?: string;\n };\n };\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n } | null;\n /** @description Platform fee — only returned when the caller authenticates as the request's creator integrator. */\n platformFee?: Record<string, unknown> | null;\n /** @description Referrer — only returned when the caller authenticates as the request's creator integrator. */\n referrer?: string | null;\n route?: ({\n includedSwapSources?: string[];\n includedOriginSwapSources?: string[];\n includedDestinationSwapSources?: string[];\n quoted?: ({\n origin?: ({\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n router?: string;\n }) | null;\n destination?: ({\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n router?: string;\n }) | null;\n }) | null;\n actual?: ({\n origin?: ({\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n router?: string;\n }) | null;\n destination?: ({\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n router?: string;\n currencyGasTopup?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n }) | null;\n rate?: string;\n }) | null;\n }) | null;\n /** @description Oracle price snapshot at quote time, only returned for fixed-BPS oracle integrators. */\n quoteOraclePrice?: {\n rate?: string;\n observedAt?: string;\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n } | null;\n refundCurrencyData?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n externalMetadata?: {\n moonpayId?: string | null;\n };\n };\n protocol?: ({\n /** @description The protocol-level deposit identifier passed as `bytes32 id` to the Relay Depository. */\n orderId?: string;\n /** @enum {string} */\n hubType?: \"onchain\";\n isWithdrawable?: boolean;\n solver?: {\n address?: string;\n protocolChainId?: string;\n chainId?: number;\n };\n deposit?: {\n origin?: {\n amount?: string;\n chainId?: number;\n currency?: string;\n depositor?: string;\n depository?: string;\n onchainId?: string;\n transactionId?: string;\n };\n relay?: {\n amount?: string;\n chainId?: number;\n currency?: string;\n hash?: string;\n /** @enum {string} */\n operation?: \"mint\";\n tokenMetadata?: {\n decimals?: number;\n name?: string;\n symbol?: string;\n };\n };\n attestation?: {\n execution?: {\n actions?: string[];\n idempotencyKey?: string;\n };\n attestations?: {\n oracleChainId?: string;\n oracleContract?: string;\n signerAddress?: string;\n signature?: string;\n }[];\n };\n };\n settlement?: {\n destination?: {\n fills?: {\n chainId?: number;\n transactionId?: string;\n }[];\n refunds?: {\n chainId?: number;\n transactionId?: string;\n }[];\n };\n relay?: {\n amount?: string;\n chainId?: number;\n currency?: string;\n hash?: string;\n /** @enum {string} */\n operation?: \"transfer\" | \"burn\" | \"mixed\";\n solver?: string;\n tokenMetadata?: {\n decimals?: number;\n name?: string;\n symbol?: string;\n };\n };\n attestation?: {\n execution?: {\n actions?: string[];\n idempotencyKey?: string;\n };\n attestations?: {\n oracleChainId?: string;\n oracleContract?: string;\n signerAddress?: string;\n signature?: string;\n }[];\n };\n };\n }) | null;\n requestType?: string | null;\n features?: (\"gasless_execution\" | \"gasless_swap\" | \"fast_fill\" | \"gas_top_up\" | \"fixed_rate\" | \"app_fees\" | \"deposit_address\")[];\n createdAt?: string;\n updatedAt?: string;\n })[];\n continuation?: string;\n /** @description Total count of requests matching the given filters. Only present when `includeTotal` was true. */\n total?: number;\n };\n };\n };\n };\n };\n };\n \"/requests/metadata\": {\n post: {\n requestBody: {\n content: {\n \"application/json\": {\n requestId: string;\n additionalMetadata: {\n moonPayId: string;\n };\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/transactions/index\": {\n post: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n chainId: string;\n txHash: string;\n requestId?: string;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/transactions/single\": {\n post: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n requestId: string;\n chainId: string;\n tx: string;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/transactions/deposit-address/reindex\": {\n /** @description Re-checks the balances of a previously-registered deposit address and queues a withdrawal for any currency with a non-zero balance. Useful when funds were sent to a deposit address but the normal indexer flow did not pick them up. */\n post: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n /** @description Chain ID the deposit address was originally registered on. */\n chainId: number;\n /** @description The deposit address to reindex. */\n depositAddress: string;\n /** @description Deprecated. No longer supported on this endpoint. */\n sweep?: boolean;\n /** @description Chain ID to reindex on, when different from `chainId`. Use this if funds landed on a chain other than the one the deposit address was registered on. Defaults to `chainId`. */\n targetChainId?: number;\n /** @description Address of a specific currency to reindex. Defaults to checking every depositable currency on the chain. */\n currency?: string;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description Human-readable summary of the reindex outcome. */\n message?: string;\n /** @description Currencies for which a withdrawal was queued. */\n triggeredCurrencies?: {\n /** @description Currency address. */\n currency?: string;\n /** @description Currency symbol. */\n symbol?: string;\n /** @description Balance found at the deposit address, in the currency's smallest unit. */\n balance?: string;\n }[];\n /** @description Total number of currencies whose balance was checked. */\n checkedCurrencies?: number;\n /** @description Number of currencies whose balance check failed. */\n failedCurrencies?: number;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Reason the request was rejected. */\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 403: {\n content: {\n \"application/json\": {\n /** @description The caller is not permitted to reindex this deposit address. */\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n content: {\n \"application/json\": {\n /** @description No deposit address was found for the given `chainId` and `depositAddress`. */\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 429: {\n content: {\n \"application/json\": {\n /** @description The deposit address was reindexed too recently. */\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 503: {\n content: {\n \"application/json\": {\n /** @description Transient failure. */\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/swap-sources\": {\n get: {\n parameters: {\n query?: {\n /** @description Chain ID to get swap sources for */\n chainId?: number;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description An array of swap sources */\n sources?: string[];\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Descriptive error message */\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/loadforge.txt\": {\n get: {\n responses: {\n /** @description Verification string */\n 200: {\n content: {\n \"application/json\": string;\n };\n };\n /** @description Default Response */\n 404: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/conduit/install\": {\n post: {\n parameters: {\n header: {\n \"X-CONDUIT-INTEGRATION-SECRET\": string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n /** @enum {string} */\n event: \"INSTALLED\" | \"UNINSTALLED\" | \"NETWORK_UPDATED\" | \"NETWORK_DELETED\";\n id: string;\n chain_id?: number;\n parent_chain_id?: number;\n /** @enum {string} */\n type?: \"OPTIMISM\" | \"ARBITRUM\";\n name?: string;\n rpc?: string;\n ws?: string;\n explorer?: string;\n logo_url?: string;\n icon_url?: string;\n brand_color?: string;\n native_currency?: {\n name?: string;\n symbol?: string;\n decimals?: number;\n contract?: string;\n };\n contracts?: Record<string, never>;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n id?: string;\n status?: string;\n eta_seconds?: number;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n failure_reason?: string;\n code?: string;\n status?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n content: {\n \"application/json\": {\n failure_reason?: string;\n code?: string;\n status?: string;\n };\n };\n };\n };\n };\n };\n \"/prices/rates\": {\n get: {\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n AVAX?: number;\n ETH?: number;\n DEGEN?: number;\n MATIC?: number;\n USDC?: number;\n XAI?: number;\n SIPHER?: number;\n TG7?: number;\n POP?: number;\n OMI?: number;\n TOPIA?: number;\n ANIME?: number;\n APE?: number;\n G?: number;\n G7?: number;\n POWER?: number;\n SYND?: number;\n };\n };\n };\n };\n };\n };\n \"/currencies/v1\": {\n post: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n requestBody?: {\n content: {\n \"application/json\": {\n /** @description Return default currencies */\n defaultList?: boolean;\n /** @description Chain IDs to search for currencies */\n chainIds?: number[];\n /** @description Search term for currencies */\n term?: string;\n /** @description Address of the currency contract */\n address?: string;\n /** @description ID to search for a currency group */\n currencyId?: string;\n /** @description List of token addresses, like: chainId:address */\n tokens?: string[];\n /** @description Filter verified currencies */\n verified?: boolean;\n /** @description Limit the number of results */\n limit?: number;\n /** @description Include all chains for a currency when filtering by chainId and address */\n includeAllChains?: boolean;\n /** @description Uses 3rd party API's to search for a token, in case relay does not have it indexed */\n useExternalSearch?: boolean;\n /** @description Returns only currencies supported with deposit address bridging */\n depositAddressOnly?: boolean;\n };\n };\n };\n responses: {\n /** @description List of currencies */\n 200: {\n content: {\n \"application/json\": (({\n groupID?: string;\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n /** @enum {string} */\n vmType?: \"bvm\" | \"evm\" | \"svm\" | \"tvm\" | \"tonvm\" | \"hypevm\" | \"lvm\" | \"xrpvm\";\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n })[])[];\n };\n };\n };\n };\n };\n \"/currencies/v2\": {\n post: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n requestBody?: {\n content: {\n \"application/json\": {\n /** @description Return default currencies */\n defaultList?: boolean;\n /** @description Chain IDs to search for currencies */\n chainIds?: number[];\n /** @description Search term for currencies */\n term?: string;\n /** @description Address of the currency contract */\n address?: string;\n /** @description ID to search for a currency */\n currencyId?: string;\n /** @description List of token addresses, like: chainId:address */\n tokens?: string[];\n /** @description Filter verified currencies */\n verified?: boolean;\n /**\n * @description Limit the number of results\n * @default 20\n */\n limit?: number;\n /** @description Include all chains for a currency when filtering by chainId and address */\n includeAllChains?: boolean;\n /** @description Uses 3rd party API's to search for a token, in case relay does not have it indexed */\n useExternalSearch?: boolean;\n /** @description Returns only currencies supported with deposit address bridging */\n depositAddressOnly?: boolean;\n };\n };\n };\n responses: {\n /** @description List of currencies */\n 200: {\n content: {\n \"application/json\": ({\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n /** @enum {string} */\n vmType?: \"bvm\" | \"evm\" | \"svm\" | \"tvm\" | \"tonvm\" | \"hypevm\" | \"lvm\" | \"xrpvm\";\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n })[];\n };\n };\n };\n };\n };\n \"/currencies/token/price\": {\n get: {\n parameters: {\n query: {\n /** @description Token address to get price for */\n address: string;\n /** @description Chain ID of the token */\n chainId: number;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description Token price in USD */\n price?: number;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Error message */\n error?: string;\n };\n };\n };\n };\n };\n };\n \"/currencies/token/price/v2\": {\n get: {\n parameters: {\n query: {\n /** @description Token address to get price for */\n address: string;\n /** @description Chain ID of the token */\n chainId: number;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description Token price in USD */\n price?: string;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Error message */\n error?: string;\n };\n };\n };\n };\n };\n };\n \"/currencies/trending\": {\n get: {\n parameters: {\n query?: {\n chainId?: number;\n sortBy?: \"relay24hBuyTxCount\" | \"relay24hBuyUsdVolume\" | \"coingecko6hTrending\";\n limit?: number;\n };\n };\n responses: {\n /** @description List of currencies */\n 200: {\n content: {\n \"application/json\": ({\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n /** @enum {string} */\n vmType?: \"bvm\" | \"evm\" | \"svm\" | \"tvm\" | \"tonvm\" | \"hypevm\" | \"lvm\" | \"xrpvm\";\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n })[];\n };\n };\n };\n };\n };\n \"/chains/{chainId}/currencies/{address}\": {\n get: {\n parameters: {\n path: {\n chainId: number;\n address: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n /** @enum {string} */\n vmType?: \"bvm\" | \"evm\" | \"svm\" | \"tvm\" | \"tonvm\" | \"hypevm\" | \"lvm\" | \"xrpvm\";\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n price?: number;\n marketCap?: string;\n fdv?: string;\n liquidity?: string;\n codexChainName?: string;\n codexChainShortName?: string;\n createdAt?: number;\n socialLinks?: {\n website?: string;\n twitter?: string;\n coingecko?: string;\n discord?: string;\n };\n volume?: {\n \"24h\"?: {\n usd?: number;\n };\n };\n priceChange?: {\n \"5m\"?: string;\n \"1h\"?: string;\n \"4h\"?: string;\n \"24h\"?: string;\n };\n pair?: {\n address?: string;\n token0?: {\n address?: string;\n symbol?: string;\n metadata?: {\n logoURI?: string;\n };\n };\n token1?: {\n address?: string;\n symbol?: string;\n metadata?: {\n logoURI?: string;\n };\n };\n };\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Error message */\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/chains/{chainId}/currencies/{address}/chart\": {\n get: {\n parameters: {\n query?: {\n /** @description Timeframe for chart data can be either of the following */\n timeframe?: \"5M\" | \"1H\" | \"4H\" | \"24H\" | \"7D\" | \"30D\" | \"MAX\";\n };\n path: {\n chainId: number;\n address: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n traders?: number[];\n transactions?: number[];\n t?: number[];\n o?: number[];\n h?: number[];\n l?: number[];\n c?: number[];\n volume?: string[];\n buyers?: number[];\n buys?: number[];\n buyVolume?: string[];\n sellers?: number[];\n sells?: number[];\n sellVolume?: string[];\n sumTraders?: number;\n sumNonUniqueTraders?: number;\n sumSellers?: number;\n sumBuyers?: number;\n sumTransactions?: number;\n sumSells?: number;\n sumBuys?: number;\n sumVolume?: string;\n sumSellVolume?: string;\n sumBuyVolume?: string;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Error message */\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/provision/chain\": {\n post: {\n parameters: {\n header: {\n \"X-RELAY-INTEGRATION-SECRET\": string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n chainId: number;\n parentChainId: number;\n /** @enum {string} */\n type: \"OPTIMISM\" | \"ARBITRUM\";\n name: string;\n rpc: string;\n ws: string;\n explorer?: string;\n logoUrl?: string;\n iconurl?: string;\n brandColor?: string;\n nativeCurrency: {\n name?: string;\n symbol?: string;\n decimals?: number;\n contract?: string;\n };\n contracts: Record<string, never>;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n id?: string;\n status?: string;\n etaSeconds?: number;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n status?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n status?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n status?: string;\n };\n };\n };\n };\n };\n };\n \"/sanctioned/{address}\": {\n get: {\n parameters: {\n path: {\n address: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n sanctioned?: boolean;\n };\n };\n };\n };\n };\n };\n \"/wallets/screen\": {\n post: {\n parameters: {\n header: {\n /** @description Required API key for authentication. Contact the team for getting an API Key */\n \"x-api-key\": string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n wallets: {\n address?: string;\n chainId?: string;\n }[];\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n message?: string;\n wallets?: unknown[];\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/wallets/screen/override\": {\n post: {\n requestBody: {\n content: {\n \"application/json\": {\n wallet: string;\n chainId?: string;\n /** @enum {string} */\n action: \"ALLOW\" | \"BLOCK\" | \"NONE\";\n reason?: string;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/wallets/screen/info\": {\n get: {\n parameters: {\n query: {\n wallet: string;\n chainId?: string;\n source?: string;\n forceScreen?: boolean;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n message?: string;\n isBlocked?: boolean;\n isTrmBlocked?: boolean | null;\n isVasp?: boolean | null;\n trmBlockReasons?: ({\n category?: string;\n /** @enum {string} */\n severity?: \"unknown\" | \"low\" | \"medium\" | \"high\" | \"severe\";\n /** @enum {string|null} */\n riskType?: \"OWNERSHIP\" | \"COUNTERPARTY\" | \"INDIRECT\" | null;\n })[];\n isHackBountyBlocked?: boolean;\n isChainalysisBlocked?: boolean;\n isOstiumBlocked?: boolean;\n hermod?: {\n isBlocked?: boolean;\n threatLevel?: number | null;\n hitUuid?: string | null;\n sanctioned?: string | null;\n };\n override?: string;\n reason?: string | null;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/withdrawals/attest-deposit\": {\n post: {\n requestBody: {\n content: {\n \"application/json\": {\n chainId: number;\n transactionId: string;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: never;\n };\n };\n };\n };\n \"/withdrawals/request\": {\n post: {\n requestBody: {\n content: {\n \"application/json\": {\n chainId: string;\n currency: string;\n amount: string;\n ownerChainId: string;\n owner: string;\n recipient: string;\n nonce?: string;\n additionalData?: unknown;\n signature?: string;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: never;\n };\n };\n };\n };\n \"/withdrawals/status\": {\n get: {\n parameters: {\n query: {\n id: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n status?: string;\n transaction?: {\n [key: string]: unknown;\n } | null;\n withdrawal?: {\n [key: string]: unknown;\n } | null;\n reason?: string | null;\n };\n };\n };\n };\n };\n };\n \"/metrics/usage\": {\n /** @description Get API call counts for the authenticated API key, grouped by endpoint, status code, and error code. */\n get: {\n parameters: {\n query?: {\n /** @description Time bucket granularity. minutely defaults to last 24h, hourly to last 7d, daily to last 14d. */\n granularity?: \"minutely\" | \"hourly\" | \"daily\";\n /** @description Start of the query window as a Unix timestamp (seconds). Defaults based on granularity. */\n startTimestamp?: number;\n /** @description End of the query window as a Unix timestamp (seconds). Defaults to now. */\n endTimestamp?: number;\n /** @description Filter metrics by API key. Accepts a single value or a comma-separated list (e.g. key1,key2) — results include metrics matching any of the supplied keys. Maximum 50 keys. */\n apiKey?: string;\n };\n header?: {\n /** @description Integrator API key. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n metrics?: {\n apiKey?: string;\n timestamp?: string;\n endpoint?: string;\n statusCode?: number;\n /** @description Only present on rows where statusCode is 400. Contains the machine-readable error code (e.g. AMOUNT_TOO_LOW). */\n errorCode?: string;\n count?: number;\n }[];\n };\n };\n };\n };\n };\n };\n}\n\nexport type webhooks = Record<string, never>;\n\nexport interface components {\n schemas: {\n };\n responses: never;\n parameters: never;\n requestBodies: never;\n headers: never;\n pathItems: never;\n}\n\nexport type $defs = Record<string, never>;\n\nexport type external = Record<string, never>;\n\nexport type operations = Record<string, never>;\n"]}
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/types/api.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file was auto-generated by openapi-typescript.\n * Do not make direct changes to the file.\n */\n\n\nexport interface paths {\n \"/app-fees/{wallet}/balances\": {\n get: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n path: {\n /** @description Wallet to get the app fees for */\n wallet: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description An array of app fee balances across multiple currencies */\n balances?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n }[];\n /** @description Total app fee balance in USD across all currencies. */\n totalBalanceUsd?: number;\n /** @description Outstanding fast fill balance in USD that has not yet settled. This amount is deducted from the available collateral for new fast fills and claims. */\n outstandingFastFillBalanceUsd?: number;\n /** @description Total balance minus outstanding fast fill balance. The effective collateral available for new fast fills and claims. */\n availableBalanceUsd?: number;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Descriptive error message */\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/app-fees/{wallet}/claim\": {\n post: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n path: {\n wallet: string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n /** @description Chain id of the currency to claim */\n chainId: number;\n /** @description Currency to claim */\n currency: string;\n /** @description Amount to claim */\n amount?: string;\n /** @description The recipient of the claimed funds */\n recipient: string;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description An array of steps detailing what needs to be done to claim */\n steps?: {\n /** @description Unique identifier tied to the step */\n id?: string;\n /** @description A call to action for the step */\n action?: string;\n /** @description A short description of the step and what it entails */\n description?: string;\n /** @description The kind of step, for claims this will be `signature` */\n kind?: string;\n /** @description For claims, we'll always have a single `signature` step */\n items?: {\n /** @description Can either be complete or incomplete */\n status?: string;\n data?: unknown;\n }[];\n }[];\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Descriptive error message */\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/app-fees/{wallet}/claims\": {\n get: {\n parameters: {\n query?: {\n /** @description Number of claims to return */\n limit?: number;\n /** @description Pagination continuation token */\n continuation?: string;\n };\n path: {\n /** @description Wallet address to retrieve claim history for */\n wallet: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description An array of past app fee claim transactions */\n claims?: ({\n claimId?: string;\n wallet?: string;\n recipient?: string;\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n txHash?: string | null;\n status?: string;\n createdAt?: string;\n })[];\n continuation?: string;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Descriptive error message */\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/balance-events/{wallet}\": {\n get: {\n parameters: {\n query: {\n /** @description Temporary shared secret required to access this endpoint */\n id: string;\n /** @description Restrict to one chain */\n chainId?: number | null;\n /** @description Restrict to one currency (use chainId for non-EVM) */\n currency?: string | null;\n /** @description Restrict to one balance update context */\n context?: \"set-pending-amount\" | \"unset-pending-amount\" | \"reset-pending-amount\" | \"pay-fees\" | \"claim\" | \"fast-fill-reduce-balance\" | \"fast-fill-increase-balance\" | \"balance-topup\" | \"execute-transaction-request\" | \"fixed-rate-accounting\" | \"integrator-fixed-bps-accounting\" | \"admin-manual-adjustment\" | null;\n /** @description Restrict to a specific request id */\n requestId?: string | null;\n /** @description Page size for events (max 250, default 50) */\n limit?: number | null;\n /** @description Pagination cursor: the `id` of the last event from the previous page */\n cursor?: string | null;\n /** @description Include rows where the current balance is <= 0 (default true) */\n includeNegativeBalances?: boolean | null;\n };\n path: {\n /** @description Wallet address (EVM/SVM/BVM auto-detected) */\n wallet: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n wallet?: string;\n balances?: {\n chainId?: number;\n currency?: string;\n amount?: string;\n }[];\n events?: ({\n id?: number;\n chainId?: number;\n wallet?: string;\n currency?: string;\n delta?: string;\n balanceAfter?: string;\n context?: string;\n requestId?: string | null;\n contextData?: unknown;\n createdAt?: string;\n })[];\n continuation?: string | null;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/chains\": {\n get: {\n parameters: {\n query?: {\n includeChains?: string | null;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description An array of supported chains */\n chains?: ({\n id?: number;\n name?: string;\n displayName?: string;\n httpRpcUrl?: string;\n wsRpcUrl?: string;\n explorerUrl?: string;\n explorerName?: string;\n explorerPaths?: {\n transaction?: string;\n address?: string;\n token?: string;\n } | null;\n /** @description If the network supports depositing to this chain, e.g. allows this chain to be set as the destination chain */\n depositEnabled?: boolean;\n /** @enum {string} */\n tokenSupport?: \"All\" | \"Limited\";\n /** @description If relaying to and from this chain is disabled */\n disabled?: boolean;\n /** @description The value limit at which the chain is partially disabled, if 0, the chain is not partially disabled. i.e, 1000000000000000000 to designate 1 ETH max withdrawal/deposit */\n partialDisableLimit?: number;\n /** @description If the chain is experiencing issues where blocks are lagging behind or not being produced */\n blockProductionLagging?: boolean;\n currency?: {\n id?: string;\n symbol?: string;\n name?: string;\n address?: string;\n decimals?: number;\n supportsBridging?: boolean;\n };\n /** @description The fee in bps for withdrawing from this chain */\n withdrawalFee?: number;\n /** @description The fee in bps for depositing to this chain */\n depositFee?: number;\n /** @description If the chain has surge pricing enabled */\n surgeEnabled?: boolean;\n /** @description An array of featured erc20 currencies */\n featuredTokens?: {\n id?: string;\n symbol?: string;\n name?: string;\n address?: string;\n decimals?: number;\n /** @description If the currency supports bridging */\n supportsBridging?: boolean;\n metadata?: {\n logoURI?: string;\n };\n }[];\n /** @description An array of erc20 currencies that the solver accepts directly as input */\n erc20Currencies?: {\n id?: string;\n symbol?: string;\n name?: string;\n address?: string;\n decimals?: number;\n /** @description If the currency supports bridging */\n supportsBridging?: boolean;\n /** @description If the erc20 currency supports permit via signature (EIP-2612) */\n supportsPermit?: boolean;\n /** @description The fee in bps for withdrawing from this chain */\n withdrawalFee?: number;\n /** @description The fee in bps for depositing to this chain */\n depositFee?: number;\n /** @description If the chain has surge pricing enabled */\n surgeEnabled?: boolean;\n }[];\n /** @description An array of all currencies that the solver accepts directly as input, including native currency if applicable */\n solverCurrencies?: {\n id?: string;\n symbol?: string;\n name?: string;\n address?: string;\n decimals?: number;\n }[];\n /** @description The URL to the chain icon */\n iconUrl?: string | null;\n /** @description The URL to the chain logo */\n logoUrl?: string | null;\n /** @description Brand color code */\n brandColor?: string | null;\n /** @description Relay contract addresses */\n contracts?: {\n multicall3?: string;\n multicaller?: string;\n onlyOwnerMulticaller?: string;\n relayReceiver?: string;\n erc20Router?: string;\n approvalProxy?: string;\n v3?: {\n erc20Router?: string;\n approvalProxy?: string;\n };\n };\n /**\n * @description The type of VM the chain runs on\n * @enum {string}\n */\n vmType?: \"bvm\" | \"evm\" | \"svm\" | \"tvm\" | \"tonvm\" | \"hypevm\" | \"lvm\" | \"xrpvm\" | \"hederavm\";\n explorerQueryParams?: {\n [key: string]: unknown;\n } | null;\n /** @description The chain id which the chain rolls up to. This is always set as Ethereum for L1 chains */\n baseChainId?: number | null;\n /** @description If applicable, a status message for the chain */\n statusMessage?: string | null;\n /** @description An array of solver addresses in use on the chain, including active multi-EOA and VM-specific service signer addresses. */\n solverAddresses?: string[];\n tags?: string[];\n protocol?: {\n v2?: {\n chainId?: string | null;\n depository?: string | null;\n depositoryVault?: string | null;\n };\n };\n })[];\n };\n };\n };\n };\n };\n };\n \"/chains/liquidity\": {\n get: {\n parameters: {\n query: {\n chainId: number;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description Available solver balances per configured currency on the requested chain. */\n liquidity?: {\n chainId?: number;\n currencyId?: string;\n symbol?: string;\n address?: string;\n decimals?: number;\n /** @description Main EOA solver balance in the currency's smallest unit (e.g. wei for ETH) */\n balance?: string;\n /** @description Solver balance expressed in USD */\n amountUsd?: string;\n }[];\n };\n };\n };\n };\n };\n };\n \"/chains/health\": {\n get: {\n parameters: {\n query?: {\n chainId?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description A boolean indicating if the chain is healthy (true) or not (false) */\n healthy?: boolean;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n };\n };\n };\n };\n };\n };\n \"/config\": {\n get: {\n parameters: {\n query: {\n originChainId: string;\n destinationChainId: string;\n /** @description User address, when supplied returns user balance and max bridge amount */\n user?: string;\n /** @description Restricts the user balance and capacity to a particular currency when supplied with a currency address. Defaults to native currency */\n currency?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n enabled?: boolean;\n user?: {\n /** @description Balance on the origin chain in the native or supplied currency */\n balance?: string;\n /** @description Maximum amount that the user can bridge after fees in the native or supplied currency */\n maxBridgeAmount?: string;\n };\n solver?: {\n address?: string;\n /** @description Balance of the solver on the destination chain. Denoted in wei */\n balance?: string;\n /** @description How much of the given currency is available to be bridged per bridge request. Denoted in wei */\n capacityPerRequest?: string;\n };\n /** @description This denotes if the chain combination supports canonical plus bridging */\n supportsExternalLiquidity?: boolean;\n };\n };\n };\n };\n };\n };\n \"/config/v2\": {\n get: {\n parameters: {\n query: {\n originChainId: string;\n destinationChainId: string;\n /** @description User address, when supplied returns user balance and max bridge amount */\n user?: string;\n /** @description Restricts the user balance and capacity to a particular currency when supplied with a currency id. Defaults to the native currency of the destination chain. */\n currency?: \"anime\" | \"btc\" | \"cgt\" | \"dai\" | \"eth\" | \"omi\" | \"pop\" | \"tg7\" | \"tia\" | \"usdc\" | \"usdc.e\" | \"usdt\" | \"sol\" | \"weth\" | \"ape\" | \"g7\" | \"pengu\" | \"plume\" | \"plumeusd\" | \"gun\" | \"somi\" | \"synd\" | \"xpl\" | \"usde\" | \"mon\" | \"musd\" | \"usdm\" | \"pyusd\" | \"cash\" | \"eusd\" | \"pusd\" | \"bnb\" | \"usdg\" | \"pathusd\" | \"ausd\" | \"usdc.e-cronos\";\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n enabled?: boolean;\n user?: {\n /** @description Balance on the origin chain in the native or supplied currency */\n balance?: string;\n /** @description Maximum amount that the user can bridge after fees in the native or supplied currency */\n maxBridgeAmount?: string;\n };\n /** @description Total fee in the native or supplied currency for the bridge operation */\n fee?: string;\n solver?: {\n address?: string;\n /** @description Balance of the solver on the destination chain. Denoted in wei */\n balance?: string;\n /** @description How much of the given currency is available to be bridged per bridge request. Denoted in wei */\n capacityPerRequest?: string;\n };\n /** @description This denotes if the chain combination supports canonical plus bridging */\n supportsExternalLiquidity?: boolean;\n };\n };\n };\n /** @description Default Response */\n 500: {\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n };\n };\n };\n };\n };\n };\n \"/deposit-addresses/v1\": {\n get: {\n parameters: {\n query?: {\n /** @description The deposit address to look up. Provide either `address` or `requestId`. */\n address?: string;\n /** @description The original requestId the deposit address was created for. Provide either `address` or `requestId`. */\n requestId?: string;\n };\n header?: {\n /** @description API key for authentication. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description The deposit address. */\n depositAddress: string;\n /**\n * @description The deposit address type.\n * @enum {string}\n */\n type: \"open\" | \"strict\";\n /** @description The original requestId the deposit address was created for. */\n requestId: string;\n /** @description The chain the deposit address was created on. */\n chainId: number;\n /** @description ISO 8601 timestamp of when the deposit address was created. */\n createdAt: string;\n /** @description Origin currency id from the originating quote request. Null when the quote request is unavailable. */\n currency?: string | null;\n /** @description Refund address from the originating quote request. Null when unset or the quote request is unavailable. */\n refundTo?: string | null;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/deposit-addresses/v2\": {\n get: {\n parameters: {\n query?: {\n address?: string;\n depositAddressId?: string;\n pageSize?: number;\n pageToken?: string;\n };\n header?: {\n /** @description API key for authentication. */\n \"x-api-key\"?: string;\n /** @description Developer portal key for authentication. */\n \"x-dev-portal-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n data: {\n depositAddress: {\n id: string;\n address: string;\n originChainId: number;\n originCurrency: string;\n destinationChainId: number;\n destinationCurrency: string;\n destinationRecipient: string;\n refundTo: string;\n oneTimeUse: boolean;\n isEnabled: boolean;\n createdAt: string;\n };\n deposits: ({\n id: string;\n chainId: number;\n transactionHash: string;\n eventIndex: string;\n sender: string | null;\n currency: string;\n amount: string;\n amountFormatted: string | null;\n amountUsd: string | null;\n detectedAt: string;\n })[];\n sweeps: ({\n id: string;\n depositId: string;\n /** @enum {string} */\n purpose: \"fill\" | \"refund\";\n /** @enum {string} */\n status: \"pending\" | \"submitted\" | \"confirmed\" | \"failed\";\n chainId: number;\n recipient: string;\n currency: string;\n amount: string;\n amountFormatted: string | null;\n amountUsd: string | null;\n transactionHash: string | null;\n createdAt: string;\n updatedAt: string;\n })[];\n fills: ({\n sweepId: string;\n requestId: string | null;\n orderId: string | null;\n chainId: number | null;\n recipient: string | null;\n currency: string | null;\n amount: string | null;\n amountFormatted: string | null;\n amountUsd: string | null;\n transactions: {\n chainId: number;\n hash: string;\n }[];\n updatedAt: string;\n /** @enum {string} */\n status: \"submitted\" | \"success\" | \"failure\";\n /** @enum {string|null} */\n failureReason: \"fill_failed\" | null;\n })[];\n refunds: ({\n sweepId: string;\n requestId: string | null;\n orderId: string | null;\n chainId: number | null;\n recipient: string | null;\n currency: string | null;\n amount: string | null;\n amountFormatted: string | null;\n amountUsd: string | null;\n transactions: {\n chainId: number;\n hash: string;\n }[];\n updatedAt: string;\n /** @enum {string} */\n status: \"pending\" | \"success\" | \"failure\";\n /** @enum {string|null} */\n failureReason: \"refund_failed\" | null;\n })[];\n nextPageToken: string | null;\n };\n timestamp: string;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 503: {\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n };\n };\n };\n \"/deposit-addresses/{depositAddressId}/disable/v2\": {\n post: {\n parameters: {\n header?: {\n /** @description API key for authentication. */\n \"x-api-key\"?: string;\n /** @description Developer portal key for authentication. */\n \"x-dev-portal-key\"?: string;\n };\n path: {\n depositAddressId: string;\n };\n };\n responses: {\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 503: {\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n };\n };\n };\n \"/execute/permits\": {\n post: {\n parameters: {\n query: {\n /** @description The permit signature. */\n signature: string;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n /** @description The kind of signature. This value is returned in the quote API steps body field. e.g eip3009 */\n kind: string;\n /** @description The requestId of the quote this permit signature applies to. Returned in the quote API steps body field. */\n requestId: string;\n /**\n * @description The API value returned from the quote API steps body field.\n * @enum {string}\n */\n api?: \"bridge\" | \"swap\" | \"user-swap\";\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n message?: string;\n steps?: {\n id?: string;\n action?: string;\n description?: string;\n kind?: string;\n items?: {\n status?: string;\n data?: {\n to?: string;\n data?: string;\n value?: string;\n chainId?: number;\n };\n check?: {\n endpoint?: string;\n method?: string;\n };\n }[];\n }[];\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/quote\": {\n /**\n * @deprecated\n * @description This endpoint is deprecated. Use /quote/v2 instead.\n */\n post: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n /**\n * @description Address that is depositing funds on the origin chain and submitting transactions or signatures\n * @default 0x03508bb71268bba25ecacc8f620e01866650532c\n */\n user: string;\n /** @description Address that is receiving the funds on the destination chain, if not specified then this will default to the user address */\n recipient?: string;\n /** @default 8453 */\n originChainId: number;\n /** @default 10 */\n destinationChainId: number;\n /** @default 0x0000000000000000000000000000000000000000 */\n originCurrency: string;\n /** @default 0x0000000000000000000000000000000000000000 */\n destinationCurrency: string;\n /**\n * @description Amount to swap as the base amount (can be switched to exact input/output using the dedicated flag), denoted in the smallest unit of the specified currency (e.g., wei for ETH)\n * @default 1000000000000000000\n */\n amount: string;\n /**\n * @description Whether to use the amount as the output or the input for the basis of the swap\n * @default EXACT_INPUT\n * @enum {string}\n */\n tradeType: \"EXACT_INPUT\" | \"EXACT_OUTPUT\" | \"EXPECTED_OUTPUT\";\n txs?: {\n to?: string;\n value?: string;\n data?: string;\n originalTxValue?: string;\n }[];\n /** @description Total gas limit for the destination chain call transactions */\n txsGasLimit?: number;\n /** @description Authorization list for EIP-7702 transactions to be executed on destination chain */\n authorizationList?: {\n chainId: number;\n address: string;\n nonce: number;\n yParity: number;\n r: string;\n s: string;\n }[];\n /** @description Additional data needed for specific routes */\n additionalData?: {\n /** @description If the request originates from Bitcoin and the user is a P2SH address, the public key is needed to be able to generate the transaction data */\n userPublicKey?: string;\n };\n referrer?: string;\n referrerAddress?: string;\n /** @description Address to send the refund to in the case of failure, if not specified then the recipient address or user address is used */\n refundTo?: string;\n /** @description Origin-chain address used for deposit-address fund recovery. Requires useDepositAddress=true. */\n recoveryAddress?: string;\n /**\n * @deprecated\n * @description Always refund on the origin chain in case of any issues\n */\n refundOnOrigin?: boolean;\n /** @description If set, the destination fill will include a gas topup to the recipient (only supported for EVM chains if the requested currency is not the gas currency on the destination chain) */\n topupGas?: boolean;\n /** @description The destination gas topup amount in USD decimal format, e.g 100000 = $1. topupGas is required to be enabled. Defaults to 2000000 ($2) */\n topupGasAmount?: string;\n /**\n * @description Enabling will send any swap surplus when doing exact output operations to the solver EOA, otherwise it will be swept to the recipient\n * @default false\n */\n enableTrueExactOutput?: boolean;\n /**\n * @description Enable this to avoid direct transfers to the depository (only relevant for EVM and v2 protocol flow)\n * @default true\n */\n explicitDeposit?: boolean;\n /** @description Enable this to use canonical+ bridging, trading speed for more liquidity */\n useExternalLiquidity?: boolean;\n /** @description Enable this for specific fallback routes */\n useFallbacks?: boolean;\n /** @description Enable this to use permit (eip3009) when bridging, only works on supported currency such as usdc */\n usePermit?: boolean;\n /** @description How long the permit remains valid, in seconds. Defaults to 10 minutes. */\n permitExpiry?: number;\n /** @description Return protocol data for on-chain intent validation. This includes protocol.v2.orderSignature and may increase quote latency. */\n includeProtocolData?: boolean;\n /** @description Use a deposit address when calldata cannot be sent with the origin transaction. In /quote/v2, creation follows the requested trade type. */\n useDepositAddress?: boolean;\n /** @description Deprecated and ignored by /quote/v2. Deprecated quote endpoints retain their existing strict behavior. */\n strict?: boolean;\n /** @description Slippage tolerance for the swap, if not specified then the slippage tolerance is automatically calculated to avoid front-running. This value is in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage. Must be 0–10000 bps. */\n slippageTolerance?: string;\n /** @description Slippage tolerance for destination gas in the event that the deposit occurs after the order deadline, and more gas is required for the solver to execute the destination transaction. Must be 0–10000 bps. */\n latePaymentSlippageTolerance?: string;\n appFees?: {\n /** @description Address that will receive the app fee */\n recipient?: string;\n /** @description App fees to be charged for execution in basis points, e.g. 100 = 1% */\n fee?: string;\n }[];\n /** @description If the request involves specifying transactions to be executed during the deposit transaction, an explicit gas limit must be set when requesting the quote */\n gasLimitForDepositSpecifiedTxs?: number;\n /** @description Force executing swap requests via the solver (by default, same-chain swap requests are self-executed) */\n forceSolverExecution?: boolean;\n /** @description If the sponsor should pay for the fees associated with the request. Includes gas topup amounts. */\n subsidizeFees?: boolean;\n /** @description The fee components to sponsor for swap execution kinds. Requires subsidizeFees=true. Defaults to execution, swap, relay, and app when omitted; rent remains user-paid unless explicitly selected. */\n sponsoredFeeComponents?: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The max subsidization amount in USDC decimal format, e.g 1000000 = $1. subsidizeFees must be enabled. The sponsor will cover fees up to this cap and the user pays any remainder. */\n maxSubsidizationAmount?: string;\n /** @description The share of each sponsored fee component the sponsor covers, in bps, e.g 10000 = 100% and 2500 = 25%. subsidizeFees must be enabled. Defaults to full coverage when omitted; the user pays the remainder. Applied before maxSubsidizationAmount, which still caps the sponsor's total. */\n subsidizationBps?: number;\n /**\n * @deprecated\n * @description Deprecated compatibility alias that adds \"rent\" to sponsoredFeeComponents.\n */\n subsidizeRent?: boolean;\n /** @description Swap sources to include for swap routing. */\n includedSwapSources?: string[];\n /** @description Swap sources to exclude for swap routing. */\n excludedSwapSources?: string[];\n /** @description Swap sources to include for swap routing on origin. */\n includedOriginSwapSources?: string[];\n /** @description Swap sources to include for swap routing on destination. */\n includedDestinationSwapSources?: string[];\n /** @description The gas overhead for the origin chain, this is used to calculate the gas fee for the origin chain when the solver is executing a gasless transaction on the origin chain */\n originGasOverhead?: number;\n /** @description The payer to be set for deposit transactions on solana. This account must have enough for fees and rent. */\n depositFeePayer?: string;\n /** @description Maximum number of hops to use in solana swap routing. Can reduce transaction size. */\n maxRouteLength?: number;\n /** @description Prevents certain ATA creation instructions in solana routing */\n useSharedAccounts?: boolean;\n /** @description Whether to include compute unit limit instruction for solana origin requests. */\n includeComputeUnitLimit?: boolean;\n /** @description Whether to ignore price impact errors. */\n overridePriceImpact?: boolean;\n /** @description Whether to disable preferred swap provider selection. */\n disableSwapProviderPreference?: boolean;\n /** @description Whether to disable origin swaps. */\n disableOriginSwaps?: boolean;\n /** @description Whether to return an inexecutable quote meant to be used as a preview. */\n indicativeQuote?: boolean;\n /** @description The rate to charge for fixed spread quotes. */\n fixedRate?: string;\n /** @description Requester-provided price (destination-leg output units per input unit) to compare router quotes against when fastestInPriceRange is enabled for the API key. Quotes more than 20% below it are skipped; quotes above it are always accepted. */\n referencePrice?: string;\n /** @description Whether to use route racing for this quote (executing multiple candidate routes on-chain and keeping the best), when the API key is authorized for it. */\n useRouteRacing?: boolean;\n /** @description Minimum fill size in USD eligible for route racing. Defaults to 100. Route racing has no maximum fill size. */\n routeRacingMinUsdSize?: number;\n /** @description Time-to-live for the quote, in seconds, measured from when the quote was generated. If the request is not filled within this window it is refunded instead of filled. */\n ttl?: number;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description A unique identifier for the quote */\n requestId?: string;\n /**\n * @description An array of steps detailing what needs to be done to bridge, steps includes multiple items of the same kind (signature, transaction, etc)\n * @example [\n * {\n * \"id\": \"deposit\",\n * \"action\": \"Confirm transaction in your wallet\",\n * \"description\": \"Depositing funds to the relayer to execute the swap for USDC\",\n * \"kind\": \"transaction\",\n * \"requestId\": \"0x92b99e6e1ee1deeb9531b5ad7f87091b3d71254b3176de9e8b5f6c6d0bd3a331\",\n * \"items\": [\n * {\n * \"status\": \"incomplete\",\n * \"data\": {\n * \"from\": \"0x0CccD55A5Ac261Ea29136831eeaA93bfE07f5Db6\",\n * \"to\": \"0xf70da97812cb96acdf810712aa562db8dfa3dbef\",\n * \"data\": \"0x00fad611\",\n * \"value\": \"1000000000000000000\",\n * \"maxFeePerGas\": \"12205661344\",\n * \"maxPriorityFeePerGas\": \"2037863396\",\n * \"chainId\": 1\n * },\n * \"check\": {\n * \"endpoint\": \"/intents/status?requestId=0x92b99e6e1ee1deeb9531b5ad7f87091b3d71254b3176de9e8b5f6c6d0bd3a331\",\n * \"method\": \"GET\"\n * }\n * }\n * ]\n * }\n * ]\n */\n steps?: ({\n /**\n * @description Unique identifier tied to the step\n * @enum {string}\n */\n id: \"deposit\" | \"approve\" | \"authorize\" | \"authorize1\" | \"authorize2\" | \"swap\" | \"send\";\n /** @description A call to action for the step */\n action: string;\n /** @description A short description of the step and what it entails */\n description: string;\n /** @description The kind of step, can either be a transaction or a signature. Transaction steps require submitting a transaction while signature steps require submitting a signature */\n kind: string;\n /** @description A unique identifier for this step, tying all related transactions together */\n requestId?: string;\n /** @description The deposit address for the bridge request */\n depositAddress?: string;\n /** @description The Deposit Address service resource identifier */\n depositAddressId?: string;\n /** @description While uncommon it is possible for steps to contain multiple items of the same kind (transaction/signature) grouped together that can be executed simultaneously. */\n items: {\n /** @description Can either be complete or incomplete, this can be locally controlled once the step item is completed (depending on the kind) and the check object (if returned) has been verified. Once all step items are complete, the bridge is complete */\n status?: string;\n data?: unknown;\n /** @description Details an endpoint and a method you should poll to get confirmation, the endpoint should return a boolean success flag which can be used to determine if the step item is complete */\n check?: {\n /** @description The endpoint to confirm that the step item was successfully completed */\n endpoint?: string;\n /** @description The REST method to access the endpoint */\n method?: string;\n };\n }[];\n })[];\n fees?: {\n /**\n * @description Origin chain gas fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n gas?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Combination of the relayerGas and relayerService to give you the full relayer fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayer?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Destination chain gas fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayerGas?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Fees paid to the relay solver, note that this value can be negative (which represents network rewards for moving in a direction that optimizes liquidity distribution)\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayerService?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n app?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The amount of fees for the request that are subsidized by the request sponsor. Does not include deposit origin gas unless it is a permit based deposit.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n subsidized?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Granular fee sponsorship details derived from the solver's internal sponsorship resolution. */\n feeSponsorship?: {\n /** @description The quote-time sponsorship expectation for the request. */\n quoted?: {\n /** @description The normalized sponsorship buckets selected for this request. */\n selectedComponents: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The requested sponsorship cap in USD micro-units, when one was configured for the request. */\n maxSubsidizationAmount?: string;\n /** @description The requested share of each selected fee bucket the sponsor covers, in bps (10000 = 100%), when one was configured for the request. */\n subsidizationBps?: number;\n /** @description Whether the configured sponsorship cap limited the selected fee buckets for this phase. */\n capHit: boolean;\n /** @description Per-bucket sponsorship details for the sponsorable fee components. */\n components: {\n /** @description Execution fee sponsorship details. */\n execution: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Swap fee sponsorship details. */\n swap: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Relay protocol fee sponsorship details. */\n relay: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description App fee sponsorship details. */\n app: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Solana ATA rent sponsorship details. */\n rent: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n };\n /**\n * @description The total amount sponsored for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsoredTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The total amount the user paid across the sponsorable fee buckets for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPaysTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description The post-solve sponsorship outcome recorded for the request. */\n actual?: {\n /** @description The normalized sponsorship buckets selected for this request. */\n selectedComponents: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The requested sponsorship cap in USD micro-units, when one was configured for the request. */\n maxSubsidizationAmount?: string;\n /** @description The requested share of each selected fee bucket the sponsor covers, in bps (10000 = 100%), when one was configured for the request. */\n subsidizationBps?: number;\n /** @description Whether the configured sponsorship cap limited the selected fee buckets for this phase. */\n capHit: boolean;\n /** @description Per-bucket sponsorship details for the sponsorable fee components. */\n components: {\n /** @description Execution fee sponsorship details. */\n execution: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Swap fee sponsorship details. */\n swap: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Relay protocol fee sponsorship details. */\n relay: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description App fee sponsorship details. */\n app: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Solana ATA rent sponsorship details. */\n rent: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n };\n /**\n * @description The total amount sponsored for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsoredTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The total amount the user paid across the sponsorable fee buckets for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPaysTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description How much the sponsor ultimately paid, denominated in the sponsor payment currency. */\n sponsorPayment?: {\n /** @description The sponsor payment amount. */\n amount: string;\n /** @description The sponsor payment currency address. */\n address: string;\n /** @description The sponsor payment chain id. */\n chainId: number;\n };\n };\n };\n /** @description A summary of the swap and what the user should expect to happen given an input */\n details?: {\n /** @description The operation that will be performed, possible options are send, swap, wrap, unwrap, bridge */\n operation?: string;\n /** @description The address that deposited the funds */\n sender?: string;\n /** @description The address that will be receiving the swap output */\n recipient?: string;\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyIn?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyOut?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n refundCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyGasTopup?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The difference between the input and output values, including fees */\n totalImpact?: {\n usd?: string;\n percent?: string;\n };\n /** @description The impact of the swap, not factoring in fees */\n swapImpact?: {\n usd?: string;\n percent?: string;\n };\n expandedPriceImpact?: {\n /** @description Cost to execute swap or bridge depending on available liquidity. This value can be negative (representing network rewards for improving liquidity distribution) */\n swap?: {\n usd?: string;\n };\n /** @description Fees paid to cover transaction execution costs */\n execution?: {\n usd?: string;\n };\n /** @description Fees paid to the protocol */\n relay?: {\n usd?: string;\n };\n /** @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app */\n app?: {\n usd?: string;\n };\n /** @description Fees paid by a sponsor for this request */\n sponsored?: {\n usd?: string;\n };\n };\n /** @description The swap rate which is equal to 1 input unit in the output unit, e.g. 1 USDC -> x ETH. This value can fluctuate based on gas and fees. */\n rate?: string;\n slippageTolerance?: {\n /** @description The total slippage tolerance applied to the order, in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage. The origin and destination breakdowns are alternative allocations of this budget and are not additive. */\n total?: string;\n /** @description The slippage tolerance on the origin chain swap */\n origin?: {\n usd?: string;\n value?: string;\n percent?: string;\n };\n /** @description The slippage tolerance on the destination chain swap */\n destination?: {\n usd?: string;\n value?: string;\n percent?: string;\n };\n };\n /** @description Estimated swap time in seconds */\n timeEstimate?: number;\n /** @description The user's balance in the given currency on the origin chain */\n userBalance?: string;\n /** @description The type of fallback route the request uses, if any */\n fallbackType?: string;\n /** @description Whether the rate for the quote is fixed or dynamic (swap on origin/destination) */\n isFixedRate?: boolean;\n /** @description The USD cost of the fixed rate vs market rate. Positive means the fixed rate is worse than market (user pays premium), negative means better (user benefits). Only present for fixed rate quotes. */\n fixedRateFee?: {\n usd?: string;\n };\n route?: {\n /** @description The route taken for the origin chain swap */\n origin?: {\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n router?: string;\n includedSwapSources?: string[];\n };\n /** @description The route taken for the origin chain swap */\n destination?: {\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n router?: string;\n includedSwapSources?: string[];\n };\n };\n };\n /** @description Protocol information for the quote */\n protocol?: {\n v2?: {\n /** @description The underlying protocol order id */\n orderId?: string;\n /**\n * @description The protocol hub type. Always 'onchain' for the public protocol contract. Mirrors the requests/v3 protocol block.\n * @enum {string}\n */\n hubType?: \"onchain\";\n /** @description The underlying protocol order data */\n orderData?: unknown;\n /** @description Solver's ECDSA signature over the orderId, returned when includeProtocolData is set. Use ecrecover to verify the commitment on-chain. */\n orderSignature?: string;\n /** @description The details for the depository payment */\n paymentDetails?: {\n /** @description The protocol chain id for the payment */\n chainId?: string;\n /** @description The depository address */\n depository?: string;\n /** @description The currency of the payment */\n currency?: string;\n /** @description The amount of the payment */\n amount?: string;\n };\n };\n };\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n errorData?: string;\n requestId?: string;\n approxSimulatedBlock?: number;\n failedCallData?: {\n from?: string;\n to?: string;\n data?: string;\n value?: string;\n };\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 429: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n requestId?: string;\n };\n };\n };\n };\n };\n };\n \"/quote/v2\": {\n post: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n /**\n * @description Address that is depositing funds on the origin chain and submitting transactions or signatures\n * @default 0x03508bb71268bba25ecacc8f620e01866650532c\n */\n user: string;\n /** @description Address that is receiving the funds on the destination chain, if not specified then this will default to the user address */\n recipient?: string;\n /** @default 8453 */\n originChainId: number;\n /** @default 10 */\n destinationChainId: number;\n /** @default 0x0000000000000000000000000000000000000000 */\n originCurrency: string;\n /** @default 0x0000000000000000000000000000000000000000 */\n destinationCurrency: string;\n /**\n * @description Amount to swap as the base amount (can be switched to exact input/output using the dedicated flag), denoted in the smallest unit of the specified currency (e.g., wei for ETH)\n * @default 1000000000000000000\n */\n amount: string;\n /**\n * @description Whether to use the amount as the output or the input for the basis of the swap\n * @default EXACT_INPUT\n * @enum {string}\n */\n tradeType: \"EXACT_INPUT\" | \"EXACT_OUTPUT\" | \"EXPECTED_OUTPUT\";\n txs?: {\n to?: string;\n value?: string;\n data?: string;\n originalTxValue?: string;\n }[];\n /** @description Total gas limit for the destination chain call transactions */\n txsGasLimit?: number;\n /** @description Authorization list for EIP-7702 transactions to be executed on destination chain */\n authorizationList?: {\n chainId: number;\n address: string;\n nonce: number;\n yParity: number;\n r: string;\n s: string;\n }[];\n /** @description Additional data needed for specific routes */\n additionalData?: {\n /** @description If the request originates from Bitcoin and the user is a P2SH address, the public key is needed to be able to generate the transaction data */\n userPublicKey?: string;\n };\n referrer?: string;\n referrerAddress?: string;\n /** @description Address to send the refund to in the case of failure, if not specified then the recipient address or user address is used */\n refundTo?: string;\n /** @description Origin-chain address used for deposit-address fund recovery. Requires useDepositAddress=true. */\n recoveryAddress?: string;\n /**\n * @deprecated\n * @description Always refund on the origin chain in case of any issues\n */\n refundOnOrigin?: boolean;\n /** @description If set, the destination fill will include a gas topup to the recipient (only supported for EVM chains if the requested currency is not the gas currency on the destination chain) */\n topupGas?: boolean;\n /** @description The destination gas topup amount in USD decimal format, e.g 100000 = $1. topupGas is required to be enabled. Defaults to 2000000 ($2) */\n topupGasAmount?: string;\n /**\n * @description Enabling will send any swap surplus when doing exact output operations to the solver EOA, otherwise it will be swept to the recipient\n * @default false\n */\n enableTrueExactOutput?: boolean;\n /**\n * @description Enable this to avoid direct transfers to the depository (only relevant for EVM and v2 protocol flow)\n * @default true\n */\n explicitDeposit?: boolean;\n /** @description Enable this to use canonical+ bridging, trading speed for more liquidity */\n useExternalLiquidity?: boolean;\n /** @description Enable this for specific fallback routes */\n useFallbacks?: boolean;\n /** @description Enable this to use permit (eip3009) when bridging, only works on supported currency such as usdc */\n usePermit?: boolean;\n /** @description How long the permit remains valid, in seconds. Defaults to 10 minutes. */\n permitExpiry?: number;\n /** @description Return protocol data for on-chain intent validation. This includes protocol.v2.orderSignature and may increase quote latency. */\n includeProtocolData?: boolean;\n /** @description Use a deposit address when calldata cannot be sent with the origin transaction. In /quote/v2, creation follows the requested trade type. */\n useDepositAddress?: boolean;\n /** @description Deprecated and ignored by /quote/v2. Deprecated quote endpoints retain their existing strict behavior. */\n strict?: boolean;\n /** @description Slippage tolerance for the swap, if not specified then the slippage tolerance is automatically calculated to avoid front-running. This value is in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage. Must be 0–10000 bps. */\n slippageTolerance?: string;\n /** @description Slippage tolerance for destination gas in the event that the deposit occurs after the order deadline, and more gas is required for the solver to execute the destination transaction. Must be 0–10000 bps. */\n latePaymentSlippageTolerance?: string;\n appFees?: {\n /** @description Address that will receive the app fee */\n recipient?: string;\n /** @description App fees to be charged for execution in basis points, e.g. 100 = 1% */\n fee?: string;\n }[];\n /** @description If the request involves specifying transactions to be executed during the deposit transaction, an explicit gas limit must be set when requesting the quote */\n gasLimitForDepositSpecifiedTxs?: number;\n /** @description Force executing swap requests via the solver (by default, same-chain swap requests are self-executed) */\n forceSolverExecution?: boolean;\n /** @description If the sponsor should pay for the fees associated with the request. Includes gas topup amounts. */\n subsidizeFees?: boolean;\n /** @description The fee components to sponsor for swap execution kinds. Requires subsidizeFees=true. Defaults to execution, swap, relay, and app when omitted; rent remains user-paid unless explicitly selected. */\n sponsoredFeeComponents?: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The max subsidization amount in USDC decimal format, e.g 1000000 = $1. subsidizeFees must be enabled. The sponsor will cover fees up to this cap and the user pays any remainder. */\n maxSubsidizationAmount?: string;\n /** @description The share of each sponsored fee component the sponsor covers, in bps, e.g 10000 = 100% and 2500 = 25%. subsidizeFees must be enabled. Defaults to full coverage when omitted; the user pays the remainder. Applied before maxSubsidizationAmount, which still caps the sponsor's total. */\n subsidizationBps?: number;\n /**\n * @deprecated\n * @description Deprecated compatibility alias that adds \"rent\" to sponsoredFeeComponents.\n */\n subsidizeRent?: boolean;\n /** @description Swap sources to include for swap routing. */\n includedSwapSources?: string[];\n /** @description Swap sources to exclude for swap routing. */\n excludedSwapSources?: string[];\n /** @description Swap sources to include for swap routing on origin. */\n includedOriginSwapSources?: string[];\n /** @description Swap sources to include for swap routing on destination. */\n includedDestinationSwapSources?: string[];\n /** @description The gas overhead for the origin chain, this is used to calculate the gas fee for the origin chain when the solver is executing a gasless transaction on the origin chain */\n originGasOverhead?: number;\n /** @description The payer to be set for deposit transactions on solana. This account must have enough for fees and rent. */\n depositFeePayer?: string;\n /** @description Maximum number of hops to use in solana swap routing. Can reduce transaction size. */\n maxRouteLength?: number;\n /** @description Prevents certain ATA creation instructions in solana routing */\n useSharedAccounts?: boolean;\n /** @description Whether to include compute unit limit instruction for solana origin requests. */\n includeComputeUnitLimit?: boolean;\n /** @description Whether to ignore price impact errors. */\n overridePriceImpact?: boolean;\n /** @description Whether to disable preferred swap provider selection. */\n disableSwapProviderPreference?: boolean;\n /** @description Whether to disable origin swaps. */\n disableOriginSwaps?: boolean;\n /** @description Whether to return an inexecutable quote meant to be used as a preview. */\n indicativeQuote?: boolean;\n /** @description The rate to charge for fixed spread quotes. */\n fixedRate?: string;\n /** @description Requester-provided price (destination-leg output units per input unit) to compare router quotes against when fastestInPriceRange is enabled for the API key. Quotes more than 20% below it are skipped; quotes above it are always accepted. */\n referencePrice?: string;\n /** @description Whether to use route racing for this quote (executing multiple candidate routes on-chain and keeping the best), when the API key is authorized for it. */\n useRouteRacing?: boolean;\n /** @description Minimum fill size in USD eligible for route racing. Defaults to 100. Route racing has no maximum fill size. */\n routeRacingMinUsdSize?: number;\n /** @description Time-to-live for the quote, in seconds, measured from when the quote was generated. If the request is not filled within this window it is refunded instead of filled. */\n ttl?: number;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description A unique identifier for the quote */\n requestId?: string;\n /**\n * @description An array of steps detailing what needs to be done to bridge, steps includes multiple items of the same kind (signature, transaction, etc)\n * @example [\n * {\n * \"id\": \"deposit\",\n * \"action\": \"Confirm transaction in your wallet\",\n * \"description\": \"Depositing funds to the relayer to execute the swap for USDC\",\n * \"kind\": \"transaction\",\n * \"requestId\": \"0x92b99e6e1ee1deeb9531b5ad7f87091b3d71254b3176de9e8b5f6c6d0bd3a331\",\n * \"items\": [\n * {\n * \"status\": \"incomplete\",\n * \"data\": {\n * \"from\": \"0x0CccD55A5Ac261Ea29136831eeaA93bfE07f5Db6\",\n * \"to\": \"0xf70da97812cb96acdf810712aa562db8dfa3dbef\",\n * \"data\": \"0x00fad611\",\n * \"value\": \"1000000000000000000\",\n * \"maxFeePerGas\": \"12205661344\",\n * \"maxPriorityFeePerGas\": \"2037863396\",\n * \"chainId\": 1\n * },\n * \"check\": {\n * \"endpoint\": \"/intents/status?requestId=0x92b99e6e1ee1deeb9531b5ad7f87091b3d71254b3176de9e8b5f6c6d0bd3a331\",\n * \"method\": \"GET\"\n * }\n * }\n * ]\n * }\n * ]\n */\n steps?: ({\n /**\n * @description Unique identifier tied to the step\n * @enum {string}\n */\n id: \"deposit\" | \"approve\" | \"authorize\" | \"authorize1\" | \"authorize2\" | \"swap\" | \"send\";\n /** @description A call to action for the step */\n action: string;\n /** @description A short description of the step and what it entails */\n description: string;\n /** @description The kind of step, can either be a transaction or a signature. Transaction steps require submitting a transaction while signature steps require submitting a signature */\n kind: string;\n /** @description A unique identifier for this step, tying all related transactions together */\n requestId?: string;\n /** @description The deposit address for the bridge request */\n depositAddress?: string;\n /** @description The Deposit Address service resource identifier */\n depositAddressId?: string;\n /** @description While uncommon it is possible for steps to contain multiple items of the same kind (transaction/signature) grouped together that can be executed simultaneously. */\n items: {\n /** @description Can either be complete or incomplete, this can be locally controlled once the step item is completed (depending on the kind) and the check object (if returned) has been verified. Once all step items are complete, the bridge is complete */\n status?: string;\n data?: unknown;\n /** @description Details an endpoint and a method you should poll to get confirmation, the endpoint should return a boolean success flag which can be used to determine if the step item is complete */\n check?: {\n /** @description The endpoint to confirm that the step item was successfully completed */\n endpoint?: string;\n /** @description The REST method to access the endpoint */\n method?: string;\n };\n }[];\n })[];\n fees?: {\n /**\n * @description Origin chain gas fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n gas?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Combination of the relayerGas and relayerService to give you the full relayer fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayer?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Destination chain gas fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayerGas?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Fees paid to the relay solver, note that this value can be negative (which represents network rewards for moving in a direction that optimizes liquidity distribution)\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayerService?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n app?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The amount of fees for the request that are subsidized by the request sponsor. Does not include deposit origin gas unless it is a permit based deposit.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n subsidized?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Granular fee sponsorship details derived from the solver's internal sponsorship resolution. */\n feeSponsorship?: {\n /** @description The quote-time sponsorship expectation for the request. */\n quoted?: {\n /** @description The normalized sponsorship buckets selected for this request. */\n selectedComponents: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The requested sponsorship cap in USD micro-units, when one was configured for the request. */\n maxSubsidizationAmount?: string;\n /** @description The requested share of each selected fee bucket the sponsor covers, in bps (10000 = 100%), when one was configured for the request. */\n subsidizationBps?: number;\n /** @description Whether the configured sponsorship cap limited the selected fee buckets for this phase. */\n capHit: boolean;\n /** @description Per-bucket sponsorship details for the sponsorable fee components. */\n components: {\n /** @description Execution fee sponsorship details. */\n execution: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Swap fee sponsorship details. */\n swap: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Relay protocol fee sponsorship details. */\n relay: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description App fee sponsorship details. */\n app: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Solana ATA rent sponsorship details. */\n rent: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n };\n /**\n * @description The total amount sponsored for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsoredTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The total amount the user paid across the sponsorable fee buckets for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPaysTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description The post-solve sponsorship outcome recorded for the request. */\n actual?: {\n /** @description The normalized sponsorship buckets selected for this request. */\n selectedComponents: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The requested sponsorship cap in USD micro-units, when one was configured for the request. */\n maxSubsidizationAmount?: string;\n /** @description The requested share of each selected fee bucket the sponsor covers, in bps (10000 = 100%), when one was configured for the request. */\n subsidizationBps?: number;\n /** @description Whether the configured sponsorship cap limited the selected fee buckets for this phase. */\n capHit: boolean;\n /** @description Per-bucket sponsorship details for the sponsorable fee components. */\n components: {\n /** @description Execution fee sponsorship details. */\n execution: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Swap fee sponsorship details. */\n swap: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Relay protocol fee sponsorship details. */\n relay: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description App fee sponsorship details. */\n app: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Solana ATA rent sponsorship details. */\n rent: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n };\n /**\n * @description The total amount sponsored for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsoredTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The total amount the user paid across the sponsorable fee buckets for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPaysTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description How much the sponsor ultimately paid, denominated in the sponsor payment currency. */\n sponsorPayment?: {\n /** @description The sponsor payment amount. */\n amount: string;\n /** @description The sponsor payment currency address. */\n address: string;\n /** @description The sponsor payment chain id. */\n chainId: number;\n };\n };\n };\n /** @description A summary of the swap and what the user should expect to happen given an input */\n details?: {\n /** @description The operation that will be performed, possible options are send, swap, wrap, unwrap, bridge */\n operation?: string;\n /** @description The address that deposited the funds */\n sender?: string;\n /** @description The address that will be receiving the swap output */\n recipient?: string;\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyIn?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyOut?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n refundCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyGasTopup?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The difference between the input and output values, including fees */\n totalImpact?: {\n usd?: string;\n percent?: string;\n };\n /** @description The impact of the swap, not factoring in fees */\n swapImpact?: {\n usd?: string;\n percent?: string;\n };\n expandedPriceImpact?: {\n /** @description Cost to execute swap or bridge depending on available liquidity. This value can be negative (representing network rewards for improving liquidity distribution) */\n swap?: {\n usd?: string;\n };\n /** @description Fees paid to cover transaction execution costs */\n execution?: {\n usd?: string;\n };\n /** @description Fees paid to the protocol */\n relay?: {\n usd?: string;\n };\n /** @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app */\n app?: {\n usd?: string;\n };\n /** @description Fees paid by a sponsor for this request */\n sponsored?: {\n usd?: string;\n };\n };\n /** @description The swap rate which is equal to 1 input unit in the output unit, e.g. 1 USDC -> x ETH. This value can fluctuate based on gas and fees. */\n rate?: string;\n slippageTolerance?: {\n /** @description The total slippage tolerance applied to the order, in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage. The origin and destination breakdowns are alternative allocations of this budget and are not additive. */\n total?: string;\n /** @description The slippage tolerance on the origin chain swap */\n origin?: {\n usd?: string;\n value?: string;\n percent?: string;\n };\n /** @description The slippage tolerance on the destination chain swap */\n destination?: {\n usd?: string;\n value?: string;\n percent?: string;\n };\n };\n /** @description Estimated swap time in seconds */\n timeEstimate?: number;\n /** @description The user's balance in the given currency on the origin chain */\n userBalance?: string;\n /** @description The type of fallback route the request uses, if any */\n fallbackType?: string;\n /** @description Whether the rate for the quote is fixed or dynamic (swap on origin/destination) */\n isFixedRate?: boolean;\n /** @description The USD cost of the fixed rate vs market rate. Positive means the fixed rate is worse than market (user pays premium), negative means better (user benefits). Only present for fixed rate quotes. */\n fixedRateFee?: {\n usd?: string;\n };\n route?: {\n /** @description The route taken for the origin chain swap */\n origin?: {\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n router?: string;\n includedSwapSources?: string[];\n };\n /** @description The route taken for the origin chain swap */\n destination?: {\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n router?: string;\n includedSwapSources?: string[];\n };\n };\n };\n /** @description Protocol information for the quote */\n protocol?: {\n v2?: {\n /** @description The underlying protocol order id */\n orderId?: string;\n /**\n * @description The protocol hub type. Always 'onchain' for the public protocol contract. Mirrors the requests/v3 protocol block.\n * @enum {string}\n */\n hubType?: \"onchain\";\n /** @description The underlying protocol order data */\n orderData?: unknown;\n /** @description Solver's ECDSA signature over the orderId, returned when includeProtocolData is set. Use ecrecover to verify the commitment on-chain. */\n orderSignature?: string;\n /** @description The details for the depository payment */\n paymentDetails?: {\n /** @description The protocol chain id for the payment */\n chainId?: string;\n /** @description The depository address */\n depository?: string;\n /** @description The currency of the payment */\n currency?: string;\n /** @description The amount of the payment */\n amount?: string;\n };\n };\n };\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n errorData?: string;\n requestId?: string;\n approxSimulatedBlock?: number;\n failedCallData?: {\n from?: string;\n to?: string;\n data?: string;\n value?: string;\n };\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 429: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n requestId?: string;\n };\n };\n };\n };\n };\n };\n \"/price\": {\n post: {\n requestBody: {\n content: {\n \"application/json\": {\n /** @description Address that is depositing funds on the origin chain and submitting transactions or signatures */\n user: string;\n /** @description Address that is receiving the funds on the destination chain, if not specified then this will default to the user address */\n recipient?: string;\n originChainId: number;\n destinationChainId: number;\n originCurrency: string;\n destinationCurrency: string;\n /** @description Amount to swap as the base amount (can be switched to exact input/output using the dedicated flag), denoted in the smallest unit of the specified currency (e.g., wei for ETH) */\n amount: string;\n /**\n * @description Whether to use the amount as the output or the input for the basis of the swap\n * @enum {string}\n */\n tradeType: \"EXACT_INPUT\" | \"EXACT_OUTPUT\" | \"EXPECTED_OUTPUT\";\n txs?: {\n to?: string;\n value?: string;\n data?: string;\n }[];\n referrer?: string;\n /** @description Address to send the refund to in the case of failure, if not specified then the recipient address or user address is used */\n refundTo?: string;\n /**\n * @deprecated\n * @description Always refund on the origin chain in case of any issues\n */\n refundOnOrigin?: boolean;\n /** @description Enable this to use canonical+ bridging, trading speed for more liquidity */\n useExternalLiquidity?: boolean;\n /** @description Enable this for specific fallback routes */\n useFallbacks?: boolean;\n /** @description Enable this to use permit (eip3009) when bridging, only works on supported currency such as usdc */\n usePermit?: boolean;\n /** @description Enable this to use a deposit address when bridging, in scenarios where calldata cannot be sent alongside the transaction. only works on native currency bridges. */\n useDepositAddress?: boolean;\n /** @description Slippage tolerance for the swap, if not specified then the slippage tolerance is automatically calculated to avoid front-running. This value is in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage. Must be 0–10000 bps. */\n slippageTolerance?: string;\n appFees?: {\n /** @description Address that will receive the app fee */\n recipient?: string;\n /** @description App fees to be charged for execution in basis points, e.g. 100 = 1% */\n fee?: string;\n }[];\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n fees?: {\n /**\n * @description Origin chain gas fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n gas?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Combination of the relayerGas and relayerService to give you the full relayer fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayer?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Destination chain gas fee\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayerGas?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Fees paid to the relay solver, note that this value can be negative (which represents network rewards for moving in a direction that optimizes liquidity distribution)\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayerService?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n app?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The amount of fees for the request that are subsidized by the request sponsor. Does not include deposit origin gas unless it is a permit based deposit.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n subsidized?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description A summary of the swap and what the user should expect to happen given an input */\n details?: {\n /** @description The operation that will be performed, possible options are send, swap, wrap, unwrap, bridge */\n operation?: string;\n /** @description The address that deposited the funds */\n sender?: string;\n /** @description The address that will be receiving the swap output */\n recipient?: string;\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyIn?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyOut?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description The difference between the input and output values, including fees */\n totalImpact?: {\n usd?: string;\n percent?: string;\n };\n /** @description The impact of the swap, not factoring in fees */\n swapImpact?: {\n usd?: string;\n percent?: string;\n };\n /** @description The swap rate which is equal to 1 input unit in the output unit, e.g. 1 USDC -> x ETH. This value can fluctuate based on gas and fees. */\n rate?: string;\n slippageTolerance?: {\n /** @description The total slippage tolerance applied to the order, in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage. The origin and destination breakdowns are alternative allocations of this budget and are not additive. */\n total?: string;\n /** @description The slippage tolerance on the origin chain swap */\n origin?: {\n usd?: string;\n value?: string;\n percent?: string;\n };\n /** @description The slippage tolerance on the destination chain swap */\n destination?: {\n usd?: string;\n value?: string;\n percent?: string;\n };\n };\n /** @description Estimated swap time in seconds */\n timeEstimate?: number;\n /** @description The user's balance in the given currency on the origin chain */\n userBalance?: string;\n };\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n errorData?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n };\n };\n };\n \"/execute\": {\n post: {\n parameters: {\n header: {\n /** @description Required API key for authentication. Contact the team for getting an API Key */\n \"x-api-key\": string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n /**\n * @description The kind of gasless transaction to execute. Currently supported: rawCalls\n * @enum {string}\n */\n executionKind: \"rawCalls\";\n /** @description Raw call parameters for the gasless transaction */\n data: {\n /** @description Chain ID of the EVM network */\n chainId: number;\n /** @description Address of the contract to call */\n to: string;\n /** @description Encoded function call data */\n data: string;\n /** @description ETH value to send with the call (in wei) */\n value: string;\n /** @description Authorization list for EIP-7702 transactions to be executed on destination chain */\n authorizationList?: {\n chainId: number;\n address: string;\n nonce: number;\n yParity: number;\n r: string;\n s: string;\n }[];\n };\n /** @description Options related to gas fee sponsorship, app referrer and destination calls */\n executionOptions: {\n /** @description The referrer of the app which is executing the gasless transaction */\n referrer?: string;\n /** @description If the app should pay for the fees associated with the request */\n subsidizeFees: boolean;\n /** @description Destination execution data for the gasless transaction */\n destinationChainExecutionData?: {\n /** @description Calls to be executed on the destination chain */\n calls: {\n to?: string;\n value?: string;\n data?: string;\n }[];\n /** @description Authorization list for EIP-7702 transactions to be executed on destination chain */\n authorizationList?: {\n chainId: number;\n address: string;\n nonce: number;\n yParity: number;\n r: string;\n s: string;\n }[];\n };\n };\n /** @description The request ID of the gasless transaction to execute */\n requestId?: string;\n };\n };\n };\n responses: {\n /** @description Transaction successfully queued for execution */\n 200: {\n content: {\n \"application/json\": {\n /** @example Transaction submitted */\n message?: string;\n /** @example 0xabc123... */\n requestId?: string;\n };\n };\n };\n /** @description Bad Request - Invalid input or simulation failure */\n 400: {\n content: {\n \"application/json\": {\n /** @example to is required */\n error: string;\n } | {\n /** @example data is required */\n error: string;\n } | {\n /** @example value is required */\n error: string;\n } | {\n /** @example chainId is required */\n error: string;\n } | {\n /** @example authorizationList cannot be empty */\n error: string;\n } | ({\n /** @example DELEGATION_REDEEM_FAILED */\n error: string;\n /** @example Delegation redemption reverted without data. Verify the signed delegation is unredeemed and matches the current chain, mode, and account. */\n message: string;\n /** @example 0xabc123... */\n requestId: string;\n details?: {\n topLevel: {\n type: string;\n address?: string;\n contract?: string;\n function?: string;\n selector?: string;\n error?: string;\n revertReason?: string;\n gasUsed?: string;\n };\n innermost: {\n type: string;\n address?: string;\n contract?: string;\n function?: string;\n selector?: string;\n error?: string;\n revertReason?: string;\n gasUsed?: string;\n };\n path: {\n type: string;\n address?: string;\n contract?: string;\n function?: string;\n selector?: string;\n error?: string;\n revertReason?: string;\n gasUsed?: string;\n }[];\n revert: {\n /** @enum {string} */\n type: \"errorString\" | \"panic\" | \"customError\" | \"unknownCustomError\" | \"empty\";\n /** @example DELEGATION_REDEEM_FAILED */\n label: string;\n /** @example Delegation redemption reverted without data. Verify the signed delegation is unredeemed and matches the current chain, mode, and account. */\n message: string;\n /** @example 0x08c379a0 */\n selector?: string;\n /** @example Error */\n name?: string;\n args?: {\n [key: string]: string;\n };\n rawArgsHex?: string;\n };\n };\n });\n };\n };\n /** @description Unauthorized - Missing or invalid API key */\n 401: {\n content: {\n \"application/json\": {\n /** @example Unauthorized */\n error?: string;\n };\n };\n };\n /** @description Internal Server Error */\n 500: {\n content: {\n \"application/json\": {\n /** @example Internal server error */\n error?: string;\n };\n };\n };\n };\n };\n };\n \"/fast-fill\": {\n post: {\n parameters: {\n header: {\n /** @description Required API key for authentication. Contact the team for getting an API Key */\n \"x-api-key\": string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n /** @description The request ID of the request that needs to be fast filled */\n requestId: string;\n /** @description The input currency amount that the solver receives on origin */\n solverInputCurrencyAmount?: string;\n /** @description Optional per-request USD limit. If the computed fill value exceeds this amount, the request is rejected. Must be lower than or equal to the app's available USDC balance. */\n maxFillAmountUsd?: number;\n };\n };\n };\n responses: {\n /** @description Request was successful. It was either queued or found to be already executed. */\n 200: {\n content: {\n \"application/json\": {\n /** @example Request successfully queued for fast fill. */\n message?: string;\n };\n };\n };\n /** @description Bad Request - The request body contains invalid data. */\n 400: {\n content: {\n \"application/json\": {\n /** @example Currency is required and could not be determined. */\n message?: string;\n };\n };\n };\n /** @description Unauthorized - Missing or invalid API key. */\n 401: {\n content: {\n \"application/json\": {\n /** @example Unauthorized: Check API Key */\n message?: string;\n };\n };\n };\n /** @description Forbidden - No sponsoring wallet with app balance configured. */\n 403: {\n content: {\n \"application/json\": {\n /** @example Forbidden: Fast fill requires a sponsoring wallet with app balance. */\n message?: string;\n };\n };\n };\n /** @description The requested requestId could not be found. */\n 404: {\n content: {\n \"application/json\": {\n /** @example Request not found */\n message?: string;\n };\n };\n };\n /** @description Conflict - This request is already being processed. */\n 409: {\n content: {\n \"application/json\": {\n /** @example Conflict: This request is already being processed. */\n message?: string;\n };\n };\n };\n /** @description Internal Server Error. */\n 500: {\n content: {\n \"application/json\": {\n /** @example An internal server error occurred. */\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/lives\": {\n get: {\n parameters: {\n query?: {\n withReport?: string | null;\n skipPostgres?: string | null;\n skipRedis?: string | null;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n status?: string;\n report?: {\n version?: string;\n [key: string]: string | ({\n status?: string;\n reason?: string | null;\n }) | undefined;\n };\n };\n };\n };\n /** @description Default Response */\n 503: {\n content: {\n \"application/json\": {\n status?: string;\n report?: {\n version?: string;\n [key: string]: string | ({\n status?: string;\n reason?: string | null;\n }) | undefined;\n };\n };\n };\n };\n };\n };\n };\n \"/intents/status\": {\n get: {\n parameters: {\n query?: {\n /** @description A unique id representing the execution in the Relay system. You can obtain this id from the requests api or the check object within the step items. */\n requestId?: string;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /**\n * @description Note that fallback is returned in the case of a refund\n * @enum {string}\n */\n status?: \"failure\" | \"fallback\" | \"pending\" | \"received\" | \"success\";\n details?: string;\n /** @description Incoming transaction hashes */\n inTxHashes?: string[];\n /** @description Outgoing transaction hashes */\n txHashes?: string[];\n /** @description The last timestamp the data was updated */\n time?: number;\n originChainId?: number;\n destinationChainId?: number;\n };\n };\n };\n };\n };\n };\n \"/intents/status/v2\": {\n get: {\n parameters: {\n query?: {\n /** @description A unique id representing the execution in the Relay system. You can obtain this id from the requests api or the check object within the step items. */\n requestId?: string;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @enum {string} */\n status?: \"refund\" | \"waiting\" | \"depositing\" | \"failure\" | \"pending\" | \"success\";\n details?: string;\n /** @description Incoming transaction hashes */\n inTxHashes?: string[];\n /** @description Outgoing transaction hashes */\n txHashes?: string[];\n /** @description The last timestamp the data was updated */\n time?: number;\n originChainId?: number;\n destinationChainId?: number;\n /** @description The timestamp when the quote request was created */\n quoteCreatedAt?: number;\n };\n };\n };\n };\n };\n };\n \"/intents/status/v3\": {\n get: {\n parameters: {\n query?: {\n /** @description A unique id representing the execution in the Relay system. You can obtain this id from the requests api or the check object within the step items. */\n requestId?: string;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @enum {string} */\n status?: \"refund\" | \"waiting\" | \"depositing\" | \"failure\" | \"pending\" | \"submitted\" | \"success\";\n details?: string;\n /** @description Incoming transaction hashes */\n inTxHashes?: string[];\n /** @description Outgoing transaction hashes */\n txHashes?: string[];\n /** @description The last timestamp the data was updated */\n updatedAt?: number;\n originChainId?: number;\n destinationChainId?: number;\n /** @description The timestamp when the quote request was created */\n quoteCreatedAt?: number;\n /** @enum {string|null} */\n failReason?: \"UNKNOWN\" | \"SLIPPAGE\" | \"AMOUNT_TOO_LOW_TO_REFUND\" | \"DEPOSIT_ADDRESS_MISMATCH\" | \"DEPOSIT_CHAIN_MISMATCH\" | \"INCORRECT_DEPOSIT_CURRENCY\" | \"DOUBLE_SPEND\" | \"SOLVER_CAPACITY_EXCEEDED\" | \"SOLVER_BALANCE_TOO_LOW\" | \"DEPOSITED_AMOUNT_TOO_LOW_TO_FILL\" | \"NEGATIVE_NEW_AMOUNT_AFTER_FEES\" | \"NO_QUOTES\" | \"MISSING_REVERT_DATA\" | \"REVERSE_SWAP_FAILED\" | \"GENERATE_SWAP_FAILED\" | \"TOO_LITTLE_RECEIVED\" | \"EXECUTION_REVERTED\" | \"NEW_CALLDATA_INCLUDES_HIGHER_RENT_FEE\" | \"TRANSACTION_REVERTED\" | \"TRANSACTION_TOO_LARGE\" | \"ORIGIN_CURRENCY_MISMATCH\" | \"NO_INTERNAL_SWAP_ROUTES_FOUND\" | \"SWAP_USES_TOO_MUCH_GAS\" | \"INSUFFICIENT_FUNDS_FOR_RENT\" | \"SPONSOR_BALANCE_TOO_LOW\" | \"ORDER_EXPIRED\" | \"ORDER_IS_CANCELLED\" | \"TRANSFER_FROM_FAILED\" | \"TRANSFER_FAILED\" | \"SIGNATURE_EXPIRED\" | \"INVALID_SIGNATURE\" | \"INSUFFICIENT_NATIVE_TOKENS_SUPPLIED\" | \"TRANSFER_AMOUNT_EXCEEDS_ALLOWANCE\" | \"TRANSFER_AMOUNT_EXCEEDS_BALANCE\" | \"INVALID_SENDER\" | \"ACCOUNT_ABSTRACTION_INVALID_NONCE\" | \"ACCOUNT_ABSTRACTION_SIGNATURE_ERROR\" | \"SEAPORT_INEXACT_FRACTION\" | \"TOKEN_NOT_TRANSFERABLE\" | \"ZERO_SELL_AMOUNT\" | \"MINT_NOT_ACTIVE\" | \"ERC_1155_TOO_MANY_REQUESTED\" | \"INCORRECT_PAYMENT\" | \"INVALID_GAS_PRICE\" | \"FLUID_DEX_ERROR\" | \"ORDER_ALREADY_FILLED\" | \"SEAPORT_INVALID_FULFILLER\" | \"INVALID_SIGNER\" | \"MINT_QUANTITY_EXCEEDS_MAX_PER_WALLET\" | \"MINT_QUANTITY_EXCEEDS_MAX_SUPPLY\" | \"JUPITER_INVALID_TOKEN_ACCOUNT\" | \"INVALID_NONCE\" | \"ACCOUNT_ABSTRACTION_GAS_LIMIT\" | \"CONTRACT_PAUSED\" | \"SWAP_IMPACT_TOO_HIGH\" | \"INSUFFICIENT_POOL_LIQUIDITY\" | \"TTL_EXPIRED\" | \"DEPOSIT_CONFIRMATION_TIMEOUT\" | \"ORPHANED_DEPOSIT_REFUND\" | \"GASLESS_PERMIT_BALANCE_TOO_LOW\" | \"MANUAL_ADMIN_REFUND\" | \"QUOTED_GAS_LIMIT_EXCEEDED\" | \"DESTINATION_TOKEN_TRANSFER_REJECTED\" | \"DEPOSIT_REORGED\" | \"BLOCKED_WALLET\" | \"PROTOCOL_DEADLINE_EXPIRED\" | \"TRANSACTION_NOT_INCLUDED\" | \"TRANSACTION_SUBMISSION_FAILED\" | \"N/A\" | null;\n /** @enum {string|null} */\n refundFailReason?: \"AMOUNT_TOO_LOW_TO_REFUND\" | \"NEGATIVE_NEW_AMOUNT_AFTER_FEES\" | \"SWAP_CURRENCY_NOT_ON_ORIGIN\" | \"REFUND_RECIPIENT_IS_VASP\" | \"MANUAL_REFUND_REQUIRED\" | null;\n };\n };\n };\n };\n };\n };\n \"/requests\": {\n get: {\n parameters: {\n query?: {\n limit?: string;\n continuation?: string;\n user?: string;\n hash?: string;\n originChainId?: number;\n destinationChainId?: number;\n privateChainsToInclude?: string;\n id?: string;\n startTimestamp?: number;\n endTimestamp?: number;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /**\n * @example {\n * \"id\": \"0xddd6c1a0340e940b7be4f5a4be076df8b7ec7de7b18f9ec6efe4bfffd2f21cf6\",\n * \"status\": \"success\",\n * \"user\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"recipient\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"data\": {\n * \"fees\": {\n * \"gas\": \"2622672522398\",\n * \"fixed\": \"10000000000000\",\n * \"price\": \"39000000000000\"\n * },\n * \"feesUsd\": {\n * \"gas\": \"9057\",\n * \"fixed\": \"34534\",\n * \"price\": \"134684\"\n * },\n * \"inTxs\": [\n * {\n * \"fee\": \"423218878900\",\n * \"data\": {\n * \"to\": \"0xf70da97812cb96acdf810712aa562db8dfa3dbef\",\n * \"data\": \"0x5869d8\",\n * \"from\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"value\": \"2651622672522398\"\n * },\n * \"hash\": \"0xe53021eaa63d100b08338197d26953e2219bcbad828267dd936c549ff643aad7\",\n * \"type\": \"onchain\",\n * \"chainId\": 7777777,\n * \"timestamp\": 1713290377\n * }\n * ],\n * \"currency\": \"eth\",\n * \"price\": \"2600000000000000\",\n * \"usesExternalLiquidity\": false,\n * \"outTxs\": [\n * {\n * \"fee\": \"1837343366480\",\n * \"data\": {\n * \"to\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"data\": \"0x5869d8\",\n * \"from\": \"0xf70da97812cb96acdf810712aa562db8dfa3dbef\",\n * \"value\": \"2600000000000000\"\n * },\n * \"hash\": \"0x9da7bc54dfe6229d6980fd62250d472f23dfe0f41a1cdc870c81a08b3445f254\",\n * \"type\": \"onchain\",\n * \"chainId\": 8453,\n * \"timestamp\": 1713290383\n * }\n * ]\n * },\n * \"createdAt\": \"2024-04-16T17:59:39.702Z\",\n * \"updatedAt\": \"2024-04-16T17:59:46.145Z\"\n * }\n */\n requests?: ({\n id?: string;\n /**\n * @description Note that fallback is returned in the case of a refund\n * @enum {string}\n */\n status?: \"failure\" | \"fallback\" | \"depositing\" | \"pending\" | \"received\" | \"success\";\n user?: string;\n recipient?: string;\n data?: {\n fees?: {\n /** @description Estimated gas cost required for execution, in wei */\n gas?: string;\n /** @description The fixed fee which is always added to execution, in wei */\n fixed?: string;\n /** @description The dynamic fee which is a result of the chain and the amount, in wei */\n price?: string;\n };\n feesUsd?: {\n gas?: string;\n fixed?: string;\n price?: string;\n };\n inTxs?: {\n /** @description Total fees in wei */\n fee?: string;\n data?: unknown;\n stateChanges?: unknown;\n hash?: string;\n /** @description The type of transaction, always set to onchain */\n type?: string;\n chainId?: number;\n timestamp?: number;\n }[];\n currency?: string;\n feeCurrency?: string;\n appFees?: {\n recipient?: string;\n amount?: string;\n }[];\n metadata?: {\n sender?: string;\n recipient?: string;\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyIn?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyOut?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n rate?: string;\n };\n price?: string;\n usesExternalLiquidity?: boolean;\n timeEstimate?: number;\n outTxs?: {\n /** @description Total fees in wei */\n fee?: string;\n data?: unknown;\n stateChanges?: unknown;\n hash?: string;\n /** @description The type of transaction, always set to onchain */\n type?: string;\n chainId?: number;\n timestamp?: number;\n }[];\n };\n createdAt?: string;\n updatedAt?: string;\n })[];\n continuation?: string;\n };\n };\n };\n };\n };\n };\n \"/requests/v2\": {\n get: {\n parameters: {\n query?: {\n /** @description Maximum number of requests to return per page. */\n limit?: number;\n /** @description Pagination cursor returned by a previous response. Pass it back to fetch the next page. */\n continuation?: string;\n /** @description Filter requests where this address is the sender or recipient. */\n user?: string;\n /** @description Filter requests by an origin or destination transaction hash. */\n hash?: string;\n /** @description Filter requests where this is the origin chain. */\n originChainId?: number;\n /** @description Filter requests where this is the destination chain. */\n destinationChainId?: number;\n /** @description Comma-separated list of private chain UUIDs to include in the results. */\n privateChainsToInclude?: string;\n /** @description Filter by `requestId` — the Relay-level intent identifier returned by the quote api. Used for status polling, webhooks, and most other API endpoints. */\n id?: string;\n /** @description Filter by `orderId` — the protocol-level deposit identifier passed as `bytes32 id` to the Relay Depository when funds are deposited, and emitted in the deposit event. */\n orderId?: string;\n /** @description When true, include `orderData`; public pending requests omit its output subtree. */\n includeOrderData?: boolean;\n /** @description Filter requests created at or after this Unix timestamp (seconds). */\n startTimestamp?: number;\n /** @description Filter requests created at or before this Unix timestamp (seconds). */\n endTimestamp?: number;\n /** @description Filter requests by origin-chain block number (inclusive lower bound). */\n startBlock?: number;\n /** @description Filter requests by origin-chain block number (inclusive upper bound). */\n endBlock?: number;\n /** @description Get all requests for a single chain in either direction. Setting originChainId and/or destinationChainId will override this parameter. */\n chainId?: string;\n /** @description Filter requests by the `referrer` value supplied at quote time. */\n referrer?: string;\n /** @description Filter requests by deposit address. Returns all requests associated with this deposit address. */\n depositAddress?: string;\n /** @description When filtering by id or depositAddress, also return child transactions (e.g. duplicates, retries, refunds) linked to the original request. */\n includeChildRequests?: boolean;\n /** @description When true, include fields available only to the authenticating integrator for their own requests. */\n includeAuthenticatedData?: boolean;\n /** @description Filter requests by status. */\n status?: \"success\" | \"failure\" | \"refund\" | \"pending\" | \"depositing\";\n /** @description Filter requests by the API key that created them. */\n apiKey?: string;\n /** @description Field to sort by. */\n sortBy?: \"createdAt\" | \"updatedAt\";\n /** @description Sort direction. */\n sortDirection?: \"asc\" | \"desc\";\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /**\n * @example {\n * \"id\": \"0xddd6c1a0340e940b7be4f5a4be076df8b7ec7de7b18f9ec6efe4bfffd2f21cf6\",\n * \"status\": \"success\",\n * \"user\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"recipient\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"depositAddress\": {\n * \"address\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"depositAddressType\": \"open\",\n * \"depositor\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"depositTxHash\": \"0x34d78ccb41099f0546be1c35541b28ab4c92b498aeb4cae6e849c51c05fe1f1b\"\n * },\n * \"data\": {\n * \"subsidizedRequest\": false,\n * \"fees\": {\n * \"gas\": \"2622672522398\",\n * \"fixed\": \"10000000000000\",\n * \"price\": \"39000000000000\"\n * },\n * \"feesUsd\": {\n * \"gas\": \"9057\",\n * \"fixed\": \"34534\",\n * \"price\": \"134684\"\n * },\n * \"inTxs\": [\n * {\n * \"fee\": \"423218878900\",\n * \"data\": {\n * \"to\": \"0xf70da97812cb96acdf810712aa562db8dfa3dbef\",\n * \"data\": \"0x5869d8\",\n * \"from\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"value\": \"2651622672522398\"\n * },\n * \"hash\": \"0xe53021eaa63d100b08338197d26953e2219bcbad828267dd936c549ff643aad7\",\n * \"type\": \"onchain\",\n * \"chainId\": 7777777,\n * \"timestamp\": 1713290377\n * }\n * ],\n * \"currency\": \"eth\",\n * \"price\": \"2600000000000000\",\n * \"usesExternalLiquidity\": false,\n * \"outTxs\": [\n * {\n * \"fee\": \"1837343366480\",\n * \"data\": {\n * \"to\": \"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea\",\n * \"data\": \"0x5869d8\",\n * \"from\": \"0xf70da97812cb96acdf810712aa562db8dfa3dbef\",\n * \"value\": \"2600000000000000\"\n * },\n * \"hash\": \"0x9da7bc54dfe6229d6980fd62250d472f23dfe0f41a1cdc870c81a08b3445f254\",\n * \"type\": \"onchain\",\n * \"chainId\": 8453,\n * \"timestamp\": 1713290383\n * }\n * ]\n * },\n * \"moonpayId\": \"9dc342c3-538b-4731-aba7-13ed89acc7ae\",\n * \"createdAt\": \"2024-04-16T17:59:39.702Z\",\n * \"updatedAt\": \"2024-04-16T17:59:46.145Z\"\n * }\n */\n requests?: ({\n /** @description The `requestId` — the Relay-level intent identifier used across the API for status polling, webhooks, and most other endpoints. Distinct from `protocol.orderId`, which is the protocol-level deposit identifier extractable from on-chain data. */\n id?: string;\n /**\n * @description Note that fallback is returned in the case of a refund\n * @enum {string}\n */\n status?: \"refund\" | \"waiting\" | \"depositing\" | \"failure\" | \"pending\" | \"success\";\n /** @description The address that initiated the request. */\n user?: string;\n /** @description The address that receives the destination output. */\n recipient?: string;\n depositAddress?: ({\n address?: string;\n /** @enum {string} */\n depositAddressType?: \"strict\" | \"open\";\n depositor?: string | null;\n depositTxHash?: string | null;\n }) | null;\n data?: {\n /** @description Slippage tolerance for the swap. This value is in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage */\n slippageTolerance?: string;\n /** @enum {string} */\n failReason?: \"UNKNOWN\" | \"SLIPPAGE\" | \"AMOUNT_TOO_LOW_TO_REFUND\" | \"DEPOSIT_ADDRESS_MISMATCH\" | \"DEPOSIT_CHAIN_MISMATCH\" | \"INCORRECT_DEPOSIT_CURRENCY\" | \"DOUBLE_SPEND\" | \"SOLVER_CAPACITY_EXCEEDED\" | \"SOLVER_BALANCE_TOO_LOW\" | \"DEPOSITED_AMOUNT_TOO_LOW_TO_FILL\" | \"NEGATIVE_NEW_AMOUNT_AFTER_FEES\" | \"NO_QUOTES\" | \"MISSING_REVERT_DATA\" | \"REVERSE_SWAP_FAILED\" | \"GENERATE_SWAP_FAILED\" | \"TOO_LITTLE_RECEIVED\" | \"EXECUTION_REVERTED\" | \"NEW_CALLDATA_INCLUDES_HIGHER_RENT_FEE\" | \"TRANSACTION_REVERTED\" | \"TRANSACTION_TOO_LARGE\" | \"ORIGIN_CURRENCY_MISMATCH\" | \"NO_INTERNAL_SWAP_ROUTES_FOUND\" | \"SWAP_USES_TOO_MUCH_GAS\" | \"INSUFFICIENT_FUNDS_FOR_RENT\" | \"SPONSOR_BALANCE_TOO_LOW\" | \"ORDER_EXPIRED\" | \"ORDER_IS_CANCELLED\" | \"TRANSFER_FROM_FAILED\" | \"TRANSFER_FAILED\" | \"SIGNATURE_EXPIRED\" | \"INVALID_SIGNATURE\" | \"INSUFFICIENT_NATIVE_TOKENS_SUPPLIED\" | \"TRANSFER_AMOUNT_EXCEEDS_ALLOWANCE\" | \"TRANSFER_AMOUNT_EXCEEDS_BALANCE\" | \"INVALID_SENDER\" | \"ACCOUNT_ABSTRACTION_INVALID_NONCE\" | \"ACCOUNT_ABSTRACTION_SIGNATURE_ERROR\" | \"SEAPORT_INEXACT_FRACTION\" | \"TOKEN_NOT_TRANSFERABLE\" | \"ZERO_SELL_AMOUNT\" | \"MINT_NOT_ACTIVE\" | \"ERC_1155_TOO_MANY_REQUESTED\" | \"INCORRECT_PAYMENT\" | \"INVALID_GAS_PRICE\" | \"FLUID_DEX_ERROR\" | \"ORDER_ALREADY_FILLED\" | \"SEAPORT_INVALID_FULFILLER\" | \"INVALID_SIGNER\" | \"MINT_QUANTITY_EXCEEDS_MAX_PER_WALLET\" | \"MINT_QUANTITY_EXCEEDS_MAX_SUPPLY\" | \"JUPITER_INVALID_TOKEN_ACCOUNT\" | \"INVALID_NONCE\" | \"ACCOUNT_ABSTRACTION_GAS_LIMIT\" | \"CONTRACT_PAUSED\" | \"SWAP_IMPACT_TOO_HIGH\" | \"INSUFFICIENT_POOL_LIQUIDITY\" | \"TTL_EXPIRED\" | \"DEPOSIT_CONFIRMATION_TIMEOUT\" | \"ORPHANED_DEPOSIT_REFUND\" | \"GASLESS_PERMIT_BALANCE_TOO_LOW\" | \"MANUAL_ADMIN_REFUND\" | \"QUOTED_GAS_LIMIT_EXCEEDED\" | \"DESTINATION_TOKEN_TRANSFER_REJECTED\" | \"DEPOSIT_REORGED\" | \"BLOCKED_WALLET\" | \"PROTOCOL_DEADLINE_EXPIRED\" | \"TRANSACTION_NOT_INCLUDED\" | \"TRANSACTION_SUBMISSION_FAILED\" | \"N/A\";\n /** @enum {string} */\n refundFailReason?: \"AMOUNT_TOO_LOW_TO_REFUND\" | \"NEGATIVE_NEW_AMOUNT_AFTER_FEES\" | \"SWAP_CURRENCY_NOT_ON_ORIGIN\" | \"REFUND_RECIPIENT_IS_VASP\" | \"MANUAL_REFUND_REQUIRED\";\n /** @description Regenerated requestId that now owns the sweep/fill for a superseded deposit-address request. */\n supersededByRequestId?: string | null;\n failedTxHash?: string;\n failedTxBlockNumber?: number;\n failedCallData?: {\n from?: string;\n to?: string;\n data?: string;\n value?: string;\n };\n subsidizedRequest?: boolean;\n fees?: {\n /** @description Estimated gas cost required for execution, in wei */\n gas?: string;\n /** @description The fixed fee which is always added to execution, in wei */\n fixed?: string;\n /** @description The dynamic fee which is a result of the chain and the amount, in wei */\n price?: string;\n /** @description The fee taken by the API gateway, in wei */\n gateway?: string;\n };\n feesUsd?: {\n gas?: string;\n fixed?: string;\n price?: string;\n gateway?: string;\n };\n inTxs?: ({\n /** @description Total fees in wei */\n fee?: string;\n data?: unknown;\n stateChanges?: unknown;\n hash?: string;\n block?: number;\n /** @description The type of transaction, always set to onchain */\n type?: string;\n chainId?: number;\n timestamp?: number;\n /** @enum {string} */\n status?: \"success\" | \"failure\";\n })[];\n currency?: string;\n currencyObject?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n feeCurrency?: string;\n feeCurrencyObject?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n appFeeCurrencyObject?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n refundCurrencyData?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n appFees?: ({\n recipient?: string | null;\n bps?: string | null;\n amount?: string | null;\n amountUsd?: string | null;\n amountUsdCurrent?: string | null;\n })[];\n subsidizedFee?: {\n origin?: {\n amount?: string;\n address?: string;\n chainId?: number;\n };\n sponsor?: {\n amount?: string;\n address?: string;\n chainId?: number;\n };\n amountUsd?: string;\n amountUsdCurrent?: string;\n };\n /** @description Granular fee sponsorship details derived from the solver's internal sponsorship resolution. */\n feeSponsorship?: {\n /** @description The quote-time sponsorship expectation for the request. */\n quoted?: {\n /** @description The normalized sponsorship buckets selected for this request. */\n selectedComponents: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The requested sponsorship cap in USD micro-units, when one was configured for the request. */\n maxSubsidizationAmount?: string;\n /** @description The requested share of each selected fee bucket the sponsor covers, in bps (10000 = 100%), when one was configured for the request. */\n subsidizationBps?: number;\n /** @description Whether the configured sponsorship cap limited the selected fee buckets for this phase. */\n capHit: boolean;\n /** @description Per-bucket sponsorship details for the sponsorable fee components. */\n components: {\n /** @description Execution fee sponsorship details. */\n execution: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Swap fee sponsorship details. */\n swap: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Relay protocol fee sponsorship details. */\n relay: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description App fee sponsorship details. */\n app: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Solana ATA rent sponsorship details. */\n rent: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n };\n /**\n * @description The total amount sponsored for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsoredTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The total amount the user paid across the sponsorable fee buckets for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPaysTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description The post-solve sponsorship outcome recorded for the request. */\n actual?: {\n /** @description The normalized sponsorship buckets selected for this request. */\n selectedComponents: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The requested sponsorship cap in USD micro-units, when one was configured for the request. */\n maxSubsidizationAmount?: string;\n /** @description The requested share of each selected fee bucket the sponsor covers, in bps (10000 = 100%), when one was configured for the request. */\n subsidizationBps?: number;\n /** @description Whether the configured sponsorship cap limited the selected fee buckets for this phase. */\n capHit: boolean;\n /** @description Per-bucket sponsorship details for the sponsorable fee components. */\n components: {\n /** @description Execution fee sponsorship details. */\n execution: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Swap fee sponsorship details. */\n swap: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Relay protocol fee sponsorship details. */\n relay: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description App fee sponsorship details. */\n app: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n /** @description Solana ATA rent sponsorship details. */\n rent: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /**\n * @description The full amount charged for this fee bucket.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n total: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket covered by the sponsor.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsored: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The portion of this fee bucket that remained user-paid.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPays: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n };\n };\n /**\n * @description The total amount sponsored for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n sponsoredTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @description The total amount the user paid across the sponsorable fee buckets for this phase.\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n userPaysTotal: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /** @description How much the sponsor ultimately paid, denominated in the sponsor payment currency. */\n sponsorPayment?: {\n /** @description The sponsor payment amount. */\n amount: string;\n /** @description The sponsor payment currency address. */\n address: string;\n /** @description The sponsor payment chain id. */\n chainId: number;\n };\n };\n };\n /** @description Breakdown of price impact by component, with quoted and actual values */\n expandedPriceImpact?: {\n /** @description Price impact as estimated at quote time */\n quoted?: {\n /** @description Cost to execute swap or bridge depending on available liquidity. This value can be negative (representing network rewards for improving liquidity distribution) */\n swap?: {\n usd?: string;\n };\n /** @description Fees paid to cover transaction execution costs */\n execution?: {\n usd?: string;\n };\n /** @description Fees paid to the protocol */\n relay?: {\n usd?: string;\n };\n /** @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app */\n app?: {\n usd?: string;\n };\n /** @description Fees paid by a sponsor for this request */\n sponsored?: {\n usd?: string;\n };\n };\n /** @description Price impact as computed at fill time */\n actual?: {\n /** @description Cost to execute swap or bridge depending on available liquidity. This value can be negative (representing network rewards for improving liquidity distribution) */\n swap?: {\n usd?: string;\n };\n /** @description Fees paid to cover transaction execution costs */\n execution?: {\n usd?: string;\n };\n /** @description Fees paid to the protocol */\n relay?: {\n usd?: string;\n };\n /** @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app */\n app?: {\n usd?: string;\n };\n /** @description Fees paid by a sponsor for this request */\n sponsored?: {\n usd?: string;\n };\n };\n } | null;\n paidAppFees?: ({\n recipient?: string | null;\n bps?: string | null;\n amount?: string | null;\n amountUsd?: string | null;\n amountUsdCurrent?: string | null;\n })[];\n platformFee?: ({\n bucket?: string;\n ruleId?: string;\n relayFeeBps?: number;\n integratorFeeBps?: number;\n totalFeeBps?: number;\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n relayFee?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n integratorFee?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n totalPlatformFee?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n integratorFeeRecipient?: string | null;\n }) | null;\n metadata?: {\n sender?: string;\n recipient?: string;\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"amountUsdCurrent\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyIn?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n amountUsdCurrent?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"amountUsdCurrent\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyOut?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n amountUsdCurrent?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n currencyGasTopup?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n rate?: string;\n quoteOraclePrice?: {\n rate?: string;\n inputAmount?: string;\n outputAmount?: string;\n observedAt?: string;\n from?: {\n chainId?: number;\n address?: string;\n currencyId?: string;\n decimals?: number;\n };\n to?: {\n chainId?: number;\n address?: string;\n currencyId?: string;\n decimals?: number;\n };\n };\n route?: {\n /** @description The route taken for the origin chain swap */\n origin?: {\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n router?: string;\n includedSwapSources?: string[];\n };\n /** @description The route taken for the origin chain swap */\n destination?: {\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n /**\n * @example {\n * \"currency\": {\n * \"chainId\": 8453,\n * \"address\": \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n * \"symbol\": \"USDC\",\n * \"name\": \"USD Coin\",\n * \"decimals\": 6,\n * \"metadata\": {\n * \"logoURI\": \"https://ethereum-optimism.github.io/data/USDC/logo.png\",\n * \"verified\": false,\n * \"isNative\": false\n * }\n * },\n * \"amount\": \"30754920\",\n * \"amountFormatted\": \"30.75492\",\n * \"amountUsd\": \"30.901612\",\n * \"minimumAmount\": \"30454920\"\n * }\n */\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n router?: string;\n includedSwapSources?: string[];\n };\n };\n };\n price?: string;\n usesExternalLiquidity?: boolean;\n timeEstimate?: number;\n triggeredByFastFill?: boolean;\n outTxs?: ({\n /** @description Total fees in wei */\n fee?: string;\n data?: unknown;\n stateChanges?: unknown;\n hash?: string;\n block?: number;\n /** @description The type of transaction, always set to onchain */\n type?: string;\n chainId?: number;\n timestamp?: number;\n /** @enum {string} */\n status?: \"success\" | \"failure\";\n })[];\n };\n protocol?: {\n /** @description The protocol-level deposit identifier passed as `bytes32 id` to the Relay Depository when funds are deposited, and emitted in the deposit event. Use this to correlate on-chain deposit data to a Relay request. Distinct from the `requestId`, which is the Relay-level intent identifier used across the API. */\n orderId?: string;\n /** @enum {string} */\n hubType?: \"onchain\";\n /** @description True if the deposit is recoverable via the protocol withdrawal flow. */\n isWithdrawable?: boolean;\n solver?: {\n address?: string;\n protocolChainId?: string;\n chainId?: number;\n };\n deposit?: {\n origin?: {\n amount?: string;\n chainId?: number;\n currency?: string;\n depositor?: string;\n depository?: string;\n onchainId?: string;\n transactionId?: string;\n };\n relay?: {\n amount?: string;\n chainId?: number;\n currency?: string;\n hash?: string;\n /** @enum {string} */\n operation?: \"mint\";\n tokenMetadata?: {\n decimals?: number;\n name?: string;\n symbol?: string;\n };\n };\n attestation?: {\n execution?: {\n actions?: string[];\n idempotencyKey?: string;\n };\n attestations?: {\n oracleChainId?: string;\n oracleContract?: string;\n signerAddress?: string;\n signature?: string;\n }[];\n };\n };\n settlement?: {\n destination?: {\n fills?: {\n chainId?: number;\n transactionId?: string;\n }[];\n refunds?: {\n chainId?: number;\n transactionId?: string;\n }[];\n };\n relay?: {\n amount?: string;\n chainId?: number;\n currency?: string;\n hash?: string;\n /** @enum {string} */\n operation?: \"transfer\" | \"burn\" | \"mixed\";\n solver?: string;\n tokenMetadata?: {\n decimals?: number;\n name?: string;\n symbol?: string;\n };\n };\n attestation?: {\n execution?: {\n actions?: string[];\n idempotencyKey?: string;\n };\n attestations?: {\n oracleChainId?: string;\n oracleContract?: string;\n signerAddress?: string;\n signature?: string;\n }[];\n };\n };\n };\n orderData?: unknown;\n referrer?: string;\n moonpayId?: string;\n createdAt?: string;\n updatedAt?: string;\n })[];\n continuation?: string;\n deprecation?: {\n message: string;\n deprecatedAt: string;\n throttledFrom: string;\n sunsetAt: string;\n successor: string;\n migrationGuide: string;\n };\n };\n };\n };\n };\n };\n };\n \"/requests/v3\": {\n get: {\n parameters: {\n query?: {\n /** @description Maximum number of requests to return per page. */\n limit?: number;\n /** @description Pagination cursor returned by a previous response. Pass it back to fetch the next page. */\n continuation?: string;\n /** @description When true, also compute and return the total count of requests matching these filters (ignores limit/continuation). Adds latency — omit unless the total is needed. */\n includeTotal?: boolean;\n /** @description Filter requests by wallet address — matches requests where this address is the sender or the deposit-address depositor. */\n user?: string;\n /** @description Broad term search across request ID, wallet, deposit address, and all transaction hashes (deposit, fill, refund, failed, and chain entry transaction IDs). Use `id`, `depositTxHash`, `fillTxHash`, or `refundTxHash` for targeted single-field lookups. */\n term?: string;\n /** @description Filter by requestId — the Relay-level intent identifier returned by the quote API. */\n id?: string;\n /** @description Filter by protocol-level orderId. */\n orderId?: string;\n /** @description Filter by deposit transaction hash. */\n depositTxHash?: string;\n /** @description Filter by fill transaction hash. */\n fillTxHash?: string;\n /** @description Filter by refund transaction hash. */\n refundTxHash?: string;\n /** @description Filter requests where this is the origin chain. */\n originChainId?: number;\n /** @description Filter requests where this is the destination chain. */\n destinationChainId?: number;\n /** @description Get all requests for a single chain in either direction. Overridden by originChainId / destinationChainId. */\n chainId?: number;\n /** @description Comma-separated list of private chain UUIDs to include in results. */\n privateChainsToInclude?: string;\n /** @description Filter requests associated with this deposit address. */\n depositAddress?: string;\n /** @description Filter requests where this address is the recipient. */\n recipient?: string;\n /** @description Filter requests by status. */\n status?: \"success\" | \"failure\" | \"refund\" | \"pending\" | \"depositing\";\n /** @description Filter requests by failure reason. Only returns requests that failed with this specific reason. */\n failReason?: \"UNKNOWN\" | \"SLIPPAGE\" | \"AMOUNT_TOO_LOW_TO_REFUND\" | \"DEPOSIT_ADDRESS_MISMATCH\" | \"DEPOSIT_CHAIN_MISMATCH\" | \"INCORRECT_DEPOSIT_CURRENCY\" | \"DOUBLE_SPEND\" | \"SOLVER_CAPACITY_EXCEEDED\" | \"SOLVER_BALANCE_TOO_LOW\" | \"DEPOSITED_AMOUNT_TOO_LOW_TO_FILL\" | \"NEGATIVE_NEW_AMOUNT_AFTER_FEES\" | \"NO_QUOTES\" | \"MISSING_REVERT_DATA\" | \"REVERSE_SWAP_FAILED\" | \"GENERATE_SWAP_FAILED\" | \"TOO_LITTLE_RECEIVED\" | \"EXECUTION_REVERTED\" | \"NEW_CALLDATA_INCLUDES_HIGHER_RENT_FEE\" | \"TRANSACTION_REVERTED\" | \"TRANSACTION_TOO_LARGE\" | \"ORIGIN_CURRENCY_MISMATCH\" | \"NO_INTERNAL_SWAP_ROUTES_FOUND\" | \"SWAP_USES_TOO_MUCH_GAS\" | \"INSUFFICIENT_FUNDS_FOR_RENT\" | \"SPONSOR_BALANCE_TOO_LOW\" | \"ORDER_EXPIRED\" | \"ORDER_IS_CANCELLED\" | \"TRANSFER_FROM_FAILED\" | \"TRANSFER_FAILED\" | \"SIGNATURE_EXPIRED\" | \"INVALID_SIGNATURE\" | \"INSUFFICIENT_NATIVE_TOKENS_SUPPLIED\" | \"TRANSFER_AMOUNT_EXCEEDS_ALLOWANCE\" | \"TRANSFER_AMOUNT_EXCEEDS_BALANCE\" | \"INVALID_SENDER\" | \"ACCOUNT_ABSTRACTION_INVALID_NONCE\" | \"ACCOUNT_ABSTRACTION_SIGNATURE_ERROR\" | \"SEAPORT_INEXACT_FRACTION\" | \"TOKEN_NOT_TRANSFERABLE\" | \"ZERO_SELL_AMOUNT\" | \"MINT_NOT_ACTIVE\" | \"ERC_1155_TOO_MANY_REQUESTED\" | \"INCORRECT_PAYMENT\" | \"INVALID_GAS_PRICE\" | \"FLUID_DEX_ERROR\" | \"ORDER_ALREADY_FILLED\" | \"SEAPORT_INVALID_FULFILLER\" | \"INVALID_SIGNER\" | \"MINT_QUANTITY_EXCEEDS_MAX_PER_WALLET\" | \"MINT_QUANTITY_EXCEEDS_MAX_SUPPLY\" | \"JUPITER_INVALID_TOKEN_ACCOUNT\" | \"INVALID_NONCE\" | \"ACCOUNT_ABSTRACTION_GAS_LIMIT\" | \"CONTRACT_PAUSED\" | \"SWAP_IMPACT_TOO_HIGH\" | \"INSUFFICIENT_POOL_LIQUIDITY\" | \"TTL_EXPIRED\" | \"DEPOSIT_CONFIRMATION_TIMEOUT\" | \"ORPHANED_DEPOSIT_REFUND\" | \"GASLESS_PERMIT_BALANCE_TOO_LOW\" | \"MANUAL_ADMIN_REFUND\" | \"QUOTED_GAS_LIMIT_EXCEEDED\" | \"DESTINATION_TOKEN_TRANSFER_REJECTED\" | \"DEPOSIT_REORGED\" | \"BLOCKED_WALLET\" | \"PROTOCOL_DEADLINE_EXPIRED\" | \"TRANSACTION_NOT_INCLUDED\" | \"TRANSACTION_SUBMISSION_FAILED\" | \"N/A\";\n /** @description Filter requests by refund failure reason. */\n refundFailReason?: \"AMOUNT_TOO_LOW_TO_REFUND\" | \"NEGATIVE_NEW_AMOUNT_AFTER_FEES\" | \"SWAP_CURRENCY_NOT_ON_ORIGIN\" | \"REFUND_RECIPIENT_IS_VASP\" | \"MANUAL_REFUND_REQUIRED\";\n /** @description Filter requests by API key. Accepts a single value or a comma-separated list (e.g. key1,key2) — results include requests matching any of the supplied keys. */\n apiKey?: string;\n /** @description Filter requests by requestType (case-insensitive). Supported values: Bridge, Crosschain Swap, Same-chain Swap, Send, Wrap, Unwrap, Call. */\n requestType?: string;\n /** @description Filter requests by the exact `referrer` value supplied at quote time. Must be combined with the `apiKey` parameter, and every supplied key must belong to the authenticating integrator — referrer filtering only exposes your own requests. */\n referrer?: string;\n /** @description Filter by origin currency chain ID. */\n currencyInChainId?: number;\n /** @description Filter by destination currency chain ID. */\n currencyOutChainId?: number;\n /** @description Filter by origin currency contract address. */\n currencyInAddress?: string;\n /** @description Filter by destination currency contract address. */\n currencyOutAddress?: string;\n /** @description Filter by origin currency symbol (e.g. USDC). Case-insensitive; matches across all chains. */\n currencyInSymbol?: string;\n /** @description Filter by destination currency symbol (e.g. USDC). Case-insensitive; matches across all chains. */\n currencyOutSymbol?: string;\n /** @description Field to sort by. */\n sortBy?: \"createdAt\" | \"updatedAt\" | \"amountUsd\";\n /** @description Sort direction (default: desc for time fields, asc for amountUsd). */\n sortDirection?: \"asc\" | \"desc\";\n /** @description Filter requests with createdAt ≥ this Unix timestamp (seconds). Applied to updatedAt instead when sortBy=updatedAt. */\n startTimestamp?: number;\n /** @description Filter requests with createdAt ≤ this Unix timestamp (seconds). Applied to updatedAt instead when sortBy=updatedAt. */\n endTimestamp?: number;\n /** @description Filter by chain entry block number (inclusive lower bound). When originChainId is also set, scoped to origin-chain entries only. */\n startBlock?: number;\n /** @description Filter by chain entry block number (inclusive upper bound). When originChainId is also set, scoped to origin-chain entries only. */\n endBlock?: number;\n /** @description Filter requests with currencyIn.amountUsd ≥ this value. */\n amountUsdMin?: number;\n /** @description Filter requests with currencyIn.amountUsd ≤ this value. */\n amountUsdMax?: number;\n /** @description Filter requests with total app fees USD ≥ this value. */\n appFeesAmountUsdMin?: number;\n /** @description Filter requests with total app fees USD ≤ this value. */\n appFeesAmountUsdMax?: number;\n /** @description Filter requests with fill time ≥ this value (seconds). */\n fillTimeMin?: number;\n /** @description Filter requests with fill time ≤ this value (seconds). */\n fillTimeMax?: number;\n /** @description Comma-separated feature flags to filter by. Requests must have at least one of the specified features. Supported values: gasless_execution, gasless_swap, fast_fill, gas_top_up, fixed_rate, app_fees, deposit_address. */\n features?: string;\n /** @description When true, include fields available only to the authenticating integrator for their own requests. */\n includeAuthenticatedData?: boolean;\n /** @description Only effective when `id` is also provided. When true, returns the parent request AND any child requests. When false or omitted, only the exact `request_id` match is returned. */\n includeChildRequests?: boolean;\n /** @description JSON-encoded array of filter-group objects. Fields within each group are AND'd; groups are OR'd. Prefix a key with 'not:' to negate it (must_not). Values can be a scalar or an array (OR semantics within the field). Example: [{\"depositAddress\":\"0xabc\",\"originChainId\":8453},{\"depositAddress\":\"0x123\",\"originChainId\":1}]. Negation example: [{\"not:status\":\"failure\"}]. Array value example: [{\"not:status\":[\"failure\",\"refund\"]}]. A value of null is a null-check (\"is empty\"/\"is not empty\") instead of an equality test, for any key. Null-check example: [{\"depositAddress\":null}] (is empty / does not exist), [{\"not:depositAddress\":null}] (is not empty / exists). null cannot be combined with real values in an array. Using a `referrer` key (or `not:referrer`) in any group requires the top-level `apiKey` parameter with keys owned by the authenticating integrator, which scopes the entire result set to your own requests. */\n filters?: string;\n };\n header: {\n /** @description API key for authentication. */\n \"x-api-key\": string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n requests?: ({\n id?: string;\n /** @enum {string} */\n status?: \"refund\" | \"waiting\" | \"depositing\" | \"failure\" | \"pending\" | \"submitted\" | \"success\";\n user?: string;\n recipient?: string;\n sender?: string | null;\n /** @description The address refunds are sent to for deposit-address transactions. Null when not specified. */\n refundTo?: string | null;\n /** @description Regenerated requestId that now owns the sweep/fill for a superseded deposit-address request. Currently only set for Bitcoin (BVM) deposit-address requests. */\n supersededByRequestId?: string | null;\n depositAddress?: ({\n address?: string;\n /** @enum {string} */\n type?: \"strict\" | \"open\";\n depositor?: string | null;\n depositTxHash?: string | null;\n /** @description Origin-chain address that can recover deposit-address funds if the recipient wallet is later blocked. Null when not specified. */\n recoveryAddress?: string | null;\n }) | null;\n data?: {\n slippageTolerance?: string;\n /** @enum {string|null} */\n failReason?: \"UNKNOWN\" | \"SLIPPAGE\" | \"AMOUNT_TOO_LOW_TO_REFUND\" | \"DEPOSIT_ADDRESS_MISMATCH\" | \"DEPOSIT_CHAIN_MISMATCH\" | \"INCORRECT_DEPOSIT_CURRENCY\" | \"DOUBLE_SPEND\" | \"SOLVER_CAPACITY_EXCEEDED\" | \"SOLVER_BALANCE_TOO_LOW\" | \"DEPOSITED_AMOUNT_TOO_LOW_TO_FILL\" | \"NEGATIVE_NEW_AMOUNT_AFTER_FEES\" | \"NO_QUOTES\" | \"MISSING_REVERT_DATA\" | \"REVERSE_SWAP_FAILED\" | \"GENERATE_SWAP_FAILED\" | \"TOO_LITTLE_RECEIVED\" | \"EXECUTION_REVERTED\" | \"NEW_CALLDATA_INCLUDES_HIGHER_RENT_FEE\" | \"TRANSACTION_REVERTED\" | \"TRANSACTION_TOO_LARGE\" | \"ORIGIN_CURRENCY_MISMATCH\" | \"NO_INTERNAL_SWAP_ROUTES_FOUND\" | \"SWAP_USES_TOO_MUCH_GAS\" | \"INSUFFICIENT_FUNDS_FOR_RENT\" | \"SPONSOR_BALANCE_TOO_LOW\" | \"ORDER_EXPIRED\" | \"ORDER_IS_CANCELLED\" | \"TRANSFER_FROM_FAILED\" | \"TRANSFER_FAILED\" | \"SIGNATURE_EXPIRED\" | \"INVALID_SIGNATURE\" | \"INSUFFICIENT_NATIVE_TOKENS_SUPPLIED\" | \"TRANSFER_AMOUNT_EXCEEDS_ALLOWANCE\" | \"TRANSFER_AMOUNT_EXCEEDS_BALANCE\" | \"INVALID_SENDER\" | \"ACCOUNT_ABSTRACTION_INVALID_NONCE\" | \"ACCOUNT_ABSTRACTION_SIGNATURE_ERROR\" | \"SEAPORT_INEXACT_FRACTION\" | \"TOKEN_NOT_TRANSFERABLE\" | \"ZERO_SELL_AMOUNT\" | \"MINT_NOT_ACTIVE\" | \"ERC_1155_TOO_MANY_REQUESTED\" | \"INCORRECT_PAYMENT\" | \"INVALID_GAS_PRICE\" | \"FLUID_DEX_ERROR\" | \"ORDER_ALREADY_FILLED\" | \"SEAPORT_INVALID_FULFILLER\" | \"INVALID_SIGNER\" | \"MINT_QUANTITY_EXCEEDS_MAX_PER_WALLET\" | \"MINT_QUANTITY_EXCEEDS_MAX_SUPPLY\" | \"JUPITER_INVALID_TOKEN_ACCOUNT\" | \"INVALID_NONCE\" | \"ACCOUNT_ABSTRACTION_GAS_LIMIT\" | \"CONTRACT_PAUSED\" | \"SWAP_IMPACT_TOO_HIGH\" | \"INSUFFICIENT_POOL_LIQUIDITY\" | \"TTL_EXPIRED\" | \"DEPOSIT_CONFIRMATION_TIMEOUT\" | \"ORPHANED_DEPOSIT_REFUND\" | \"GASLESS_PERMIT_BALANCE_TOO_LOW\" | \"MANUAL_ADMIN_REFUND\" | \"QUOTED_GAS_LIMIT_EXCEEDED\" | \"DESTINATION_TOKEN_TRANSFER_REJECTED\" | \"DEPOSIT_REORGED\" | \"BLOCKED_WALLET\" | \"PROTOCOL_DEADLINE_EXPIRED\" | \"TRANSACTION_NOT_INCLUDED\" | \"TRANSACTION_SUBMISSION_FAILED\" | \"N/A\" | null;\n /** @enum {string|null} */\n refundFailReason?: \"AMOUNT_TOO_LOW_TO_REFUND\" | \"NEGATIVE_NEW_AMOUNT_AFTER_FEES\" | \"SWAP_CURRENCY_NOT_ON_ORIGIN\" | \"REFUND_RECIPIENT_IS_VASP\" | \"MANUAL_REFUND_REQUIRED\" | null;\n failedTxHash?: string;\n failedTxBlockNumber?: number;\n failedCallData?: {\n from?: string;\n to?: string;\n data?: string;\n value?: string;\n };\n usesExternalLiquidity?: boolean;\n timeEstimate?: number | null;\n triggeredByFastFill?: boolean | null;\n inTxs?: ({\n txHash?: string;\n fee?: string;\n feeUsd?: string;\n block?: number;\n type?: string;\n chainId?: number;\n timestamp?: number;\n /** @enum {string} */\n status?: \"success\" | \"failure\";\n data?: unknown;\n stateChanges?: unknown;\n })[];\n outTxs?: ({\n txHash?: string;\n fee?: string;\n feeUsd?: string;\n block?: number;\n type?: string;\n chainId?: number;\n timestamp?: number;\n /** @enum {string} */\n status?: \"success\" | \"failure\";\n data?: unknown;\n stateChanges?: unknown;\n })[];\n appFees?: {\n quoted?: ({\n recipient?: string | null;\n bps?: string | null;\n amount?: string | null;\n amountFormatted?: string | null;\n })[];\n actual?: ({\n recipient?: string | null;\n bps?: string | null;\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n })[];\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n };\n /** @description Granular fee sponsorship details derived from the solver's internal sponsorship resolution. */\n feeSponsorship?: ({\n /** @description The quote-time sponsorship expectation for the request. */\n quoted?: {\n /** @description The normalized sponsorship buckets selected for this request. */\n selectedComponents: (\"execution\" | \"swap\" | \"platform\" | \"app\" | \"rent\")[];\n /** @description The requested sponsorship cap in USD micro-units, when one was configured for the request. */\n maxSubsidizationAmount?: string;\n /** @description The requested share of each selected fee bucket the sponsor covers, in bps (10000 = 100%), when one was configured for the request. */\n subsidizationBps?: number;\n /** @description Whether the configured sponsorship cap limited the selected fee buckets for this phase. */\n capHit: boolean;\n /** @description Per-bucket sponsorship details for the five sponsorable fee components. */\n components: {\n /** @description Execution fee sponsorship details. */\n execution: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n };\n /** @description Swap fee sponsorship details. */\n swap: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n };\n /** @description Platform fee sponsorship details. */\n platform: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n };\n /** @description App fee sponsorship details. */\n app: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n };\n /** @description Solana ATA rent sponsorship details. */\n rent: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n };\n };\n /** @description The total amount sponsored for this phase. */\n sponsoredTotal: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The total amount the user paid across the sponsorable fee buckets for this phase. */\n userPaysTotal: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n };\n /** @description The post-solve sponsorship outcome recorded for the request. */\n actual?: {\n /** @description The normalized sponsorship buckets selected for this request. */\n selectedComponents: (\"execution\" | \"swap\" | \"platform\" | \"app\" | \"rent\")[];\n /** @description The requested sponsorship cap in USD micro-units, when one was configured for the request. */\n maxSubsidizationAmount?: string;\n /** @description The requested share of each selected fee bucket the sponsor covers, in bps (10000 = 100%), when one was configured for the request. */\n subsidizationBps?: number;\n /** @description Whether the configured sponsorship cap limited the selected fee buckets for this phase. */\n capHit: boolean;\n /** @description Per-bucket sponsorship details for the five sponsorable fee components. */\n components: {\n /** @description Execution fee sponsorship details. */\n execution: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n };\n /** @description Swap fee sponsorship details. */\n swap: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n };\n /** @description Platform fee sponsorship details. */\n platform: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n };\n /** @description App fee sponsorship details. */\n app: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n };\n /** @description Solana ATA rent sponsorship details. */\n rent: {\n /** @description Whether this fee bucket was selected for sponsorship. */\n selected: boolean;\n /** @description The full amount charged for this fee bucket. */\n total: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket covered by the sponsor. */\n sponsored: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The portion of this fee bucket that remained user-paid. */\n userPays: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n };\n };\n /** @description The total amount sponsored for this phase. */\n sponsoredTotal: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description The total amount the user paid across the sponsorable fee buckets for this phase. */\n userPaysTotal: {\n amount?: string | null;\n amountFormatted?: string | null;\n amountUsd?: string | null;\n minimumAmount?: string | null;\n };\n /** @description How much the sponsor ultimately paid, denominated in the sponsor payment currency. */\n sponsorPayment?: {\n /** @description The sponsor payment amount. */\n amount: string;\n /** @description The sponsor payment currency address. */\n address: string;\n /** @description The sponsor payment chain id. */\n chainId: number;\n };\n };\n /** @description The currency in which all sponsorship amounts are denominated. Shared across all nested amount objects. */\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n }) | null;\n /** @description Breakdown of fees by component, with quoted and actual values */\n fees?: ({\n /** @description Fees as estimated at quote time */\n quoted?: {\n /** @description Cost to execute swap or bridge depending on available liquidity. This value can be negative (representing network rewards for improving liquidity distribution) */\n swap?: {\n usd?: string | null;\n amount?: string | null;\n amountFormatted?: string | null;\n };\n /** @description Fees paid to cover transaction execution costs */\n execution?: {\n usd?: string | null;\n amount?: string | null;\n amountFormatted?: string | null;\n };\n /** @description Fees paid to the protocol */\n platform?: {\n usd?: string | null;\n amount?: string | null;\n amountFormatted?: string | null;\n };\n /** @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app */\n app?: {\n usd?: string | null;\n amount?: string | null;\n amountFormatted?: string | null;\n };\n /** @description Fees paid by a sponsor for this request */\n sponsored?: {\n usd?: string | null;\n amount?: string | null;\n amountFormatted?: string | null;\n };\n };\n /** @description Fees as computed at fill time */\n actual?: {\n /** @description Cost to execute swap or bridge depending on available liquidity. This value can be negative (representing network rewards for improving liquidity distribution) */\n swap?: {\n usd?: string | null;\n amount?: string | null;\n amountFormatted?: string | null;\n };\n /** @description Fees paid to cover transaction execution costs */\n execution?: {\n usd?: string | null;\n amount?: string | null;\n amountFormatted?: string | null;\n };\n /** @description Fees paid to the protocol */\n platform?: {\n usd?: string | null;\n amount?: string | null;\n amountFormatted?: string | null;\n };\n /** @description Fees paid to the app. Currency will be the same as the relayer fee currency. This needs to be claimed later by the app owner and is not immediately distributed to the app */\n app?: {\n usd?: string | null;\n amount?: string | null;\n amountFormatted?: string | null;\n };\n /** @description Fees paid by a sponsor for this request */\n sponsored?: {\n usd?: string | null;\n amount?: string | null;\n amountFormatted?: string | null;\n };\n };\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n }) | null;\n /** @description Platform fee — only returned when the caller authenticates as the request's creator integrator. */\n platformFee?: Record<string, unknown> | null;\n /** @description Referrer — only returned when the caller authenticates as the request's creator integrator. */\n referrer?: string | null;\n /** @description API key name — only returned when the caller authenticates as the request's creator integrator. */\n apiKeyName?: string | null;\n /** @description Address(es) that failed wallet screening and caused a BLOCKED_WALLET failure. Only returned when the caller authenticates as the request's creator integrator. Never includes screening-provider scores or reasons. */\n blockedAddresses?: string[] | null;\n route?: ({\n includedSwapSources?: string[];\n includedOriginSwapSources?: string[];\n includedDestinationSwapSources?: string[];\n quoted?: ({\n origin?: ({\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n router?: string;\n }) | null;\n destination?: ({\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n router?: string;\n }) | null;\n }) | null;\n actual?: ({\n origin?: ({\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n router?: string;\n }) | null;\n destination?: ({\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n router?: string;\n currencyGasTopup?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n }) | null;\n rate?: string;\n }) | null;\n }) | null;\n /** @description Oracle price snapshot at quote time, only returned for fixed-BPS oracle integrators. */\n quoteOraclePrice?: {\n rate?: string;\n observedAt?: string;\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n };\n } | null;\n refundCurrencyData?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n minimumAmount?: string;\n } | null;\n externalMetadata?: {\n moonpayId?: string | null;\n };\n };\n protocol?: ({\n /** @description The protocol-level deposit identifier passed as `bytes32 id` to the Relay Depository. */\n orderId?: string;\n /** @enum {string} */\n hubType?: \"onchain\";\n isWithdrawable?: boolean;\n solver?: {\n address?: string;\n protocolChainId?: string;\n chainId?: number;\n };\n deposit?: {\n origin?: {\n amount?: string;\n chainId?: number;\n currency?: string;\n depositor?: string;\n depository?: string;\n onchainId?: string;\n transactionId?: string;\n };\n relay?: {\n amount?: string;\n chainId?: number;\n currency?: string;\n hash?: string;\n /** @enum {string} */\n operation?: \"mint\";\n tokenMetadata?: {\n decimals?: number;\n name?: string;\n symbol?: string;\n };\n };\n attestation?: {\n execution?: {\n actions?: string[];\n idempotencyKey?: string;\n };\n attestations?: {\n oracleChainId?: string;\n oracleContract?: string;\n signerAddress?: string;\n signature?: string;\n }[];\n };\n };\n settlement?: {\n destination?: {\n fills?: {\n chainId?: number;\n transactionId?: string;\n }[];\n refunds?: {\n chainId?: number;\n transactionId?: string;\n }[];\n };\n relay?: {\n amount?: string;\n chainId?: number;\n currency?: string;\n hash?: string;\n /** @enum {string} */\n operation?: \"transfer\" | \"burn\" | \"mixed\";\n solver?: string;\n tokenMetadata?: {\n decimals?: number;\n name?: string;\n symbol?: string;\n };\n };\n attestation?: {\n execution?: {\n actions?: string[];\n idempotencyKey?: string;\n };\n attestations?: {\n oracleChainId?: string;\n oracleContract?: string;\n signerAddress?: string;\n signature?: string;\n }[];\n };\n };\n }) | null;\n requestType?: string | null;\n features?: (\"gasless_execution\" | \"gasless_swap\" | \"fast_fill\" | \"gas_top_up\" | \"fixed_rate\" | \"app_fees\" | \"deposit_address\")[];\n createdAt?: string;\n updatedAt?: string;\n })[];\n continuation?: string;\n /** @description Total count of requests matching the given filters. Only present when `includeTotal` was true. */\n total?: number;\n };\n };\n };\n };\n };\n };\n \"/requests/metadata\": {\n post: {\n requestBody: {\n content: {\n \"application/json\": {\n requestId: string;\n additionalMetadata: {\n moonPayId: string;\n };\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/transactions/index\": {\n post: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n chainId: string;\n txHash: string;\n requestId?: string;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/transactions/single\": {\n post: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n requestId: string;\n chainId: string;\n tx: string;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/transactions/deposit-address/reindex\": {\n /** @description Re-checks the balances of a previously-registered deposit address and queues a withdrawal for any currency with a non-zero balance. Useful when funds were sent to a deposit address but the normal indexer flow did not pick them up. */\n post: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n /** @description Chain ID the deposit address was originally registered on. */\n chainId: number;\n /** @description The deposit address to reindex. */\n depositAddress: string;\n /** @description Deprecated. No longer supported on this endpoint. */\n sweep?: boolean;\n /** @description Chain ID to reindex on, when different from `chainId`. Use this if funds landed on a chain other than the one the deposit address was registered on. Defaults to `chainId`. */\n targetChainId?: number;\n /** @description Address of a specific currency to reindex. Defaults to checking every depositable currency on the chain. */\n currency?: string;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description Human-readable summary of the reindex outcome. */\n message?: string;\n /** @description Currencies for which a withdrawal was queued. */\n triggeredCurrencies?: {\n /** @description Currency address. */\n currency?: string;\n /** @description Currency symbol. */\n symbol?: string;\n /** @description Balance found at the deposit address, in the currency's smallest unit. */\n balance?: string;\n }[];\n /** @description Total number of currencies whose balance was checked. */\n checkedCurrencies?: number;\n /** @description Number of currencies whose balance check failed. */\n failedCurrencies?: number;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Reason the request was rejected. */\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 403: {\n content: {\n \"application/json\": {\n /** @description The caller is not permitted to reindex this deposit address. */\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n content: {\n \"application/json\": {\n /** @description No deposit address was found for the given `chainId` and `depositAddress`. */\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 429: {\n content: {\n \"application/json\": {\n /** @description The deposit address was reindexed too recently. */\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 503: {\n content: {\n \"application/json\": {\n /** @description Transient failure. */\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/swap-sources\": {\n get: {\n parameters: {\n query?: {\n /** @description Chain ID to get swap sources for */\n chainId?: number;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description An array of swap sources */\n sources?: string[];\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Descriptive error message */\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/loadforge.txt\": {\n get: {\n responses: {\n /** @description Verification string */\n 200: {\n content: {\n \"application/json\": string;\n };\n };\n /** @description Default Response */\n 404: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/conduit/install\": {\n post: {\n parameters: {\n header: {\n \"X-CONDUIT-INTEGRATION-SECRET\": string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n /** @enum {string} */\n event: \"INSTALLED\" | \"UNINSTALLED\" | \"NETWORK_UPDATED\" | \"NETWORK_DELETED\";\n id: string;\n chain_id?: number;\n parent_chain_id?: number;\n /** @enum {string} */\n type?: \"OPTIMISM\" | \"ARBITRUM\";\n name?: string;\n rpc?: string;\n ws?: string;\n explorer?: string;\n logo_url?: string;\n icon_url?: string;\n brand_color?: string;\n native_currency?: {\n name?: string;\n symbol?: string;\n decimals?: number;\n contract?: string;\n };\n contracts?: Record<string, never>;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n id?: string;\n status?: string;\n eta_seconds?: number;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n failure_reason?: string;\n code?: string;\n status?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n content: {\n \"application/json\": {\n failure_reason?: string;\n code?: string;\n status?: string;\n };\n };\n };\n };\n };\n };\n \"/prices/rates\": {\n get: {\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n AVAX?: number;\n ETH?: number;\n MATIC?: number;\n USDC?: number;\n XAI?: number;\n SIPHER?: number;\n TG7?: number;\n POP?: number;\n OMI?: number;\n TOPIA?: number;\n ANIME?: number;\n APE?: number;\n G?: number;\n G7?: number;\n POWER?: number;\n SYND?: number;\n };\n };\n };\n };\n };\n };\n \"/currencies/v1\": {\n post: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n requestBody?: {\n content: {\n \"application/json\": {\n /** @description Return default currencies */\n defaultList?: boolean;\n /** @description Chain IDs to search for currencies */\n chainIds?: number[];\n /** @description Search term for currencies */\n term?: string;\n /** @description Address of the currency contract */\n address?: string;\n /** @description ID to search for a currency group */\n currencyId?: string;\n /** @description List of token addresses, like: chainId:address */\n tokens?: string[];\n /** @description Filter verified currencies */\n verified?: boolean;\n /** @description Limit the number of results */\n limit?: number;\n /** @description Include all chains for a currency when filtering by chainId and address */\n includeAllChains?: boolean;\n /** @description Uses 3rd party API's to search for a token, in case relay does not have it indexed */\n useExternalSearch?: boolean;\n /** @description Returns only currencies supported with deposit address bridging */\n depositAddressOnly?: boolean;\n };\n };\n };\n responses: {\n /** @description List of currencies */\n 200: {\n content: {\n \"application/json\": (({\n groupID?: string;\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n /** @enum {string} */\n vmType?: \"bvm\" | \"evm\" | \"svm\" | \"tvm\" | \"tonvm\" | \"hypevm\" | \"lvm\" | \"xrpvm\" | \"hederavm\";\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n })[])[];\n };\n };\n };\n };\n };\n \"/currencies/v2\": {\n post: {\n parameters: {\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n requestBody?: {\n content: {\n \"application/json\": {\n /** @description Return default currencies */\n defaultList?: boolean;\n /** @description Chain IDs to search for currencies */\n chainIds?: number[];\n /** @description Search term for currencies */\n term?: string;\n /** @description Address of the currency contract */\n address?: string;\n /** @description ID to search for a currency */\n currencyId?: string;\n /** @description List of token addresses, like: chainId:address */\n tokens?: string[];\n /** @description Filter verified currencies */\n verified?: boolean;\n /**\n * @description Limit the number of results\n * @default 20\n */\n limit?: number;\n /** @description Include all chains for a currency when filtering by chainId and address */\n includeAllChains?: boolean;\n /** @description Uses 3rd party API's to search for a token, in case relay does not have it indexed */\n useExternalSearch?: boolean;\n /** @description Returns only currencies supported with deposit address bridging */\n depositAddressOnly?: boolean;\n };\n };\n };\n responses: {\n /** @description List of currencies */\n 200: {\n content: {\n \"application/json\": ({\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n /** @enum {string} */\n vmType?: \"bvm\" | \"evm\" | \"svm\" | \"tvm\" | \"tonvm\" | \"hypevm\" | \"lvm\" | \"xrpvm\" | \"hederavm\";\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n })[];\n };\n };\n };\n };\n };\n \"/currencies/token/price\": {\n get: {\n parameters: {\n query: {\n /** @description Token address to get price for */\n address: string;\n /** @description Chain ID of the token */\n chainId: number;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description Token price in USD */\n price?: number;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Error message */\n error?: string;\n };\n };\n };\n };\n };\n };\n \"/currencies/token/price/v2\": {\n get: {\n parameters: {\n query: {\n /** @description Token address to get price for */\n address: string;\n /** @description Chain ID of the token */\n chainId: number;\n };\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n /** @description Token price in USD */\n price?: string;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Error message */\n error?: string;\n };\n };\n };\n };\n };\n };\n \"/currencies/trending\": {\n get: {\n parameters: {\n query?: {\n chainId?: number;\n sortBy?: \"relay24hBuyTxCount\" | \"relay24hBuyUsdVolume\" | \"coingecko6hTrending\";\n limit?: number;\n };\n };\n responses: {\n /** @description List of currencies */\n 200: {\n content: {\n \"application/json\": ({\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n /** @enum {string} */\n vmType?: \"bvm\" | \"evm\" | \"svm\" | \"tvm\" | \"tonvm\" | \"hypevm\" | \"lvm\" | \"xrpvm\" | \"hederavm\";\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n })[];\n };\n };\n };\n };\n };\n \"/chains/{chainId}/currencies/{address}\": {\n get: {\n parameters: {\n path: {\n chainId: number;\n address: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n /** @enum {string} */\n vmType?: \"bvm\" | \"evm\" | \"svm\" | \"tvm\" | \"tonvm\" | \"hypevm\" | \"lvm\" | \"xrpvm\" | \"hederavm\";\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n price?: number;\n marketCap?: string;\n fdv?: string;\n liquidity?: string;\n codexChainName?: string;\n codexChainShortName?: string;\n createdAt?: number;\n socialLinks?: {\n website?: string;\n twitter?: string;\n coingecko?: string;\n discord?: string;\n };\n volume?: {\n \"24h\"?: {\n usd?: number;\n };\n };\n priceChange?: {\n \"5m\"?: string;\n \"1h\"?: string;\n \"4h\"?: string;\n \"24h\"?: string;\n };\n pair?: {\n address?: string;\n token0?: {\n address?: string;\n symbol?: string;\n metadata?: {\n logoURI?: string;\n };\n };\n token1?: {\n address?: string;\n symbol?: string;\n metadata?: {\n logoURI?: string;\n };\n };\n };\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Error message */\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/chains/{chainId}/currencies/{address}/chart\": {\n get: {\n parameters: {\n query?: {\n /** @description Timeframe for chart data can be either of the following */\n timeframe?: \"5M\" | \"1H\" | \"4H\" | \"24H\" | \"7D\" | \"30D\" | \"MAX\";\n };\n path: {\n chainId: number;\n address: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n traders?: number[];\n transactions?: number[];\n t?: number[];\n o?: number[];\n h?: number[];\n l?: number[];\n c?: number[];\n volume?: string[];\n buyers?: number[];\n buys?: number[];\n buyVolume?: string[];\n sellers?: number[];\n sells?: number[];\n sellVolume?: string[];\n sumTraders?: number;\n sumNonUniqueTraders?: number;\n sumSellers?: number;\n sumBuyers?: number;\n sumTransactions?: number;\n sumSells?: number;\n sumBuys?: number;\n sumVolume?: string;\n sumSellVolume?: string;\n sumBuyVolume?: string;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n /** @description Error message */\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/provision/chain\": {\n post: {\n parameters: {\n header: {\n \"X-RELAY-INTEGRATION-SECRET\": string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n chainId: number;\n parentChainId: number;\n /** @enum {string} */\n type: \"OPTIMISM\" | \"ARBITRUM\";\n name: string;\n rpc: string;\n ws: string;\n explorer?: string;\n logoUrl?: string;\n iconurl?: string;\n brandColor?: string;\n nativeCurrency: {\n name?: string;\n symbol?: string;\n decimals?: number;\n contract?: string;\n };\n contracts: Record<string, never>;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n id?: string;\n status?: string;\n etaSeconds?: number;\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n status?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n status?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n status?: string;\n };\n };\n };\n };\n };\n };\n \"/sanctioned/{address}\": {\n get: {\n parameters: {\n path: {\n address: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n sanctioned?: boolean;\n };\n };\n };\n };\n };\n };\n \"/wallets/screen\": {\n post: {\n parameters: {\n header: {\n /** @description Required API key for authentication. Contact the team for getting an API Key */\n \"x-api-key\": string;\n };\n };\n requestBody: {\n content: {\n \"application/json\": {\n wallets: {\n address?: string;\n chainId?: string;\n }[];\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n message?: string;\n wallets?: unknown[];\n };\n };\n };\n /** @description Default Response */\n 400: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/wallets/screen/override\": {\n post: {\n requestBody: {\n content: {\n \"application/json\": {\n wallet: string;\n chainId?: string;\n /** @enum {string} */\n action: \"ALLOW\" | \"BLOCK\" | \"NONE\";\n reason?: string;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/wallets/screen/info\": {\n get: {\n parameters: {\n query: {\n wallet: string;\n chainId?: string;\n source?: string;\n forceScreen?: boolean;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n message?: string;\n isBlocked?: boolean;\n isTrmBlocked?: boolean | null;\n isVasp?: boolean | null;\n trmBlockReasons?: ({\n category?: string;\n /** @enum {string} */\n severity?: \"unknown\" | \"low\" | \"medium\" | \"high\" | \"severe\";\n /** @enum {string|null} */\n riskType?: \"OWNERSHIP\" | \"COUNTERPARTY\" | \"INDIRECT\" | null;\n })[];\n isHackBountyBlocked?: boolean;\n isChainalysisBlocked?: boolean;\n isOstiumBlocked?: boolean;\n hermod?: {\n isBlocked?: boolean;\n threatLevel?: number | null;\n hitUuid?: string | null;\n sanctioned?: string | null;\n };\n override?: string;\n reason?: string | null;\n };\n };\n };\n /** @description Default Response */\n 401: {\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n };\n \"/withdrawals/attest-deposit\": {\n post: {\n requestBody: {\n content: {\n \"application/json\": {\n chainId: number;\n transactionId: string;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: never;\n };\n };\n };\n };\n \"/withdrawals/request\": {\n post: {\n requestBody: {\n content: {\n \"application/json\": {\n chainId: string;\n currency: string;\n amount: string;\n ownerChainId: string;\n owner: string;\n recipient: string;\n nonce?: string;\n additionalData?: unknown;\n signature?: string;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: never;\n };\n };\n };\n };\n \"/withdrawals/status\": {\n get: {\n parameters: {\n query: {\n id: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n status?: string;\n transaction?: {\n [key: string]: unknown;\n } | null;\n withdrawal?: {\n [key: string]: unknown;\n } | null;\n txHash?: string | null;\n reason?: string | null;\n };\n };\n };\n };\n };\n };\n \"/metrics/usage\": {\n /** @description Get API call counts for the authenticated API key, grouped by endpoint, status code, and error code. */\n get: {\n parameters: {\n query?: {\n /** @description Time bucket granularity. minutely defaults to last 24h, hourly to last 7d, daily to last 14d. */\n granularity?: \"minutely\" | \"hourly\" | \"daily\";\n /** @description Start of the query window as a Unix timestamp (seconds). Defaults based on granularity. */\n startTimestamp?: number;\n /** @description End of the query window as a Unix timestamp (seconds). Defaults to now. */\n endTimestamp?: number;\n /** @description Filter metrics by API key. Accepts a single value or a comma-separated list (e.g. key1,key2) — results include metrics matching any of the supplied keys. Maximum 50 keys. */\n apiKey?: string;\n };\n header?: {\n /** @description Integrator API key. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n metrics?: {\n apiKey?: string;\n timestamp?: string;\n endpoint?: string;\n statusCode?: number;\n /** @description Only present on rows where statusCode is 400. Contains the machine-readable error code (e.g. AMOUNT_TOO_LOW). */\n errorCode?: string;\n count?: number;\n }[];\n };\n };\n };\n };\n };\n };\n}\n\nexport type webhooks = Record<string, never>;\n\nexport interface components {\n schemas: {\n };\n responses: never;\n parameters: never;\n requestBodies: never;\n headers: never;\n pathItems: never;\n}\n\nexport type $defs = Record<string, never>;\n\nexport type external = Record<string, never>;\n\nexport type operations = Record<string, never>;\n"]}