@relayprotocol/relay-sdk 8.2.0 → 8.3.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":"","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/{wallet}/events\": {\n /** @description Balance movements for one wallet: fee sponsorship, fixed-rate settlement, fee credits, deposits and withdrawals. A wallet linked to your integrator returns its full ledger with running balances; any other wallet returns the events your integrator caused on it, plus deposits and settled withdrawals, which are public on-chain. For current balances rather than history, use /app-fees/:wallet/balances. */\n get: {\n parameters: {\n query?: {\n /** @description Return only events belonging to this request. */\n requestId?: string;\n /** @description Comma-separated request ids, at most 20 per call. Use a type and time range instead for a reconciliation sweep. */\n requestIds?: string;\n /** @description Comma-separated event types to filter by. Events matching any of the given types are returned. Omit for all. Supported values: fee-credit, fee-sponsorship-payment, fee-sponsorship-refund, gasless-refund, balance-withdraw, balance-deposit, gas-sponsorship-payment, fixed-rate-credit, fixed-rate-debit, fixed-bps-pnl, fast-fill-hold, fast-fill-release, admin-manual-adjustment. */\n type?: string;\n /** @description Restrict to one chain. */\n chainId?: number | null;\n /** @description Restrict to one currency. Pair with `chainId` for non-EVM currencies. */\n currency?: string | null;\n /** @description Only events created at or after this unix timestamp, in seconds. */\n startTimestamp?: number | null;\n /** @description Only events created at or before this unix timestamp, in seconds. */\n endTimestamp?: number | null;\n /** @description Maximum number of events to return per page. */\n limit?: number | null;\n /** @description Pagination cursor returned by a previous response. Pass it back to fetch the next page. */\n continuation?: string | null;\n };\n header?: {\n /** @description API key. Required. */\n \"x-api-key\"?: string;\n };\n path: {\n /** @description Wallet address. A wallet linked to your integrator returns its full ledger; any other returns the events your integrator caused on it, plus deposits and settled withdrawals, which are public on-chain. */\n wallet: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n wallet?: string;\n events?: ({\n /** @description Event identifier. Also the pagination cursor value. */\n id?: string;\n /** @enum {string} */\n type?: \"fee-credit\" | \"fee-sponsorship-payment\" | \"fee-sponsorship-refund\" | \"gasless-refund\" | \"balance-withdraw\" | \"balance-deposit\" | \"gas-sponsorship-payment\" | \"fixed-rate-credit\" | \"fixed-rate-debit\" | \"fixed-bps-pnl\" | \"fast-fill-hold\" | \"fast-fill-release\" | \"admin-manual-adjustment\";\n /** @description The request this event belongs to. Null for events that are not request-scoped, such as deposits and withdrawals. */\n requestId?: string | null;\n wallet?: string;\n /** @description Signed change to the balance. Negative amounts are debits. */\n delta?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n };\n /** @description Balance after this event. Returned only for a wallet linked to your integrator, where the whole ledger is visible and the running balance reconciles. */\n balanceAfter?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n } | null;\n /** @description Type-specific context. Present only where the event carries it; absent on rows written before the field existed. */\n details?: ({\n /** @description Withdrawal identifier. Present on `balance-withdraw` events only. */\n claimId?: string | null;\n /** @description The fixed rate the request was quoted at, e.g. `1:1`. */\n fixedRate?: string | null;\n currencyIn?: {\n chainId?: number;\n address?: string;\n } | null;\n currencyOut?: {\n chainId?: number;\n address?: string;\n } | null;\n currencyOutAmount?: string | null;\n /** @description What the output would have been at market. The settled delta is the difference between this and the amount delivered at the fixed rate. */\n marketAmountOut?: string | null;\n /** @description Requests covered by an event that spans more than one, such as a fast-fill write-off. */\n requestIds?: string[] | null;\n }) | null;\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 /** @description Default Response */\n 403: {\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 /** @description If any token on this chain can be a deposit-address input. Routes still require a quote. */\n depositAddressEnabled?: 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 /** @description RelayRouter 3.2 and its approval proxy. Relay routes through them on a chain when erc20Router and approvalProxy show these addresses */\n \"v3.2\"?: {\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\" | \"atlasvm\";\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 /**\n * @deprecated\n * @description Deprecated: canonical plus bridging has been removed, so this is always false\n */\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\" | \"kbtc\" | \"cirbtc\" | \"cgt\" | \"dai\" | \"eth\" | \"omi\" | \"pop\" | \"tg7\" | \"tia\" | \"usdc\" | \"usdc.e\" | \"usdt\" | \"sol\" | \"weth\" | \"ape\" | \"g7\" | \"pengu\" | \"plume\" | \"plumeusd\" | \"gun\" | \"somi\" | \"xpl\" | \"usde\" | \"mon\" | \"musd\" | \"usdm\" | \"pyusd\" | \"cash\" | \"eusd\" | \"pusd\" | \"bnb\" | \"usdg\" | \"pathusd\" | \"ausd\" | \"ousd\" | \"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 /**\n * @deprecated\n * @description Deprecated: canonical plus bridging has been removed, so this is always false\n */\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 /** @enum {string} */\n status: \"detected\" | \"sweeping\" | \"swept\" | \"filled\" | \"refunded\" | \"failed\" | \"needs_manual\";\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\" | \"refund_below_fees\" | null;\n })[];\n recoveryCases?: ({\n id: string;\n depositId: string;\n sweepId: string | null;\n reason: string;\n /** @enum {string} */\n status: \"open\" | \"manual_review_required\" | \"resolved\";\n recipient: string | null;\n currency: string;\n amount: string;\n createdAt: string;\n updatedAt: string;\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 \"/deposit-addresses/{depositAddressId}/update/v2\": {\n /** @description Update a Deposit Address V2 that the caller's integrator owns. Omitted fields keep their current value. New pricing applies to deposits quoted after the update. A first deposit that matches the original quote keeps that quote until it expires. */\n post: {\n parameters: {\n header?: {\n /** @description API key for authentication. */\n \"x-api-key\"?: string;\n /** @description Developer portal key for authentication. It cannot change pricing. */\n \"x-dev-portal-key\"?: string;\n };\n path: {\n depositAddressId: string;\n };\n };\n requestBody?: {\n content: {\n \"application/json\": {\n /** @description Whether the address accepts new deposits. A one-time address cannot be enabled after it receives a deposit. */\n isEnabled?: boolean;\n /** @description Fixed rate as 'input:output', for example '1:1'. Use null to remove it. Only the API key that created the address can change it. */\n fixedRate?: string | null;\n /** @description Whether the API key's sponsoring wallet pays the fees. Only the API key that created the address can change it. */\n subsidizeFees?: boolean;\n /** @description Fee components to sponsor. Requires subsidizeFees: true. If omitted, the address keeps its current components. */\n sponsoredFeeComponents?: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The max subsidization amount in USDC decimal format, e.g 1000000 = $1. Use null to remove the cap. Requires subsidizeFees: true. If omitted, the address keeps its current cap. */\n maxSubsidizationAmount?: string | null;\n };\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 403: {\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, permit2 or multicall-authorization (the extra EIP-712 signature of the approval proxy 3.1+ EIP-3009 flow, to be posted before the eip3009 signature) */\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 /**\n * @deprecated\n * @description Deprecated: canonical+ bridging has been removed and this flag is ignored\n */\n useExternalLiquidity?: boolean;\n /**\n * @deprecated\n * @description Deprecated: fallback routes have been removed and this flag is ignored\n */\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 Opt into the two signature EIP-3009 permit flow of approval proxy 3.1+. The authorize step then starts with a MulticallAuthorization signature item (posted to /execute/permits with kind multicall-authorization, no status check) followed by the EIP-3009 authorization item. Without it, EIP-3009 permits keep the single signature flow on the chain's 3.0 contracts. */\n useMulticallAuthorization?: boolean;\n /** @description Return protocol data for on-chain intent validation. This includes protocol.v2.orderSignature and may increase quote latency. */\n includeProtocolData?: boolean;\n /**\n * @description Require exact swap contracts on each EVM leg, overriding the App pin. v3 means 3.0. Unavailable versions and incompatible permit flows return 400 instead of falling back. Only supported for swap execution kinds.\n * @enum {string}\n */\n swapContractsVersion?: \"v3\" | \"v3.2\";\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 Makes the deposit address one-time use. On /quote/v2, EXACT_OUTPUT addresses are always one-time use. */\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 Restricts solana swap routing to routes that are compatible with Jito bundles. Only set this when the swap will be executed inside a Jito bundle. */\n forJitoBundle?: boolean;\n /** @description Whether to include compute unit limit instruction for solana origin requests. */\n includeComputeUnitLimit?: boolean;\n /** @description Whether to return the solana deposit transaction in the v1 (SIMD-0385) format: no lookup tables, a 4096 byte limit, and the compute budget in `transactionConfig`. Best effort; the returned step data sets `transactionVersion` to 1 when honored. */\n useV1Transaction?: 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 (output units per input unit, human units) to compare router quotes against. When fastestInPriceRange is enabled for the API key, destination-leg quotes more than 20% below it are skipped. When useRouteRacingOnOrigin is set, it anchors origin swap route selection: routes priced within a fixed band of it (20% below to 50% above) are preferred, and the best route overall is used when none is in the band. The selected route alone sets the expected and minimum output (with slippageTolerance applied to it); the reference price never sets a floor. Expects a positive decimal string such as \"0.000131\" (scientific notation is not parsed). Deliberately unconstrained by a schema pattern: a malformed or non-positive value, or one sent by a key without the relevant grant, is ignored and the quote is served without a reference price rather than rejected. */\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 Whether to use route racing for this quote's origin swap (executing multiple candidate routes on-chain and keeping the best), when the API key is authorized for it and the origin chain is configured for route racing. */\n useRouteRacingOnOrigin?: boolean;\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 /** @description Opt-in queueing: when the destination fill hits temporarily insufficient liquidity, keep retrying it until the queueingTtl window expires (then refund) instead of refunding immediately. Requires queueingTtl. */\n useQueueing?: boolean;\n /** @description Queueing window, in seconds, measured from when the quote was generated. While it is open, a useQueueing request that hits insufficient destination liquidity is retried instead of refunded; once it expires the request is refunded. Independent of ttl. Only used together with useQueueing. */\n queueingTtl?: 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 complete the bridge or swap. Each step contains a single item, either a signature or a transaction\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 The item to execute for this step. A step always contains exactly one item, matching the kind of the step (transaction or signature). */\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 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 /**\n * @deprecated\n * @description Deprecated: canonical+ bridging has been removed and this flag is ignored\n */\n useExternalLiquidity?: boolean;\n /**\n * @deprecated\n * @description Deprecated: fallback routes have been removed and this flag is ignored\n */\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 Opt into the two signature EIP-3009 permit flow of approval proxy 3.1+. The authorize step then starts with a MulticallAuthorization signature item (posted to /execute/permits with kind multicall-authorization, no status check) followed by the EIP-3009 authorization item. Without it, EIP-3009 permits keep the single signature flow on the chain's 3.0 contracts. */\n useMulticallAuthorization?: boolean;\n /** @description Return protocol data for on-chain intent validation. This includes protocol.v2.orderSignature and may increase quote latency. */\n includeProtocolData?: boolean;\n /**\n * @description Require exact swap contracts on each EVM leg, overriding the App pin. v3 means 3.0. Unavailable versions and incompatible permit flows return 400 instead of falling back. Only supported for swap execution kinds.\n * @enum {string}\n */\n swapContractsVersion?: \"v3\" | \"v3.2\";\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 Makes the deposit address one-time use. On /quote/v2, EXACT_OUTPUT addresses are always one-time use. */\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 Restricts solana swap routing to routes that are compatible with Jito bundles. Only set this when the swap will be executed inside a Jito bundle. */\n forJitoBundle?: boolean;\n /** @description Whether to include compute unit limit instruction for solana origin requests. */\n includeComputeUnitLimit?: boolean;\n /** @description Whether to return the solana deposit transaction in the v1 (SIMD-0385) format: no lookup tables, a 4096 byte limit, and the compute budget in `transactionConfig`. Best effort; the returned step data sets `transactionVersion` to 1 when honored. */\n useV1Transaction?: 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 (output units per input unit, human units) to compare router quotes against. When fastestInPriceRange is enabled for the API key, destination-leg quotes more than 20% below it are skipped. When useRouteRacingOnOrigin is set, it anchors origin swap route selection: routes priced within a fixed band of it (20% below to 50% above) are preferred, and the best route overall is used when none is in the band. The selected route alone sets the expected and minimum output (with slippageTolerance applied to it); the reference price never sets a floor. Expects a positive decimal string such as \"0.000131\" (scientific notation is not parsed). Deliberately unconstrained by a schema pattern: a malformed or non-positive value, or one sent by a key without the relevant grant, is ignored and the quote is served without a reference price rather than rejected. */\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 Whether to use route racing for this quote's origin swap (executing multiple candidate routes on-chain and keeping the best), when the API key is authorized for it and the origin chain is configured for route racing. */\n useRouteRacingOnOrigin?: boolean;\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 /** @description Opt-in queueing: when the destination fill hits temporarily insufficient liquidity, keep retrying it until the queueingTtl window expires (then refund) instead of refunding immediately. Requires queueingTtl. */\n useQueueing?: boolean;\n /** @description Queueing window, in seconds, measured from when the quote was generated. While it is open, a useQueueing request that hits insufficient destination liquidity is retried instead of refunded; once it expires the request is refunded. Independent of ttl. Only used together with useQueueing. */\n queueingTtl?: 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 complete the bridge or swap. Each step contains a single item, either a signature or a transaction\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 The item to execute for this step. A step always contains exactly one item, matching the kind of the step (transaction or signature). */\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 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 /**\n * @deprecated\n * @description Deprecated: canonical+ bridging has been removed and this flag is ignored\n */\n useExternalLiquidity?: boolean;\n /**\n * @deprecated\n * @description Deprecated: fallback routes have been removed and this flag is ignored\n */\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 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\" | \"POOL_CAP_EXCEEDED\" | \"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\" | \"REFUND_RECIPIENT_IS_BLOCKED\" | \"MANUAL_REFUND_REQUIRED\" | null;\n };\n };\n };\n };\n };\n };\n \"/requests/v2\": {\n /** @deprecated */\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. Non-terminal requests are only returned to the API key that created them, or to a dev-portal key of the same integrator. */\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 non-terminal requests omit it entirely. */\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. Non-terminal requests are only returned to the API key that created them, or to a dev-portal key of the same integrator. */\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\" | \"POOL_CAP_EXCEEDED\" | \"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\" | \"REFUND_RECIPIENT_IS_BLOCKED\" | \"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. Requests are limited to the caller’s integrator and requests without an API key. */\n destinationChainId?: number;\n /** @description Get all requests for a single chain in either direction. Overridden by originChainId / destinationChainId. Requests are limited to the caller’s integrator and requests without an API key. */\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\" | \"POOL_CAP_EXCEEDED\" | \"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\" | \"REFUND_RECIPIENT_IS_BLOCKED\" | \"MANUAL_REFUND_REQUIRED\";\n /** @description Filter requests by API key. Accepts a single value or a comma-separated list (OR matching). Maximum 50 values across apiKey and apiKeyId. */\n apiKey?: string;\n /** @description Filter by App IDs (app_id_<uuid>, comma-separated, maximum 50) owned by your integrator. Matches indexed App attribution across current and revoked keys. */\n appId?: string;\n /** @description Filter by API key IDs (lowercase key_id_<uuid>, comma-separated), owned by your integrator. OR matching with apiKey; maximum 50 values combined. */\n apiKeyId?: 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. Without `apiKeyId` or `apiKey`, returns only matching public keyless requests. Every supplied key must belong to the authenticating integrator. Includes matching requests for the selected keys and public requests with neither a recorded API key nor a legacy fill API key, regardless of age. Existing visibility restrictions still apply; public requests are not assigned to your integrator. */\n referrer?: string;\n /** @description Filter by origin currency chain ID. */\n currencyInChainId?: number;\n /** @description Filter by destination currency chain ID. Requests are limited to the caller’s integrator and requests without an API key. */\n currencyOutChainId?: number;\n /** @description Filter by origin currency contract address. */\n currencyInAddress?: string;\n /** @description Filter by destination currency contract address. Requests are limited to the caller’s integrator and requests without an API key. */\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. Requests are limited to the caller’s integrator and requests without an API key. */\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, fee_sponsorship. */\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. At most 50 distinct string values across id, term, and grouped id/term filters (including negations) are allowed; a top-level id with includeChildRequests is excluded from this limit. Requests are limited to the caller’s integrator and requests without an API key. A `referrer` key (or `not:referrer`) without top-level `apiKeyId` or `apiKey` limits that group to public keyless requests. Optional key parameters must contain keys owned by the authenticating integrator. Referrer groups also include matching public keyless requests regardless of age; groups without a referrer retain their existing scope unless a top-level referrer is supplied. */\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 /** @description Persisted duplicate-deposit refund relationships, or null when none are recorded. Links can exist before a refund completes; check each linked request's status for its outcome. */\n duplicateDeposits?: ({\n /** @description Original request associated with this duplicate-deposit refund request, or null for a parent request. */\n parentRequestId?: string | null;\n /** @description Request IDs tracking refunds for duplicate deposits on this request. */\n refundRequestIds?: string[];\n }) | 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 /**\n * @description Claim status stored on the request. New claims are recorded by a background job after recovery executes on the Hub; this does not confirm withdrawal to the user's wallet. Older records may predate recovery confirmation. Null when no claim status has been recorded. Historical claims require a separate backfill. Updated asynchronously after indexing.\n * @enum {string|null}\n */\n claimStatus?: \"unclaimed\" | \"claimed\" | null;\n /**\n * @description Withdrawal inferred from the Hub balance for confirmed claims. Withdrawn means the depositor's Hub balance for this token is zero; not_withdrawn means it is nonzero. Cached for up to three minutes. Balances are shared across deposits; this does not confirm receipt in the destination wallet. Null if not claimed or the balance lookup or deposit identity is unavailable or ambiguous.\n * @enum {string|null}\n */\n withdrawalStatus?: \"not_withdrawn\" | \"withdrawn\" | null;\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\" | \"POOL_CAP_EXCEEDED\" | \"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\" | \"REFUND_RECIPIENT_IS_BLOCKED\" | \"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?: ({\n bucket?: string;\n ruleId?: string;\n relayFeeBps?: number;\n integratorFeeBps?: number;\n totalFeeBps?: number;\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 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 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 /** @description Referrer — only returned when the caller authenticates as the request's creator integrator. */\n referrer?: string | null;\n /** @description Durable App attribution, returned only for your own requests with includeAuthenticatedData=true. Null when historical attribution is unavailable. */\n appId?: string | null;\n appName?: 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\" | \"fee_sponsorship\")[];\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 parameters: {\n header?: {\n /** @description API key of the integrator that created the request. Required. */\n \"x-api-key\"?: string;\n };\n };\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 /** @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 /** @description Default Response */\n 403: {\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/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 /** @description Default Response */\n 503: {\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. For a Deposit Address V2 address, queues a search for recent deposit transactions instead, at most once per hour for each currency. */\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 /** @description Deposit Address V2 only. Transaction to reindex. Without it, the endpoint finds recent deposit transactions itself. */\n txHash?: 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 409: {\n content: {\n \"application/json\": {\n /** @description Deposit Address V2 only. The transaction is still pending. */\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 \"/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 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 };\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 Filter by currency symbol */\n symbol?: string;\n /** @description Filter by currency group ID */\n groupID?: 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\" | \"atlasvm\";\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 Filter by currency symbol */\n symbol?: string;\n /** @description Filter by currency group ID */\n groupID?: 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 eligible deposit-address input currencies for the caller's DA mode. Eligibility does not guarantee availability for every destination and amount. */\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\" | \"atlasvm\";\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\" | \"atlasvm\";\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\" | \"atlasvm\";\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 \"/currencies/classifications\": {\n get: {\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n major: string[];\n stable: 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 400: {\n content: {\n \"application/json\": {\n message: string;\n /** @enum {string} */\n errorCode?: \"PROTECTED_RELAY_ADDRESS\";\n errorData?: {\n address: string;\n addressTypes: string[];\n chainIds: number[];\n };\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 hints?: {\n \"atlas-vm\"?: {\n depositor: string;\n };\n };\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n success: boolean;\n execution: {\n chainId: number;\n oracleAddress: string;\n idempotencyKey: string;\n };\n };\n };\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 \"/withdrawals/balances\": {\n /** @description Lists credited Hub balances for one recovery owner. Excludes deposits awaiting attestation or recovery; discovery is eventually consistent. */\n get: {\n parameters: {\n query: {\n recoveryAddress: string;\n ownerChainId: number;\n limit?: number;\n continuation?: string;\n };\n header?: {\n /** @description Optional API key for higher rate limits. */\n \"x-api-key\"?: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n balances: ({\n hubTokenId: string;\n currency: ({\n chainId: number;\n address: string;\n name: string | null;\n symbol: string | null;\n decimals: number | null;\n }) | null;\n amount: string;\n amountFormatted: string | null;\n amountUsd: string | null;\n })[];\n continuation: string | null;\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 500: {\n content: {\n \"application/json\": {\n message: string;\n errorCode: string;\n };\n };\n };\n };\n };\n };\n \"/access-tokens\": {\n /** @description Exchange a tier 2+ backend API key for a 15-minute public API session JWT. */\n post: {\n parameters: {\n header: {\n \"x-api-key\": string;\n };\n };\n requestBody?: {\n content: {\n \"application/json\": Record<string, never>;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n token: string;\n /** @enum {string} */\n tokenType: \"Bearer\";\n /** Format: date-time */\n expiresAt: string;\n /** @enum {string} */\n scope: \"public-api\";\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 403: {\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 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 \"/metrics/usage\": {\n /** @description Get API call counts for the authenticated API key, or owned keys and Apps using x-dev-portal-key. Rows are grouped by API key, 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 values across apiKey, apiKeyId and appId. */\n apiKey?: string;\n /** @description Filter metrics by API key IDs (key_id_<uuid>, comma-separated) owned by your integrator when using x-dev-portal-key. OR matching with apiKey and appId; maximum 50 values combined. */\n apiKeyId?: string;\n /** @description Filter by owned Apps (app_id_<uuid>, comma-separated); requires x-dev-portal-key. Includes all current keys, including inactive keys. OR matching with apiKey and apiKeyId; maximum 50 filter values combined before expanding Apps to keys. Rows remain grouped by API key. App attribution is resolved at read time: hard-deleted keys drop out and reassigned keys attribute all retained usage to their current App. Retention is 24h minutely, 7d hourly, and 14d daily. */\n appId?: string;\n };\n header?: {\n /** @description Integrator portal credential required for appId filtering. */\n \"x-dev-portal-key\"?: string;\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 apiKeyId?: string | null;\n appId?: string | null;\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 \"/protocol/executions/{id}\": {\n get: {\n parameters: {\n path: {\n id: string;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n execution: {\n chainId: number;\n oracleAddress: string;\n idempotencyKey: string;\n };\n /** @enum {string} */\n status: \"unknown\" | \"pending\" | \"executed\" | \"failed\";\n txHash: string | null;\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 503: {\n content: {\n \"application/json\": {\n message: string;\n errorCode: string;\n };\n };\n };\n };\n };\n };\n \"/protocol/transfers\": {\n post: {\n requestBody: {\n content: {\n \"application/json\": {\n /** Format: uuid */\n requestId: string;\n asset: {\n chainId: number;\n currency: string;\n };\n owner: {\n chainId: number;\n address: string;\n signature?: string;\n };\n amount: string;\n recipient: string;\n expiration?: number;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n content: {\n \"application/json\": {\n execution: {\n chainId: number;\n oracleAddress: string;\n idempotencyKey: string;\n };\n /** @enum {string} */\n status: \"awaiting_signature\" | \"pending\" | \"executed\" | \"failed\";\n txHash: string | null;\n signing?: {\n message: string;\n expiration: number;\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 503: {\n content: {\n \"application/json\": {\n message: string;\n errorCode: string;\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":"","sourcesContent":["export interface paths {\n \"/kyc/sessions\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: {\n content: {\n \"application/json\": {\n orderId?: string;\n withdrawer?: {\n chainId: number;\n address: string;\n };\n } & ({\n orderId: string;\n } | {\n withdrawer: {\n chainId: number;\n address: string;\n };\n });\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n orderId?: string;\n withdrawer?: {\n chainId: number;\n address: string;\n };\n kyc: {\n /** @enum {string} */\n status: \"required\" | \"pending\" | \"approved\" | \"resubmission_required\" | \"rejected\";\n };\n session: {\n token: string;\n sdk: {\n /** @enum {string} */\n provider: \"persona\";\n inquiryId: string;\n sessionToken: string;\n };\n };\n } & ({\n orderId: string;\n } | {\n withdrawer: {\n chainId: number;\n address: string;\n };\n });\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/kyc/status\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n orderId?: string;\n withdrawer?: {\n chainId: number;\n address: string;\n };\n kyc: {\n /** @enum {string} */\n status: \"required\" | \"pending\" | \"approved\" | \"resubmission_required\" | \"rejected\";\n };\n } & ({\n orderId: string;\n } | {\n withdrawer: {\n chainId: number;\n address: string;\n };\n });\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/app-fees/{wallet}/balances\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get: {\n parameters: {\n query?: never;\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 cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @description Descriptive error message */\n message?: string;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/app-fees/{wallet}/claim\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: {\n parameters: {\n query?: never;\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 cookie?: never;\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 headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @description Descriptive error message */\n message?: string;\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/app-fees/{wallet}/claims\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\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 header?: never;\n path: {\n /** @description Wallet address to retrieve claim history for */\n wallet: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @description Descriptive error message */\n message?: string;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/balance/{wallet}/events\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** @description Balance movements for one wallet: fee sponsorship, fixed-rate settlement, fee credits, deposits and withdrawals. A wallet linked to your integrator returns its full ledger with running balances; any other wallet returns the events your integrator caused on it, plus deposits and settled withdrawals, which are public on-chain. For current balances rather than history, use /app-fees/:wallet/balances. */\n get: {\n parameters: {\n query?: {\n /** @description Return only events belonging to this request. */\n requestId?: string;\n /** @description Comma-separated request ids, at most 20 per call. Use a type and time range instead for a reconciliation sweep. */\n requestIds?: string;\n /** @description Comma-separated event types to filter by. Events matching any of the given types are returned. Omit for all. Supported values: fee-credit, fee-sponsorship-payment, fee-sponsorship-refund, gasless-refund, balance-withdraw, balance-deposit, gas-sponsorship-payment, fixed-rate-credit, fixed-rate-debit, fixed-bps-pnl, fast-fill-hold, fast-fill-release, admin-manual-adjustment. */\n type?: string;\n /** @description Restrict to one chain. */\n chainId?: number | null;\n /** @description Restrict to one currency. Pair with `chainId` for non-EVM currencies. */\n currency?: string | null;\n /** @description Only events created at or after this unix timestamp, in seconds. */\n startTimestamp?: number | null;\n /** @description Only events created at or before this unix timestamp, in seconds. */\n endTimestamp?: number | null;\n /** @description Maximum number of events to return per page. */\n limit?: number | null;\n /** @description Pagination cursor returned by a previous response. Pass it back to fetch the next page. */\n continuation?: string | null;\n };\n header?: {\n /** @description API key. Required. */\n \"x-api-key\"?: string;\n };\n path: {\n /** @description Wallet address. A wallet linked to your integrator returns its full ledger; any other returns the events your integrator caused on it, plus deposits and settled withdrawals, which are public on-chain. */\n wallet: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n wallet?: string;\n events?: {\n /** @description Event identifier. Also the pagination cursor value. */\n id?: string;\n /** @enum {string} */\n type?: \"fee-credit\" | \"fee-sponsorship-payment\" | \"fee-sponsorship-refund\" | \"gasless-refund\" | \"balance-withdraw\" | \"balance-deposit\" | \"gas-sponsorship-payment\" | \"fixed-rate-credit\" | \"fixed-rate-debit\" | \"fixed-bps-pnl\" | \"fast-fill-hold\" | \"fast-fill-release\" | \"admin-manual-adjustment\";\n /** @description The request this event belongs to. Null for events that are not request-scoped, such as deposits and withdrawals. */\n requestId?: string | null;\n wallet?: string;\n /** @description Signed change to the balance. Negative amounts are debits. */\n delta?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n };\n /** @description Balance after this event. Returned only for a wallet linked to your integrator, where the whole ledger is visible and the running balance reconciles. */\n balanceAfter?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n };\n amount?: string;\n amountFormatted?: string;\n amountUsd?: string;\n } | null;\n /** @description Type-specific context. Present only where the event carries it; absent on rows written before the field existed. */\n details?: {\n /** @description Withdrawal identifier. Present on `balance-withdraw` events only. */\n claimId?: string | null;\n /** @description The fixed rate the request was quoted at, e.g. `1:1`. */\n fixedRate?: string | null;\n currencyIn?: {\n chainId?: number;\n address?: string;\n } | null;\n currencyOut?: {\n chainId?: number;\n address?: string;\n } | null;\n currencyOutAmount?: string | null;\n /** @description What the output would have been at market. The settled delta is the difference between this and the amount delivered at the fixed rate. */\n marketAmountOut?: string | null;\n /** @description Requests covered by an event that spans more than one, such as a fast-fill write-off. */\n requestIds?: string[] | null;\n } | null;\n createdAt?: string;\n }[];\n continuation?: string | null;\n };\n };\n };\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/chains\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\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 path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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 /** @description If any token on this chain can be a deposit-address input. Routes still require a quote. */\n depositAddressEnabled?: 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 /** @description RelayRouter 3.2 and its approval proxy. Relay routes through them on a chain when erc20Router and approvalProxy show these addresses */\n \"v3.2\"?: {\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\" | \"atlasvm\";\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 put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/chains/liquidity\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\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 path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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 put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/chains/health\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get: {\n parameters: {\n query?: {\n chainId?: string;\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/config\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** @deprecated */\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 header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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 /**\n * @deprecated\n * @description Deprecated: canonical plus bridging has been removed, so this is always false\n */\n supportsExternalLiquidity?: boolean;\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 put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/config/v2\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** @deprecated */\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?: \"btc\" | \"kbtc\" | \"cirbtc\" | \"cgt\" | \"dai\" | \"eth\" | \"pop\" | \"tg7\" | \"tia\" | \"usdc\" | \"usdc.e\" | \"usdt\" | \"sol\" | \"weth\" | \"ape\" | \"g7\" | \"pengu\" | \"plume\" | \"plumeusd\" | \"somi\" | \"xpl\" | \"usde\" | \"mon\" | \"musd\" | \"usdm\" | \"pyusd\" | \"cash\" | \"pusd\" | \"bnb\" | \"usdg\" | \"pathusd\" | \"ausd\" | \"ousd\" | \"usdc.e-cronos\";\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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 /**\n * @deprecated\n * @description Deprecated: canonical plus bridging has been removed, so this is always false\n */\n supportsExternalLiquidity?: boolean;\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 /** @description Default Response */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/deposit-addresses/v1\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\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 path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/deposit-addresses/v2\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\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 path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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 /** @enum {string} */\n status: \"detected\" | \"sweeping\" | \"swept\" | \"filled\" | \"refunded\" | \"failed\" | \"needs_manual\";\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\" | \"refund_below_fees\" | null;\n }[];\n recoveryCases?: {\n id: string;\n depositId: string;\n sweepId: string | null;\n reason: string;\n /** @enum {string} */\n status: \"open\" | \"manual_review_required\" | \"resolved\";\n recipient: string | null;\n currency: string;\n amount: string;\n createdAt: string;\n updatedAt: string;\n }[];\n nextPageToken: string | null;\n };\n timestamp: string;\n };\n };\n };\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 503: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/deposit-addresses/{depositAddressId}/disable/v2\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: {\n parameters: {\n query?: never;\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 cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 503: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/deposit-addresses/{depositAddressId}/update/v2\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** @description Update a Deposit Address V2 that the caller's integrator owns. Omitted fields keep their current value. New pricing applies to deposits quoted after the update. A first deposit that matches the original quote keeps that quote until it expires. */\n post: {\n parameters: {\n query?: never;\n header?: {\n /** @description API key for authentication. */\n \"x-api-key\"?: string;\n /** @description Developer portal key for authentication. It cannot change pricing. */\n \"x-dev-portal-key\"?: string;\n };\n path: {\n depositAddressId: string;\n };\n cookie?: never;\n };\n requestBody?: {\n content: {\n \"application/json\": {\n /** @description Whether the address accepts new deposits. A one-time address cannot be enabled after it receives a deposit. */\n isEnabled?: boolean;\n /** @description Fixed rate as 'input:output', for example '1:1'. Use null to remove it. Only the API key that created the address can change it. */\n fixedRate?: string | null;\n /** @description Whether the API key's sponsoring wallet pays the fees. Only the API key that created the address can change it. */\n subsidizeFees?: boolean;\n /** @description Fee components to sponsor. Requires subsidizeFees: true. If omitted, the address keeps its current components. */\n sponsoredFeeComponents?: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n /** @description The max subsidization amount in USDC decimal format, e.g 1000000 = $1. Use null to remove the cap. Requires subsidizeFees: true. If omitted, the address keeps its current cap. */\n maxSubsidizationAmount?: string | null;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 503: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/execute/permits\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\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 path?: never;\n cookie?: never;\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, permit2 or multicall-authorization (the extra EIP-712 signature of the approval proxy 3.1+ EIP-3009 flow, to be posted before the eip3009 signature) */\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 headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n errorData?: {\n chainId?: number;\n currency?: string;\n required?: string;\n available?: string;\n spender?: string;\n };\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/quote\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /**\n * @deprecated\n * @description This endpoint is deprecated. Use /quote/v2 instead.\n */\n post: {\n parameters: {\n query?: never;\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n path?: never;\n cookie?: never;\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 /**\n * @deprecated\n * @description Deprecated: canonical+ bridging has been removed and this flag is ignored\n */\n useExternalLiquidity?: boolean;\n /**\n * @deprecated\n * @description Deprecated: fallback routes have been removed and this flag is ignored\n */\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: an integer from 60 to 86399, or 0 for the default of 600 (10 minutes), which also applies when omitted. Use at least 120, since some permits take several minutes to land. */\n permitExpiry?: number;\n /** @description Opt into the two signature EIP-3009 permit flow of approval proxy 3.1+. The authorize step then starts with a MulticallAuthorization signature item (posted to /execute/permits with kind multicall-authorization, no status check) followed by the EIP-3009 authorization item. Without it, EIP-3009 permits keep the single signature flow on the chain's 3.0 contracts. */\n useMulticallAuthorization?: boolean;\n /** @description Return protocol data for on-chain intent validation. This includes protocol.v2.orderSignature and may increase quote latency. */\n includeProtocolData?: boolean;\n /**\n * @description Require exact swap contracts on each EVM leg, overriding the App pin. v3 means 3.0. Unavailable versions and incompatible permit flows return 400 instead of falling back. Only supported for swap execution kinds.\n * @enum {string}\n */\n swapContractsVersion?: \"v3\" | \"v3.2\";\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 Makes the deposit address one-time use. On /quote/v2, EXACT_OUTPUT addresses are always one-time use. */\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 Restricts solana swap routing to routes that are compatible with Jito bundles. Only set this when the swap will be executed inside a Jito bundle. */\n forJitoBundle?: boolean;\n /** @description Whether to include compute unit limit instruction for solana origin requests. */\n includeComputeUnitLimit?: boolean;\n /** @description Whether to return the solana deposit transaction in the v1 (SIMD-0385) format: no lookup tables, a 4096 byte limit, and the compute budget in `transactionConfig`. Best effort; the returned step data sets `transactionVersion` to 1 when honored. */\n useV1Transaction?: 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 quote at, as 'input:output' (for example '1:0.9996'). Requires an API key or referrer. Applied only on routes that support fixed-rate quotes, where an API key that is not enabled for them is rejected. A quote that is not priced at this rate still succeeds and warnings contains FIXED_RATE_NOT_APPLIED. */\n fixedRate?: string;\n /** @description Requester-provided price (output units per input unit, human units) to compare router quotes against. When fastestInPriceRange is enabled for the API key, destination-leg quotes more than 20% below it are skipped. When useRouteRacingOnOrigin is set, it anchors origin swap route selection: routes priced within a fixed band of it (20% below to 50% above) are preferred, and the best route overall is used when none is in the band. The selected route alone sets the expected and minimum output (with slippageTolerance applied to it); the reference price never sets a floor. Expects a positive decimal string such as \"0.000131\" (scientific notation is not parsed). Deliberately unconstrained by a schema pattern: a malformed or non-positive value, or one sent by a key without the relevant grant, is ignored and the quote is served without a reference price rather than rejected. */\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 Whether to use route racing for this quote's origin swap (executing multiple candidate routes on-chain and keeping the best), when the API key is authorized for it and the origin chain is configured for route racing. */\n useRouteRacingOnOrigin?: boolean;\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 /** @description Opt-in queueing: when the destination fill hits temporarily insufficient liquidity, keep retrying it until the queueingTtl window expires (then refund) instead of refunding immediately. Requires queueingTtl. */\n useQueueing?: boolean;\n /** @description Queueing window, in seconds, measured from when the quote was generated. While it is open, a useQueueing request that hits insufficient destination liquidity is retried instead of refunded; once it expires the request is refunded. Independent of ttl. Only used together with useQueueing. */\n queueingTtl?: number;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @description A unique identifier for the quote */\n requestId?: string;\n /** @description Present when a request parameter was accepted but not applied to the quote, omitted otherwise. The only code today is FIXED_RATE_NOT_APPLIED; more codes may be added. */\n warnings?: {\n /** @enum {string} */\n code: \"FIXED_RATE_NOT_APPLIED\";\n message: string;\n }[];\n /**\n * @description An array of steps detailing what needs to be done to complete the bridge or swap. Each step contains a single item, either a signature or a transaction\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 The item to execute for this step. A step always contains exactly one item, matching the kind of the step (transaction or signature). */\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 Whether the rate for the quote is fixed or dynamic (swap on origin/destination). Always true when operation is send. It does not report whether a requested fixedRate was applied; warnings does. */\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 headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 429: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n requestId?: string;\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/quote/v2\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: {\n parameters: {\n query?: never;\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n path?: never;\n cookie?: never;\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 /**\n * @deprecated\n * @description Deprecated: canonical+ bridging has been removed and this flag is ignored\n */\n useExternalLiquidity?: boolean;\n /**\n * @deprecated\n * @description Deprecated: fallback routes have been removed and this flag is ignored\n */\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: an integer from 60 to 86399, or 0 for the default of 600 (10 minutes), which also applies when omitted. Use at least 120, since some permits take several minutes to land. */\n permitExpiry?: number;\n /** @description Opt into the two signature EIP-3009 permit flow of approval proxy 3.1+. The authorize step then starts with a MulticallAuthorization signature item (posted to /execute/permits with kind multicall-authorization, no status check) followed by the EIP-3009 authorization item. Without it, EIP-3009 permits keep the single signature flow on the chain's 3.0 contracts. */\n useMulticallAuthorization?: boolean;\n /** @description Return protocol data for on-chain intent validation. This includes protocol.v2.orderSignature and may increase quote latency. */\n includeProtocolData?: boolean;\n /**\n * @description Require exact swap contracts on each EVM leg, overriding the App pin. v3 means 3.0. Unavailable versions and incompatible permit flows return 400 instead of falling back. Only supported for swap execution kinds.\n * @enum {string}\n */\n swapContractsVersion?: \"v3\" | \"v3.2\";\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 Makes the deposit address one-time use. On /quote/v2, EXACT_OUTPUT addresses are always one-time use. */\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 Restricts solana swap routing to routes that are compatible with Jito bundles. Only set this when the swap will be executed inside a Jito bundle. */\n forJitoBundle?: boolean;\n /** @description Whether to include compute unit limit instruction for solana origin requests. */\n includeComputeUnitLimit?: boolean;\n /** @description Whether to return the solana deposit transaction in the v1 (SIMD-0385) format: no lookup tables, a 4096 byte limit, and the compute budget in `transactionConfig`. Best effort; the returned step data sets `transactionVersion` to 1 when honored. */\n useV1Transaction?: 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 quote at, as 'input:output' (for example '1:0.9996'). Requires an API key or referrer. Applied only on routes that support fixed-rate quotes, where an API key that is not enabled for them is rejected. A quote that is not priced at this rate still succeeds and warnings contains FIXED_RATE_NOT_APPLIED. */\n fixedRate?: string;\n /** @description Requester-provided price (output units per input unit, human units) to compare router quotes against. When fastestInPriceRange is enabled for the API key, destination-leg quotes more than 20% below it are skipped. When useRouteRacingOnOrigin is set, it anchors origin swap route selection: routes priced within a fixed band of it (20% below to 50% above) are preferred, and the best route overall is used when none is in the band. The selected route alone sets the expected and minimum output (with slippageTolerance applied to it); the reference price never sets a floor. Expects a positive decimal string such as \"0.000131\" (scientific notation is not parsed). Deliberately unconstrained by a schema pattern: a malformed or non-positive value, or one sent by a key without the relevant grant, is ignored and the quote is served without a reference price rather than rejected. */\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 Whether to use route racing for this quote's origin swap (executing multiple candidate routes on-chain and keeping the best), when the API key is authorized for it and the origin chain is configured for route racing. */\n useRouteRacingOnOrigin?: boolean;\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 /** @description Opt-in queueing: when the destination fill hits temporarily insufficient liquidity, keep retrying it until the queueingTtl window expires (then refund) instead of refunding immediately. Requires queueingTtl. */\n useQueueing?: boolean;\n /** @description Queueing window, in seconds, measured from when the quote was generated. While it is open, a useQueueing request that hits insufficient destination liquidity is retried instead of refunded; once it expires the request is refunded. Independent of ttl. Only used together with useQueueing. */\n queueingTtl?: number;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @description A unique identifier for the quote */\n requestId?: string;\n /** @description Present when a request parameter was accepted but not applied to the quote, omitted otherwise. The only code today is FIXED_RATE_NOT_APPLIED; more codes may be added. */\n warnings?: {\n /** @enum {string} */\n code: \"FIXED_RATE_NOT_APPLIED\";\n message: string;\n }[];\n /**\n * @description An array of steps detailing what needs to be done to complete the bridge or swap. Each step contains a single item, either a signature or a transaction\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 The item to execute for this step. A step always contains exactly one item, matching the kind of the step (transaction or signature). */\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 Whether the rate for the quote is fixed or dynamic (swap on origin/destination). Always true when operation is send. It does not report whether a requested fixedRate was applied; warnings does. */\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 headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 429: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n requestId?: string;\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/price\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\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 /**\n * @deprecated\n * @description Deprecated: canonical+ bridging has been removed and this flag is ignored\n */\n useExternalLiquidity?: boolean;\n /**\n * @deprecated\n * @description Deprecated: fallback routes have been removed and this flag is ignored\n */\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 headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n errorData?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/execute\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: {\n parameters: {\n query?: never;\n header: {\n /** @description Required API key for authentication. Contact the team for getting an API Key */\n \"x-api-key\": string;\n };\n path?: never;\n cookie?: never;\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 headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @example DELEGATION_REDEEM_FAILED */\n error?: string;\n /** @example INVALID_REQUEST_PARAMS */\n errorCode?: 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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @example Unauthorized */\n error?: string;\n /** @example UNAUTHORIZED */\n errorCode?: string;\n };\n };\n };\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @example Internal server error */\n error?: string;\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/fast-fill\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: {\n parameters: {\n query?: never;\n header: {\n /** @description Required API key for authentication. Contact the team for getting an API Key */\n \"x-api-key\": string;\n };\n path?: never;\n cookie?: never;\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 headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @example An internal server error occurred. */\n message?: string;\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/lives\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get: {\n parameters: {\n query?: {\n withReport?: string | null;\n skipPostgres?: string | null;\n skipRedis?: string | null;\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n status?: string;\n report?: {\n version?: string;\n } & {\n [key: string]: {\n status?: string;\n reason?: string | null;\n };\n };\n };\n };\n };\n /** @description Default Response */\n 503: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n status?: string;\n report?: {\n version?: string;\n } & {\n [key: string]: {\n status?: string;\n reason?: string | null;\n };\n };\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/intents/status\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\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 path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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 put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/intents/status/v2\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\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 path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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 put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/intents/status/v3\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\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 path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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\" | \"POOL_CAP_EXCEEDED\" | \"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\" | \"REFUND_RECIPIENT_IS_BLOCKED\" | \"MANUAL_REFUND_REQUIRED\" | null;\n /**\n * @description Raw contract output for debugging only; do not show it to end users. The decoded revert reason when a failed or refunded request reverted on chain or in simulation: the Error(string) message, Panic(0x..) code, known custom error name, or 4-byte selector of an unknown custom error. Sanitized for safety because contracts can embed phishing links: limited to printable ASCII, URLs with a scheme, www prefix, IP address, port or path are removed, and dots in bare domains and dotted names are replaced with underscores so they can't be rendered as links (e.g. claim.store becomes claim_store and SafeMath.sub becomes SafeMath_sub). Truncated to 128 characters. Null when no revert data was captured or the request has not failed.\n * @example TRANSFER_FROM_FAILED\n */\n revertReason?: string | null;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/orders\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get: operations[\"listOrders\"];\n put?: never;\n post: operations[\"createOrder\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/orders/{orderId}/signature\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: operations[\"signOrder\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/orders/{orderId}/cancel\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: operations[\"cancelOrder\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/requests/v2\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** @deprecated */\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. Non-terminal requests are only returned to the API key that created them, or to a dev-portal key of the same integrator. */\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 non-terminal requests omit it entirely. */\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. Non-terminal requests are only returned to the API key that created them, or to a dev-portal key of the same integrator. */\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 path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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\" | \"POOL_CAP_EXCEEDED\" | \"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\" | \"REFUND_RECIPIENT_IS_BLOCKED\" | \"MANUAL_REFUND_REQUIRED\";\n /**\n * @description Raw contract output for debugging only; do not show it to end users. The decoded revert reason when a failed or refunded request reverted on chain or in simulation: the Error(string) message, Panic(0x..) code, known custom error name, or 4-byte selector of an unknown custom error. Sanitized for safety because contracts can embed phishing links: limited to printable ASCII, URLs with a scheme, www prefix, IP address, port or path are removed, and dots in bare domains and dotted names are replaced with underscores so they can't be rendered as links (e.g. claim.store becomes claim_store and SafeMath.sub becomes SafeMath_sub). Truncated to 128 characters. Null when no revert data was captured or the request has not failed.\n * @example TRANSFER_FROM_FAILED\n */\n revertReason?: string | null;\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 put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/requests/v3\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\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. Requests are limited to the caller’s integrator and requests without an API key. */\n destinationChainId?: number;\n /** @description Get all requests for a single chain in either direction. Overridden by originChainId / destinationChainId. Requests are limited to the caller’s integrator and requests without an API key. */\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\" | \"POOL_CAP_EXCEEDED\" | \"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\" | \"REFUND_RECIPIENT_IS_BLOCKED\" | \"MANUAL_REFUND_REQUIRED\";\n /** @description Filter requests by API key. Accepts a single value or a comma-separated list (OR matching). Maximum 50 values across apiKey and apiKeyId. */\n apiKey?: string;\n /** @description Filter by App IDs (app_id_<uuid>, comma-separated, maximum 50) owned by your integrator. Matches indexed App attribution across current and revoked keys. */\n appId?: string;\n /** @description Filter by API key IDs (lowercase key_id_<uuid>, comma-separated), owned by your integrator. OR matching with apiKey; maximum 50 values combined. */\n apiKeyId?: 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. Without `apiKeyId` or `apiKey`, returns only matching public keyless requests. Every supplied key must belong to the authenticating integrator. Includes matching requests for the selected keys and public requests with neither a recorded API key nor a legacy fill API key, regardless of age. Existing visibility restrictions still apply; public requests are not assigned to your integrator. */\n referrer?: string;\n /** @description Filter by origin currency chain ID. */\n currencyInChainId?: number;\n /** @description Filter by destination currency chain ID. Requests are limited to the caller’s integrator and requests without an API key. */\n currencyOutChainId?: number;\n /** @description Filter by origin currency contract address. */\n currencyInAddress?: string;\n /** @description Filter by destination currency contract address. Requests are limited to the caller’s integrator and requests without an API key. */\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. Requests are limited to the caller’s integrator and requests without an API key. */\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, fee_sponsorship. */\n features?: string;\n /** @description When true, include pending requests permitted by your access scope and pending transactions for your own requests. Defaults to false. Does not enable authenticated fields or change access permissions; terminal requests remain eligible without this flag. */\n includePendingRequests?: boolean;\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. At most 50 distinct string values across id, term, and grouped id/term filters (including negations) are allowed; a top-level id with includeChildRequests is excluded from this limit. Requests are limited to the caller’s integrator and requests without an API key. A `referrer` key (or `not:referrer`) without top-level `apiKeyId` or `apiKey` limits that group to public keyless requests. Optional key parameters must contain keys owned by the authenticating integrator. Referrer groups also include matching public keyless requests regardless of age; groups without a referrer retain their existing scope unless a top-level referrer is supplied. */\n filters?: string;\n };\n header: {\n /** @description API key for authentication. */\n \"x-api-key\": string;\n };\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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 /** @description Persisted duplicate-deposit refund relationships, or null when none are recorded. Links can exist before a refund completes; check each linked request's status for its outcome. */\n duplicateDeposits?: {\n /** @description Original request associated with this duplicate-deposit refund request, or null for a parent request. */\n parentRequestId?: string | null;\n /** @description Request IDs tracking refunds for duplicate deposits on this request. */\n refundRequestIds?: string[];\n } | 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 /**\n * @description Claim status stored on the request. New claims are recorded by a background job after recovery executes on the Hub; this does not confirm withdrawal to the user's wallet. Older records may predate recovery confirmation. Null when no claim status has been recorded. Historical claims require a separate backfill. Updated asynchronously after indexing.\n * @enum {string|null}\n */\n claimStatus?: \"unclaimed\" | \"claimed\" | null;\n /**\n * @description Withdrawal inferred from the Hub balance for confirmed claims. Withdrawn means the depositor's Hub balance for this token is zero; not_withdrawn means it is nonzero. Cached for up to three minutes. Balances are shared across deposits; this does not confirm receipt in the destination wallet. Null if not claimed or the balance lookup or deposit identity is unavailable or ambiguous.\n * @enum {string|null}\n */\n withdrawalStatus?: \"not_withdrawn\" | \"withdrawn\" | null;\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\" | \"POOL_CAP_EXCEEDED\" | \"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\" | \"REFUND_RECIPIENT_IS_BLOCKED\" | \"MANUAL_REFUND_REQUIRED\" | null;\n /**\n * @description Raw contract output for debugging only; do not show it to end users. The decoded revert reason when a failed or refunded request reverted on chain or in simulation: the Error(string) message, Panic(0x..) code, known custom error name, or 4-byte selector of an unknown custom error. Sanitized for safety because contracts can embed phishing links: limited to printable ASCII, URLs with a scheme, www prefix, IP address, port or path are removed, and dots in bare domains and dotted names are replaced with underscores so they can't be rendered as links (e.g. claim.store becomes claim_store and SafeMath.sub becomes SafeMath_sub). Truncated to 128 characters. Null when no revert data was captured or the request has not failed.\n * @example TRANSFER_FROM_FAILED\n */\n revertReason?: string | 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?: {\n bucket?: string;\n ruleId?: string;\n relayFeeBps?: number;\n integratorFeeBps?: number;\n totalFeeBps?: number;\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 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 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 /** @description Referrer — only returned when the caller authenticates as the request's creator integrator. */\n referrer?: string | null;\n /** @description Durable App attribution, returned only for your own requests with includeAuthenticatedData=true. Null when historical attribution is unavailable. */\n appId?: string | null;\n appName?: 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\" | \"fee_sponsorship\")[];\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 put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/requests/metadata\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: {\n parameters: {\n query?: never;\n header?: {\n /** @description API key of the integrator that created the request. Required. */\n \"x-api-key\"?: string;\n };\n path?: never;\n cookie?: never;\n };\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/published-requests\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /**\n * List published requests across integrators\n * @description Returns the public subset of requests/v3 for terminal requests at least one minute old. Requires a valid API key; private chains require an explicit grant. Private fields and filters are unavailable.\n */\n get: {\n parameters: {\n query?: {\n term?: string;\n id?: string;\n orderId?: string;\n depositTxHash?: string;\n fillTxHash?: string;\n refundTxHash?: string;\n user?: string;\n recipient?: string;\n originChainId?: number;\n destinationChainId?: number;\n status?: \"success\" | \"failure\" | \"refund\" | \"pending\" | \"depositing\";\n currencyInChainId?: number;\n currencyOutChainId?: number;\n currencyInAddress?: string;\n currencyOutAddress?: string;\n currencyInSymbol?: string;\n currencyOutSymbol?: string;\n chainId?: number;\n privateChainsToInclude?: string;\n startTimestamp?: number;\n endTimestamp?: number;\n startBlock?: number;\n endBlock?: number;\n /** @description JSON array of OR groups. Fields within a group are ANDed. Supports not: prefixes, arrays, and null checks for public identity, status, chain, and currency filters. */\n filters?: string;\n sortBy?: \"createdAt\" | \"updatedAt\";\n sortDirection?: \"asc\" | \"desc\";\n includeTotal?: boolean;\n limit?: number;\n continuation?: string;\n };\n header?: {\n /** @description Required API key. */\n \"x-api-key\"?: string;\n };\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n requests: {\n id?: string;\n /** @enum {string} */\n status?: \"success\" | \"failure\" | \"refund\";\n user?: string;\n recipient?: string | null;\n sender?: string | null;\n createdAt?: string;\n updatedAt?: string;\n data?: {\n inTxs?: {\n txHash?: string;\n fee?: string;\n block?: number;\n type?: string;\n chainId?: number;\n timestamp?: number;\n /** @enum {string} */\n status?: \"success\" | \"failure\";\n data?: {\n from?: string;\n to?: string;\n data?: string;\n value?: string;\n } | null;\n stateChanges?: {\n address?: string;\n change?: {\n kind?: string;\n balanceDiff?: string;\n data?: {\n tokenAddress?: string;\n tokenKind?: string;\n tokenId?: string;\n };\n };\n }[];\n }[];\n outTxs?: {\n txHash?: string;\n fee?: string;\n block?: number;\n type?: string;\n chainId?: number;\n timestamp?: number;\n /** @enum {string} */\n status?: \"success\" | \"failure\";\n data?: {\n from?: string;\n to?: string;\n data?: string;\n value?: string;\n } | null;\n stateChanges?: {\n address?: string;\n change?: {\n kind?: string;\n balanceDiff?: string;\n data?: {\n tokenAddress?: string;\n tokenKind?: string;\n tokenId?: string;\n };\n };\n }[];\n }[];\n route?: {\n actual?: {\n origin?: {\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n };\n amount?: string;\n amountFormatted?: string;\n } | null;\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n };\n amount?: string;\n amountFormatted?: string;\n } | null;\n } | null;\n destination?: {\n inputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n };\n amount?: string;\n amountFormatted?: string;\n } | null;\n outputCurrency?: {\n currency?: {\n chainId?: number;\n address?: string;\n symbol?: string;\n name?: string;\n decimals?: number;\n };\n amount?: string;\n amountFormatted?: string;\n } | null;\n } | null;\n } | null;\n } | null;\n };\n protocol?: {\n orderId?: string;\n solver?: {\n address?: string;\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 } | null;\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 };\n } | null;\n }[];\n continuation?: string;\n total?: number;\n };\n };\n };\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n errorData?: unknown;\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n errorData?: unknown;\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n errorData?: unknown;\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 429: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n errorData?: unknown;\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n errorData?: unknown;\n requestId?: string;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/transactions/index\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: {\n parameters: {\n query?: never;\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n path?: never;\n cookie?: never;\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 503: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/transactions/single\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: {\n parameters: {\n query?: never;\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n path?: never;\n cookie?: never;\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/transactions/deposit-address/reindex\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\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. For a Deposit Address V2 address, queues a search for recent deposit transactions instead, at most once per hour for each currency. */\n post: {\n parameters: {\n query?: never;\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n path?: never;\n cookie?: never;\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 /** @description Deposit Address V2 only. Transaction to reindex. Without it, the endpoint finds recent deposit transactions itself. */\n txHash?: string;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\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 409: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @description Deposit Address V2 only. The transaction is still pending. */\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 429: {\n headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @description Transient failure. */\n message?: string;\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/swap-sources\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\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 path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @description Descriptive error message */\n message?: string;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/loadforge.txt\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Verification string */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": string;\n };\n };\n /** @description Default Response */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/currencies/v1\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** @deprecated */\n post: {\n parameters: {\n query?: never;\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n path?: never;\n cookie?: never;\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 Filter by currency symbol */\n symbol?: string;\n /** @description Filter by currency group ID */\n groupID?: 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 headers: {\n [name: string]: unknown;\n };\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\" | \"atlasvm\";\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n }[][];\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/currencies/v2\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: {\n parameters: {\n query?: never;\n header?: {\n /** @description Optional API key for authentication and higher rate limits. */\n \"x-api-key\"?: string;\n };\n path?: never;\n cookie?: never;\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 Filter by currency symbol */\n symbol?: string;\n /** @description Filter by currency group ID */\n groupID?: 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 eligible deposit-address input currencies for the caller's DA mode. Eligibility does not guarantee availability for every destination and amount. */\n depositAddressOnly?: boolean;\n };\n };\n };\n responses: {\n /** @description List of currencies */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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\" | \"atlasvm\";\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n }[];\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/currencies/token/price\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** @deprecated */\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 path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @description Token price in USD */\n price?: number;\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 /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @description Error message */\n error?: string;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/currencies/token/price/v2\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\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 path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @description Token price in USD */\n price?: string;\n };\n };\n };\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @description Error message */\n error?: string;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/currencies/trending\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get: {\n parameters: {\n query?: {\n chainId?: number;\n sortBy?: \"relay24hBuyTxCount\" | \"relay24hBuyUsdVolume\" | \"coingecko6hTrending\";\n limit?: number;\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description List of currencies */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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\" | \"atlasvm\";\n metadata?: {\n logoURI?: string;\n verified?: boolean;\n isNative?: boolean;\n };\n }[];\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/chains/{chainId}/currencies/{address}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n chainId: number;\n address: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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\" | \"atlasvm\";\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @description Error message */\n message?: string;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/chains/{chainId}/currencies/{address}/chart\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\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 header?: never;\n path: {\n chainId: number;\n address: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @description Error message */\n message?: string;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/currencies/classifications\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n major: string[];\n stable: string[];\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/provision/chain\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: {\n parameters: {\n query?: never;\n header: {\n \"X-RELAY-INTEGRATION-SECRET\": string;\n };\n path?: never;\n cookie?: never;\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n id?: string;\n status?: string;\n etaSeconds?: number;\n };\n };\n };\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n status?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n status?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n code?: string;\n status?: string;\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/sanctioned/{address}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n address: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n sanctioned?: boolean;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/wallets/screen\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: {\n parameters: {\n query?: never;\n header: {\n /** @description Required API key for authentication. Contact the team for getting an API Key */\n \"x-api-key\": string;\n };\n path?: never;\n cookie?: never;\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n wallets?: unknown[];\n };\n };\n };\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/wallets/screen/override\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n /** @enum {string} */\n errorCode?: \"PROTECTED_RELAY_ADDRESS\";\n errorData?: {\n address: string;\n addressTypes: string[];\n chainIds: number[];\n };\n };\n };\n };\n /** @description Default Response */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/wallets/screen/info\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get: {\n parameters: {\n query: {\n wallet: string;\n chainId?: string;\n source?: string;\n forceScreen?: boolean;\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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 headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/withdrawals/attest-deposit\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": {\n chainId: number;\n gateway?: boolean;\n transactionId: string;\n hints?: {\n \"atlas-vm\"?: {\n depositor: string;\n };\n };\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n success: boolean;\n execution: {\n chainId: number;\n oracleAddress: string;\n idempotencyKey: string;\n };\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/withdrawals/request\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\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 headers: {\n [name: string]: unknown;\n };\n content?: never;\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/withdrawals/status\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get: {\n parameters: {\n query: {\n id: string;\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\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 put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/withdrawals/balances\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** @description Lists credited Hub balances for one recovery owner. Excludes deposits awaiting attestation or recovery; discovery is eventually consistent. */\n get: {\n parameters: {\n query: {\n recoveryAddress: string;\n ownerChainId: number;\n limit?: number;\n continuation?: string;\n };\n header?: {\n /** @description Optional API key for higher rate limits. */\n \"x-api-key\"?: string;\n };\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n balances: {\n hubTokenId: string;\n currency: {\n chainId: number;\n address: string;\n name: string | null;\n symbol: string | null;\n decimals: number | null;\n } | null;\n amount: string;\n amountFormatted: string | null;\n amountUsd: string | null;\n }[];\n continuation: string | null;\n };\n };\n };\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode: string;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/access-tokens\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** @description Exchange a tier 2+ backend API key for a 15-minute public API session JWT. */\n post: {\n parameters: {\n query?: never;\n header: {\n \"x-api-key\": string;\n };\n path?: never;\n cookie?: never;\n };\n requestBody?: {\n content: {\n \"application/json\": Record<string, never>;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n token: string;\n /** @enum {string} */\n tokenType: \"Bearer\";\n /** Format: date-time */\n expiresAt: string;\n /** @enum {string} */\n scope: \"public-api\";\n };\n };\n };\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 429: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message?: string;\n errorCode?: string;\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/metrics/usage\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** @description Get API call counts for the authenticated API key, or owned keys and Apps using x-dev-portal-key. Rows are grouped by API key, 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 values across apiKey, apiKeyId and appId. */\n apiKey?: string;\n /** @description Filter metrics by API key IDs (key_id_<uuid>, comma-separated) owned by your integrator when using x-dev-portal-key. OR matching with apiKey and appId; maximum 50 values combined. */\n apiKeyId?: string;\n /** @description Filter by owned Apps (app_id_<uuid>, comma-separated); requires x-dev-portal-key. Includes all current keys, including inactive keys. OR matching with apiKey and apiKeyId; maximum 50 filter values combined before expanding Apps to keys. Rows remain grouped by API key. App attribution is resolved at read time: hard-deleted keys drop out and reassigned keys attribute all retained usage to their current App. Retention is 24h minutely, 7d hourly, and 14d daily. */\n appId?: string;\n };\n header?: {\n /** @description Integrator portal credential required for appId filtering. */\n \"x-dev-portal-key\"?: string;\n /** @description Integrator API key. */\n \"x-api-key\"?: string;\n };\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n metrics?: {\n apiKey?: string;\n apiKeyId?: string | null;\n appId?: string | null;\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 put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/protocol/executions/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n execution: {\n chainId: number;\n oracleAddress: string;\n idempotencyKey: string;\n };\n /** @enum {string} */\n status: \"unknown\" | \"pending\" | \"executed\" | \"failed\";\n txHash: string | null;\n };\n };\n };\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode: string;\n };\n };\n };\n /** @description Default Response */\n 503: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode: string;\n };\n };\n };\n };\n };\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/protocol/transfers\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n post: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": {\n /** Format: uuid */\n requestId: string;\n asset: {\n chainId: number;\n currency: string;\n gateway?: boolean;\n };\n owner: {\n chainId: number;\n address: string;\n signature?: string;\n };\n amount: string;\n recipient: string;\n expiration?: number;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n execution: {\n chainId: number;\n oracleAddress: string;\n idempotencyKey: string;\n };\n /** @enum {string} */\n status: \"awaiting_signature\" | \"pending\" | \"executed\" | \"failed\";\n txHash: string | null;\n signing?: {\n message: string;\n expiration: number;\n };\n };\n };\n };\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode: string;\n };\n };\n };\n /** @description Default Response */\n 503: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode: string;\n };\n };\n };\n };\n };\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n}\nexport type webhooks = Record<string, never>;\nexport interface components {\n schemas: never;\n responses: never;\n parameters: never;\n requestBodies: never;\n headers: never;\n pathItems: never;\n}\nexport type $defs = Record<string, never>;\nexport interface operations {\n listOrders: {\n parameters: {\n query?: {\n orderId?: string;\n /** @description Only the orders created by this app of the integrator */\n appId?: string;\n user?: string;\n /** @description Comma-separated order statuses */\n status?: string;\n originChainId?: number;\n destinationChainId?: number;\n limit?: number;\n continuation?: string;\n /** @description Unix seconds; filters on the sortBy field */\n startTimestamp?: number;\n /** @description Unix seconds; filters on the sortBy field */\n endTimestamp?: number;\n sortBy?: \"createdAt\" | \"updatedAt\";\n sortDirection?: \"asc\" | \"desc\";\n };\n header?: {\n /** @description API key for authentication. */\n \"x-api-key\"?: string;\n };\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n orders: {\n id?: string;\n /** @description The id the integrator gave the order at create; null when it gave none */\n clientOrderId?: string | null;\n /** @description EIP-712 hash of the order the user signs */\n orderHash?: string;\n /** @enum {string} */\n type?: \"limit\";\n /** @enum {string} */\n status?: \"pending\" | \"open\" | \"processing\" | \"requires_action\" | \"closed\";\n /**\n * @description How a closed order ended; null until the order closes. `cancelled` and `expired` also cover an order whose funds were pulled and sent back, which `refundedAmount` shows. An order whose funds can be neither delivered nor sent back does not close: it stays `requires_action`\n * @enum {string|null}\n */\n outcome?: \"filled\" | \"cancelled\" | \"expired\" | null;\n /**\n * @description Who cancelled the order: `requested` by its owner, `access_revoked` when its app lost access to limit orders; null unless the outcome is `cancelled`\n * @enum {string|null}\n */\n cancellationReason?: \"requested\" | \"access_revoked\" | null;\n /**\n * @description What Relay has to do before the order can close: `compliance_review` of a wallet check that stopped its fill, or a `manual_refund` of funds whose refund could not be sent; null unless the status is `requires_action`\n * @enum {string|null}\n */\n requiredAction?: \"compliance_review\" | \"manual_refund\" | null;\n user?: string;\n recipient?: string;\n refundTo?: string;\n /** @enum {string} */\n side?: \"buy\" | \"sell\";\n targetCurrency?: string;\n targetChainId?: number;\n settlementCurrency?: string;\n settlementChainId?: number;\n targetPrice?: string;\n originChainId?: number;\n originCurrency?: string;\n destinationChainId?: number;\n destinationCurrency?: string;\n amount?: string;\n appFees?: {\n recipient?: string;\n fee?: string;\n }[];\n subsidizeFees?: boolean;\n sponsoredFeeComponents?: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n maxSubsidizationAmount?: string;\n subsidizationBps?: number;\n fees?: {\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 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 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 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 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 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 createdAt?: string;\n updatedAt?: string;\n expiresAt?: string;\n closedAt?: string | null;\n /** @description The requests that moved the order's funds */\n requestIds?: string[];\n /** @description Base units of the destination currency delivered to the recipient */\n filledAmount?: string;\n /** @description Base units refunded, in the currency the order's funds were held in when the refund was sent: the origin currency, or the currency an origin swap converted it to */\n refundedAmount?: string;\n /** @description Base units withdrawn by the owner, in the currency the order's funds were held in */\n withdrawnAmount?: string;\n /** @description What the owner still has to sign or send for the order, in order; empty when nothing is asked of the owner */\n steps?: {\n /** @enum {string} */\n id?: \"approve\" | \"authorize\" | \"cancel\" | \"withdraw\";\n action?: string;\n description?: string;\n /** @enum {string} */\n kind?: \"transaction\" | \"signature\";\n /** @enum {string} */\n status?: \"incomplete\" | \"complete\";\n data?: {\n [key: string]: unknown;\n };\n check?: {\n endpoint?: string;\n method?: string;\n };\n }[];\n /** @description The latest check of the order's price; null until the order is checked for the first time */\n latestPriceCheck?: {\n /** @description USD per whole unit of the target currency before the relayer and app fees; null when the order could not be quoted or a fee has no USD amount */\n marketPrice?: string | null;\n /** @description USD per whole unit of the target currency after all fees, which is what `targetPrice` is compared with; null when the order could not be quoted */\n allInPrice?: string | null;\n /**\n * @description Why the check did not start a fill: the all-in price is short of `targetPrice`, no route quotes the order, or the user's balance or Permit2 allowance is below the order's amount; null when the check found nothing that stops the fill, which the order then starts unless it closed meanwhile\n * @enum {string|null}\n */\n reason?: \"price_not_reached\" | \"no_route\" | \"insufficient_balance\" | \"insufficient_allowance\" | null;\n checkedAt?: string;\n } | null;\n /** @description The check whose all-in price came closest to `targetPrice`: the one with the best all-in price so far, the highest for a sell and the lowest for a buy, and the latest of several at that price. Once a check reached `targetPrice` this is the check furthest past it. Null until a check has an all-in price */\n closestPriceCheck?: {\n /** @description USD per whole unit of the target currency before the relayer and app fees; null when the order could not be quoted or a fee has no USD amount */\n marketPrice?: string | null;\n /** @description USD per whole unit of the target currency after all fees, which is what `targetPrice` is compared with; null when the order could not be quoted */\n allInPrice?: string | null;\n /**\n * @description Why the check did not start a fill: the all-in price is short of `targetPrice`, no route quotes the order, or the user's balance or Permit2 allowance is below the order's amount; null when the check found nothing that stops the fill, which the order then starts unless it closed meanwhile\n * @enum {string|null}\n */\n reason?: \"price_not_reached\" | \"no_route\" | \"insufficient_balance\" | \"insufficient_allowance\" | null;\n checkedAt?: string;\n } | null;\n }[];\n continuation?: string;\n /**\n * @description Only with `orderId`, for the `check` of the `authorize` step: `waiting` until the order is signed, `success` once it is, `failure` when it closed unsigned\n * @enum {string}\n */\n status?: \"waiting\" | \"success\" | \"failure\";\n /** @description Only with `orderId`. Always empty: signing an order sends no transaction */\n txHashes?: string[];\n };\n };\n };\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 409: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 429: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n };\n };\n createOrder: {\n parameters: {\n query?: never;\n header?: {\n /** @description API key for authentication. */\n \"x-api-key\"?: string;\n /** @description Makes a retried create safe: the same key and body return the first order, the same key with another body is rejected. Scoped to the integrator */\n \"idempotency-key\"?: string;\n };\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": {\n /** @enum {string} */\n type: \"limit\";\n /** @description Funds the order on the origin chain and signs it */\n user: string;\n /** @description Receives the output; defaults to user */\n recipient?: string;\n /** @description Receives refunds on the origin chain; defaults to user */\n refundTo?: string;\n /** @enum {string} */\n side: \"buy\" | \"sell\";\n /** @description Currency to buy or sell */\n targetCurrency: string;\n targetChainId: number;\n /** @description An accepted stablecoin */\n settlementCurrency: string;\n settlementChainId: number;\n /** @description USD per unit of targetCurrency, all-in. Sell: minimum net proceeds per unit. Buy: maximum total cost per unit */\n targetPrice: string;\n /** @description Base units of the currency spent: targetCurrency for a sell, settlementCurrency for a buy */\n amount: string;\n /**\n * Format: date-time\n * @description RFC 3339 time at which the order expires; at least 15 minutes and at most 7 days from now\n */\n expiresAt: string;\n appFees?: {\n recipient: string;\n fee: string;\n }[];\n subsidizeFees?: boolean;\n /** @description Requires subsidizeFees; defaults to all but rent */\n sponsoredFeeComponents?: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n maxSubsidizationAmount?: string;\n subsidizationBps?: number;\n /** @description The integrator's own id for the order; an integrator can use each id once */\n clientOrderId?: string;\n };\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n order: {\n id?: string;\n /** @description The id the integrator gave the order at create; null when it gave none */\n clientOrderId?: string | null;\n /** @description EIP-712 hash of the order the user signs */\n orderHash?: string;\n /** @enum {string} */\n type?: \"limit\";\n /** @enum {string} */\n status?: \"pending\" | \"open\" | \"processing\" | \"requires_action\" | \"closed\";\n /**\n * @description How a closed order ended; null until the order closes. `cancelled` and `expired` also cover an order whose funds were pulled and sent back, which `refundedAmount` shows. An order whose funds can be neither delivered nor sent back does not close: it stays `requires_action`\n * @enum {string|null}\n */\n outcome?: \"filled\" | \"cancelled\" | \"expired\" | null;\n /**\n * @description Who cancelled the order: `requested` by its owner, `access_revoked` when its app lost access to limit orders; null unless the outcome is `cancelled`\n * @enum {string|null}\n */\n cancellationReason?: \"requested\" | \"access_revoked\" | null;\n /**\n * @description What Relay has to do before the order can close: `compliance_review` of a wallet check that stopped its fill, or a `manual_refund` of funds whose refund could not be sent; null unless the status is `requires_action`\n * @enum {string|null}\n */\n requiredAction?: \"compliance_review\" | \"manual_refund\" | null;\n user?: string;\n recipient?: string;\n refundTo?: string;\n /** @enum {string} */\n side?: \"buy\" | \"sell\";\n targetCurrency?: string;\n targetChainId?: number;\n settlementCurrency?: string;\n settlementChainId?: number;\n targetPrice?: string;\n originChainId?: number;\n originCurrency?: string;\n destinationChainId?: number;\n destinationCurrency?: string;\n amount?: string;\n appFees?: {\n recipient?: string;\n fee?: string;\n }[];\n subsidizeFees?: boolean;\n sponsoredFeeComponents?: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n maxSubsidizationAmount?: string;\n subsidizationBps?: number;\n fees?: {\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 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 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 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 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 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 createdAt?: string;\n updatedAt?: string;\n expiresAt?: string;\n closedAt?: string | null;\n /** @description The requests that moved the order's funds */\n requestIds?: string[];\n /** @description Base units of the destination currency delivered to the recipient */\n filledAmount?: string;\n /** @description Base units refunded, in the currency the order's funds were held in when the refund was sent: the origin currency, or the currency an origin swap converted it to */\n refundedAmount?: string;\n /** @description Base units withdrawn by the owner, in the currency the order's funds were held in */\n withdrawnAmount?: string;\n /** @description What the owner still has to sign or send for the order, in order; empty when nothing is asked of the owner */\n steps?: {\n /** @enum {string} */\n id?: \"approve\" | \"authorize\" | \"cancel\" | \"withdraw\";\n action?: string;\n description?: string;\n /** @enum {string} */\n kind?: \"transaction\" | \"signature\";\n /** @enum {string} */\n status?: \"incomplete\" | \"complete\";\n data?: {\n [key: string]: unknown;\n };\n check?: {\n endpoint?: string;\n method?: string;\n };\n }[];\n /** @description The latest check of the order's price; null until the order is checked for the first time */\n latestPriceCheck?: {\n /** @description USD per whole unit of the target currency before the relayer and app fees; null when the order could not be quoted or a fee has no USD amount */\n marketPrice?: string | null;\n /** @description USD per whole unit of the target currency after all fees, which is what `targetPrice` is compared with; null when the order could not be quoted */\n allInPrice?: string | null;\n /**\n * @description Why the check did not start a fill: the all-in price is short of `targetPrice`, no route quotes the order, or the user's balance or Permit2 allowance is below the order's amount; null when the check found nothing that stops the fill, which the order then starts unless it closed meanwhile\n * @enum {string|null}\n */\n reason?: \"price_not_reached\" | \"no_route\" | \"insufficient_balance\" | \"insufficient_allowance\" | null;\n checkedAt?: string;\n } | null;\n /** @description The check whose all-in price came closest to `targetPrice`: the one with the best all-in price so far, the highest for a sell and the lowest for a buy, and the latest of several at that price. Once a check reached `targetPrice` this is the check furthest past it. Null until a check has an all-in price */\n closestPriceCheck?: {\n /** @description USD per whole unit of the target currency before the relayer and app fees; null when the order could not be quoted or a fee has no USD amount */\n marketPrice?: string | null;\n /** @description USD per whole unit of the target currency after all fees, which is what `targetPrice` is compared with; null when the order could not be quoted */\n allInPrice?: string | null;\n /**\n * @description Why the check did not start a fill: the all-in price is short of `targetPrice`, no route quotes the order, or the user's balance or Permit2 allowance is below the order's amount; null when the check found nothing that stops the fill, which the order then starts unless it closed meanwhile\n * @enum {string|null}\n */\n reason?: \"price_not_reached\" | \"no_route\" | \"insufficient_balance\" | \"insufficient_allowance\" | null;\n checkedAt?: string;\n } | null;\n };\n };\n };\n };\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n /**\n * @description `NO_QUOTES` stands for every reason the order could not be quoted that has no code of its own here; the message says which\n * @enum {string}\n */\n errorCode?: \"INVALID_REQUEST_PARAMS\" | \"INVALID_ADDRESS\" | \"UNSUPPORTED_CURRENCY\" | \"UNSUPPORTED_ROUTE\" | \"AMOUNT_TOO_LOW\" | \"NO_QUOTES\" | \"INSUFFICIENT_FUNDS\" | \"MAX_OPEN_ORDERS_REACHED\" | \"MAX_OPEN_ORDER_PAIRS_REACHED\" | \"IDEMPOTENCY_KEY_REUSED\" | \"CLIENT_ORDER_ID_EXISTS\" | \"UNAUTHORIZED\" | \"FORBIDDEN\" | \"UNKNOWN_ERROR\";\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n /**\n * @description `NO_QUOTES` stands for every reason the order could not be quoted that has no code of its own here; the message says which\n * @enum {string}\n */\n errorCode?: \"INVALID_REQUEST_PARAMS\" | \"INVALID_ADDRESS\" | \"UNSUPPORTED_CURRENCY\" | \"UNSUPPORTED_ROUTE\" | \"AMOUNT_TOO_LOW\" | \"NO_QUOTES\" | \"INSUFFICIENT_FUNDS\" | \"MAX_OPEN_ORDERS_REACHED\" | \"MAX_OPEN_ORDER_PAIRS_REACHED\" | \"IDEMPOTENCY_KEY_REUSED\" | \"CLIENT_ORDER_ID_EXISTS\" | \"UNAUTHORIZED\" | \"FORBIDDEN\" | \"UNKNOWN_ERROR\";\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n /**\n * @description `NO_QUOTES` stands for every reason the order could not be quoted that has no code of its own here; the message says which\n * @enum {string}\n */\n errorCode?: \"INVALID_REQUEST_PARAMS\" | \"INVALID_ADDRESS\" | \"UNSUPPORTED_CURRENCY\" | \"UNSUPPORTED_ROUTE\" | \"AMOUNT_TOO_LOW\" | \"NO_QUOTES\" | \"INSUFFICIENT_FUNDS\" | \"MAX_OPEN_ORDERS_REACHED\" | \"MAX_OPEN_ORDER_PAIRS_REACHED\" | \"IDEMPOTENCY_KEY_REUSED\" | \"CLIENT_ORDER_ID_EXISTS\" | \"UNAUTHORIZED\" | \"FORBIDDEN\" | \"UNKNOWN_ERROR\";\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 409: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n /**\n * @description `NO_QUOTES` stands for every reason the order could not be quoted that has no code of its own here; the message says which\n * @enum {string}\n */\n errorCode?: \"INVALID_REQUEST_PARAMS\" | \"INVALID_ADDRESS\" | \"UNSUPPORTED_CURRENCY\" | \"UNSUPPORTED_ROUTE\" | \"AMOUNT_TOO_LOW\" | \"NO_QUOTES\" | \"INSUFFICIENT_FUNDS\" | \"MAX_OPEN_ORDERS_REACHED\" | \"MAX_OPEN_ORDER_PAIRS_REACHED\" | \"IDEMPOTENCY_KEY_REUSED\" | \"CLIENT_ORDER_ID_EXISTS\" | \"UNAUTHORIZED\" | \"FORBIDDEN\" | \"UNKNOWN_ERROR\";\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 429: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n /**\n * @description `NO_QUOTES` stands for every reason the order could not be quoted that has no code of its own here; the message says which\n * @enum {string}\n */\n errorCode?: \"INVALID_REQUEST_PARAMS\" | \"INVALID_ADDRESS\" | \"UNSUPPORTED_CURRENCY\" | \"UNSUPPORTED_ROUTE\" | \"AMOUNT_TOO_LOW\" | \"NO_QUOTES\" | \"INSUFFICIENT_FUNDS\" | \"MAX_OPEN_ORDERS_REACHED\" | \"MAX_OPEN_ORDER_PAIRS_REACHED\" | \"IDEMPOTENCY_KEY_REUSED\" | \"CLIENT_ORDER_ID_EXISTS\" | \"UNAUTHORIZED\" | \"FORBIDDEN\" | \"UNKNOWN_ERROR\";\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n };\n };\n signOrder: {\n parameters: {\n query?: {\n /** @description The permit signature, where every step `post` takes it. Required unless the body carries it */\n signature?: string;\n };\n header?: {\n /** @description API key for authentication. */\n \"x-api-key\"?: string;\n };\n path: {\n orderId: string;\n };\n cookie?: never;\n };\n requestBody?: {\n content: {\n \"application/json\": {\n /** @description The permit signature, read only when the query carries none. Required when the query has no signature */\n signature?: string;\n } | null;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n order: {\n id?: string;\n /** @description The id the integrator gave the order at create; null when it gave none */\n clientOrderId?: string | null;\n /** @description EIP-712 hash of the order the user signs */\n orderHash?: string;\n /** @enum {string} */\n type?: \"limit\";\n /** @enum {string} */\n status?: \"pending\" | \"open\" | \"processing\" | \"requires_action\" | \"closed\";\n /**\n * @description How a closed order ended; null until the order closes. `cancelled` and `expired` also cover an order whose funds were pulled and sent back, which `refundedAmount` shows. An order whose funds can be neither delivered nor sent back does not close: it stays `requires_action`\n * @enum {string|null}\n */\n outcome?: \"filled\" | \"cancelled\" | \"expired\" | null;\n /**\n * @description Who cancelled the order: `requested` by its owner, `access_revoked` when its app lost access to limit orders; null unless the outcome is `cancelled`\n * @enum {string|null}\n */\n cancellationReason?: \"requested\" | \"access_revoked\" | null;\n /**\n * @description What Relay has to do before the order can close: `compliance_review` of a wallet check that stopped its fill, or a `manual_refund` of funds whose refund could not be sent; null unless the status is `requires_action`\n * @enum {string|null}\n */\n requiredAction?: \"compliance_review\" | \"manual_refund\" | null;\n user?: string;\n recipient?: string;\n refundTo?: string;\n /** @enum {string} */\n side?: \"buy\" | \"sell\";\n targetCurrency?: string;\n targetChainId?: number;\n settlementCurrency?: string;\n settlementChainId?: number;\n targetPrice?: string;\n originChainId?: number;\n originCurrency?: string;\n destinationChainId?: number;\n destinationCurrency?: string;\n amount?: string;\n appFees?: {\n recipient?: string;\n fee?: string;\n }[];\n subsidizeFees?: boolean;\n sponsoredFeeComponents?: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n maxSubsidizationAmount?: string;\n subsidizationBps?: number;\n fees?: {\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 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 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 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 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 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 createdAt?: string;\n updatedAt?: string;\n expiresAt?: string;\n closedAt?: string | null;\n /** @description The requests that moved the order's funds */\n requestIds?: string[];\n /** @description Base units of the destination currency delivered to the recipient */\n filledAmount?: string;\n /** @description Base units refunded, in the currency the order's funds were held in when the refund was sent: the origin currency, or the currency an origin swap converted it to */\n refundedAmount?: string;\n /** @description Base units withdrawn by the owner, in the currency the order's funds were held in */\n withdrawnAmount?: string;\n /** @description What the owner still has to sign or send for the order, in order; empty when nothing is asked of the owner */\n steps?: {\n /** @enum {string} */\n id?: \"approve\" | \"authorize\" | \"cancel\" | \"withdraw\";\n action?: string;\n description?: string;\n /** @enum {string} */\n kind?: \"transaction\" | \"signature\";\n /** @enum {string} */\n status?: \"incomplete\" | \"complete\";\n data?: {\n [key: string]: unknown;\n };\n check?: {\n endpoint?: string;\n method?: string;\n };\n }[];\n /** @description The latest check of the order's price; null until the order is checked for the first time */\n latestPriceCheck?: {\n /** @description USD per whole unit of the target currency before the relayer and app fees; null when the order could not be quoted or a fee has no USD amount */\n marketPrice?: string | null;\n /** @description USD per whole unit of the target currency after all fees, which is what `targetPrice` is compared with; null when the order could not be quoted */\n allInPrice?: string | null;\n /**\n * @description Why the check did not start a fill: the all-in price is short of `targetPrice`, no route quotes the order, or the user's balance or Permit2 allowance is below the order's amount; null when the check found nothing that stops the fill, which the order then starts unless it closed meanwhile\n * @enum {string|null}\n */\n reason?: \"price_not_reached\" | \"no_route\" | \"insufficient_balance\" | \"insufficient_allowance\" | null;\n checkedAt?: string;\n } | null;\n /** @description The check whose all-in price came closest to `targetPrice`: the one with the best all-in price so far, the highest for a sell and the lowest for a buy, and the latest of several at that price. Once a check reached `targetPrice` this is the check furthest past it. Null until a check has an all-in price */\n closestPriceCheck?: {\n /** @description USD per whole unit of the target currency before the relayer and app fees; null when the order could not be quoted or a fee has no USD amount */\n marketPrice?: string | null;\n /** @description USD per whole unit of the target currency after all fees, which is what `targetPrice` is compared with; null when the order could not be quoted */\n allInPrice?: string | null;\n /**\n * @description Why the check did not start a fill: the all-in price is short of `targetPrice`, no route quotes the order, or the user's balance or Permit2 allowance is below the order's amount; null when the check found nothing that stops the fill, which the order then starts unless it closed meanwhile\n * @enum {string|null}\n */\n reason?: \"price_not_reached\" | \"no_route\" | \"insufficient_balance\" | \"insufficient_allowance\" | null;\n checkedAt?: string;\n } | null;\n };\n };\n };\n };\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 409: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 429: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n };\n };\n cancelOrder: {\n parameters: {\n query?: never;\n header?: {\n /** @description API key for authentication. */\n \"x-api-key\"?: string;\n };\n path: {\n orderId: string;\n };\n cookie?: never;\n };\n requestBody?: {\n content: {\n \"application/json\": {\n /**\n * @description Also return the transaction that invalidates the order's Permit2 nonce\n * @default false\n */\n onchain?: boolean;\n } | null;\n };\n };\n responses: {\n /** @description Default Response */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n order: {\n id?: string;\n /** @description The id the integrator gave the order at create; null when it gave none */\n clientOrderId?: string | null;\n /** @description EIP-712 hash of the order the user signs */\n orderHash?: string;\n /** @enum {string} */\n type?: \"limit\";\n /** @enum {string} */\n status?: \"pending\" | \"open\" | \"processing\" | \"requires_action\" | \"closed\";\n /**\n * @description How a closed order ended; null until the order closes. `cancelled` and `expired` also cover an order whose funds were pulled and sent back, which `refundedAmount` shows. An order whose funds can be neither delivered nor sent back does not close: it stays `requires_action`\n * @enum {string|null}\n */\n outcome?: \"filled\" | \"cancelled\" | \"expired\" | null;\n /**\n * @description Who cancelled the order: `requested` by its owner, `access_revoked` when its app lost access to limit orders; null unless the outcome is `cancelled`\n * @enum {string|null}\n */\n cancellationReason?: \"requested\" | \"access_revoked\" | null;\n /**\n * @description What Relay has to do before the order can close: `compliance_review` of a wallet check that stopped its fill, or a `manual_refund` of funds whose refund could not be sent; null unless the status is `requires_action`\n * @enum {string|null}\n */\n requiredAction?: \"compliance_review\" | \"manual_refund\" | null;\n user?: string;\n recipient?: string;\n refundTo?: string;\n /** @enum {string} */\n side?: \"buy\" | \"sell\";\n targetCurrency?: string;\n targetChainId?: number;\n settlementCurrency?: string;\n settlementChainId?: number;\n targetPrice?: string;\n originChainId?: number;\n originCurrency?: string;\n destinationChainId?: number;\n destinationCurrency?: string;\n amount?: string;\n appFees?: {\n recipient?: string;\n fee?: string;\n }[];\n subsidizeFees?: boolean;\n sponsoredFeeComponents?: (\"execution\" | \"swap\" | \"relay\" | \"app\" | \"rent\")[];\n maxSubsidizationAmount?: string;\n subsidizationBps?: number;\n fees?: {\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 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 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 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 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 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 createdAt?: string;\n updatedAt?: string;\n expiresAt?: string;\n closedAt?: string | null;\n /** @description The requests that moved the order's funds */\n requestIds?: string[];\n /** @description Base units of the destination currency delivered to the recipient */\n filledAmount?: string;\n /** @description Base units refunded, in the currency the order's funds were held in when the refund was sent: the origin currency, or the currency an origin swap converted it to */\n refundedAmount?: string;\n /** @description Base units withdrawn by the owner, in the currency the order's funds were held in */\n withdrawnAmount?: string;\n /** @description What the owner still has to sign or send for the order, in order; empty when nothing is asked of the owner */\n steps?: {\n /** @enum {string} */\n id?: \"approve\" | \"authorize\" | \"cancel\" | \"withdraw\";\n action?: string;\n description?: string;\n /** @enum {string} */\n kind?: \"transaction\" | \"signature\";\n /** @enum {string} */\n status?: \"incomplete\" | \"complete\";\n data?: {\n [key: string]: unknown;\n };\n check?: {\n endpoint?: string;\n method?: string;\n };\n }[];\n /** @description The latest check of the order's price; null until the order is checked for the first time */\n latestPriceCheck?: {\n /** @description USD per whole unit of the target currency before the relayer and app fees; null when the order could not be quoted or a fee has no USD amount */\n marketPrice?: string | null;\n /** @description USD per whole unit of the target currency after all fees, which is what `targetPrice` is compared with; null when the order could not be quoted */\n allInPrice?: string | null;\n /**\n * @description Why the check did not start a fill: the all-in price is short of `targetPrice`, no route quotes the order, or the user's balance or Permit2 allowance is below the order's amount; null when the check found nothing that stops the fill, which the order then starts unless it closed meanwhile\n * @enum {string|null}\n */\n reason?: \"price_not_reached\" | \"no_route\" | \"insufficient_balance\" | \"insufficient_allowance\" | null;\n checkedAt?: string;\n } | null;\n /** @description The check whose all-in price came closest to `targetPrice`: the one with the best all-in price so far, the highest for a sell and the lowest for a buy, and the latest of several at that price. Once a check reached `targetPrice` this is the check furthest past it. Null until a check has an all-in price */\n closestPriceCheck?: {\n /** @description USD per whole unit of the target currency before the relayer and app fees; null when the order could not be quoted or a fee has no USD amount */\n marketPrice?: string | null;\n /** @description USD per whole unit of the target currency after all fees, which is what `targetPrice` is compared with; null when the order could not be quoted */\n allInPrice?: string | null;\n /**\n * @description Why the check did not start a fill: the all-in price is short of `targetPrice`, no route quotes the order, or the user's balance or Permit2 allowance is below the order's amount; null when the check found nothing that stops the fill, which the order then starts unless it closed meanwhile\n * @enum {string|null}\n */\n reason?: \"price_not_reached\" | \"no_route\" | \"insufficient_balance\" | \"insufficient_allowance\" | null;\n checkedAt?: string;\n } | null;\n };\n };\n };\n };\n /** @description Default Response */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 409: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 429: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n /** @description Default Response */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n message: string;\n errorCode?: string;\n /** @description Details of the error, when it has any */\n errorData?: unknown;\n /** @description The request the failed call ran under, when it had one */\n requestId?: string;\n };\n };\n };\n };\n };\n}\n"]}