v4

OpenAPI 3.0.32026-07-31490328.0 KB

This endpoint is deprecated. Use /quote/v2 instead.

post/quote

Headers

x-api-keystring

Optional API key for authentication and higher rate limits.

Request body

userstring required

Address that is depositing funds on the origin chain and submitting transactions or signatures

recipientstring

Address that is receiving the funds on the destination chain, if not specified then this will default to the user address

originChainIdnumber required
destinationChainIdnumber required
originCurrencystring required
destinationCurrencystring required
amountstring required

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)

tradeType'EXACT_INPUT' | 'EXACT_OUTPUT' | 'EXPECTED_OUTPUT' required

Whether to use the amount as the output or the input for the basis of the swap

txsGasLimitnumber

Total gas limit for the destination chain call transactions

referrerstring
referrerAddressstring
refundTostring

Address to send the refund to in the case of failure, if not specified then the recipient address or user address is used

recoveryAddressstring

Origin-chain address used for deposit-address fund recovery. Requires useDepositAddress=true.

refundOnOriginboolean

Always refund on the origin chain in case of any issues

topupGasboolean

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)

topupGasAmountstring

The destination gas topup amount in USD decimal format, e.g 100000 = $1. topupGas is required to be enabled. Defaults to 2000000 ($2)

enableTrueExactOutputboolean

Enabling will send any swap surplus when doing exact output operations to the solver EOA, otherwise it will be swept to the recipient

explicitDepositboolean

Enable this to avoid direct transfers to the depository (only relevant for EVM and v2 protocol flow)

useExternalLiquidityboolean

Enable this to use canonical+ bridging, trading speed for more liquidity

useFallbacksboolean

Enable this for specific fallback routes

usePermitboolean

Enable this to use permit (eip3009) when bridging, only works on supported currency such as usdc

permitExpirynumber

How long the permit remains valid, in seconds. Defaults to 10 minutes.

includeProtocolDataboolean

Return protocol data for on-chain intent validation. This includes protocol.v2.orderSignature and may increase quote latency.

useDepositAddressboolean

Enable this to use a deposit address when bridging, in scenarios where calldata cannot be sent alongside the transaction. only works on native currency bridges. For new requests, EXACT_OUTPUT is only supported when strict is also enabled.

strictboolean

When used with useDepositAddress, enables a strict deposit address that is tied to a specific order. Underpayments fail and refund, exact payments fill, and overpayments fill the quoted amount while refunding the excess in a separate refund leg. EXACT_OUTPUT deposit-address requests are only supported in strict mode. Open-ended deposit addresses remain the flexible path for variable deposited amounts. Requires a refundTo address.

slippageTolerancestring

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.

latePaymentSlippageTolerancestring

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.

gasLimitForDepositSpecifiedTxsnumber

If the request involves specifying transactions to be executed during the deposit transaction, an explicit gas limit must be set when requesting the quote

forceSolverExecutionboolean

Force executing swap requests via the solver (by default, same-chain swap requests are self-executed)

subsidizeFeesboolean

If the sponsor should pay for the fees associated with the request. Includes gas topup amounts.

sponsoredFeeComponentsstring[]

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.

maxSubsidizationAmountstring

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.

subsidizeRentboolean

Deprecated compatibility alias that adds "rent" to sponsoredFeeComponents.

includedSwapSourcesstring[]

Swap sources to include for swap routing.

excludedSwapSourcesstring[]

Swap sources to exclude for swap routing.

includedOriginSwapSourcesstring[]

Swap sources to include for swap routing on origin.

includedDestinationSwapSourcesstring[]

Swap sources to include for swap routing on destination.

originGasOverheadnumber

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

depositFeePayerstring

The payer to be set for deposit transactions on solana. This account must have enough for fees and rent.

maxRouteLengthnumber

Maximum number of hops to use in solana swap routing. Can reduce transaction size.

useSharedAccountsboolean

Prevents certain ATA creation instructions in solana routing

includeComputeUnitLimitboolean

Whether to include compute unit limit instruction for solana origin requests.

overridePriceImpactboolean

Whether to ignore price impact errors.

disableSwapProviderPreferenceboolean

Whether to disable preferred swap provider selection.

disableOriginSwapsboolean

Whether to disable origin swaps.

fixedRatestring

The rate to charge for fixed spread quotes.

ttlnumber

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.

Response

Default Response

Example response

{
  "steps": [
    {
      "id": "deposit",
      "action": "Confirm transaction in your wallet",
      "description": "Depositing funds to the relayer to execute the swap for USDC",
      "kind": "transaction",
      "requestId": "0x92b99e6e1ee1deeb9531b5ad7f87091b3d71254b3176de9e8b5f6c6d0bd3a331",
      "items": [
        {
          "status": "incomplete",
          "data": {
            "from": "0x0CccD55A5Ac261Ea29136831eeaA93bfE07f5Db6",
            "to": "0xf70da97812cb96acdf810712aa562db8dfa3dbef",
            "data": "0x00fad611",
            "value": "1000000000000000000",
            "maxFeePerGas": "12205661344",
            "maxPriorityFeePerGas": "2037863396",
            "chainId": 1
          },
          "check": {
            "endpoint": "/intents/status?requestId=0x92b99e6e1ee1deeb9531b5ad7f87091b3d71254b3176de9e8b5f6c6d0bd3a331",
            "method": "GET"
          }
        }
      ]
    }
  ],
  "fees": {
    "gas": {
      "currency": {
        "chainId": 8453,
        "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
        "symbol": "USDC",
        "name": "USD Coin",
        "decimals": 6,
        "metadata": {
          "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
          "verified": false,
          "isNative": false
        }
      },
      "amount": "30754920",
      "amountFormatted": "30.75492",
      "amountUsd": "30.901612",
      "minimumAmount": "30454920"
    },
    "relayer": {
      "currency": {
        "chainId": 8453,
        "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
        "symbol": "USDC",
        "name": "USD Coin",
        "decimals": 6,
        "metadata": {
          "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
          "verified": false,
          "isNative": false
        }
      },
      "amount": "30754920",
      "amountFormatted": "30.75492",
      "amountUsd": "30.901612",
      "minimumAmount": "30454920"
    },
    "relayerGas": {
      "currency": {
        "chainId": 8453,
        "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
        "symbol": "USDC",
        "name": "USD Coin",
        "decimals": 6,
        "metadata": {
          "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
          "verified": false,
          "isNative": false
        }
      },
      "amount": "30754920",
      "amountFormatted": "30.75492",
      "amountUsd": "30.901612",
      "minimumAmount": "30454920"
    },
    "relayerService": {
      "currency": {
        "chainId": 8453,
        "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
        "symbol": "USDC",
        "name": "USD Coin",
        "decimals": 6,
        "metadata": {
          "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
          "verified": false,
          "isNative": false
        }
      },
      "amount": "30754920",
      "amountFormatted": "30.75492",
      "amountUsd": "30.901612",
      "minimumAmount": "30454920"
    },
    "app": {
      "currency": {
        "chainId": 8453,
        "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
        "symbol": "USDC",
        "name": "USD Coin",
        "decimals": 6,
        "metadata": {
          "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
          "verified": false,
          "isNative": false
        }
      },
      "amount": "30754920",
      "amountFormatted": "30.75492",
      "amountUsd": "30.901612",
      "minimumAmount": "30454920"
    },
    "subsidized": {
      "currency": {
        "chainId": 8453,
        "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
        "symbol": "USDC",
        "name": "USD Coin",
        "decimals": 6,
        "metadata": {
          "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
          "verified": false,
          "isNative": false
        }
      },
      "amount": "30754920",
      "amountFormatted": "30.75492",
      "amountUsd": "30.901612",
      "minimumAmount": "30454920"
    }
  },
  "feeSponsorship": {
    "quoted": {
      "components": {
        "execution": {
          "total": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "sponsored": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "userPays": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          }
        },
        "swap": {
          "total": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "sponsored": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "userPays": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          }
        },
        "relay": {
          "total": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "sponsored": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "userPays": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          }
        },
        "app": {
          "total": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "sponsored": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "userPays": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          }
        },
        "rent": {
          "total": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "sponsored": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "userPays": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          }
        }
      },
      "sponsoredTotal": {
        "currency": {
          "chainId": 8453,
          "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
          "symbol": "USDC",
          "name": "USD Coin",
          "decimals": 6,
          "metadata": {
            "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
            "verified": false,
            "isNative": false
          }
        },
        "amount": "30754920",
        "amountFormatted": "30.75492",
        "amountUsd": "30.901612",
        "minimumAmount": "30454920"
      },
      "userPaysTotal": {
        "currency": {
          "chainId": 8453,
          "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
          "symbol": "USDC",
          "name": "USD Coin",
          "decimals": 6,
          "metadata": {
            "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
            "verified": false,
            "isNative": false
          }
        },
        "amount": "30754920",
        "amountFormatted": "30.75492",
        "amountUsd": "30.901612",
        "minimumAmount": "30454920"
      }
    },
    "actual": {
      "components": {
        "execution": {
          "total": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "sponsored": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "userPays": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          }
        },
        "swap": {
          "total": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "sponsored": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "userPays": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          }
        },
        "relay": {
          "total": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "sponsored": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "userPays": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          }
        },
        "app": {
          "total": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "sponsored": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "userPays": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          }
        },
        "rent": {
          "total": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "sponsored": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          },
          "userPays": {
            "currency": {
              "chainId": 8453,
              "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
              "symbol": "USDC",
              "name": "USD Coin",
              "decimals": 6,
              "metadata": {
                "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
                "verified": false,
                "isNative": false
              }
            },
            "amount": "30754920",
            "amountFormatted": "30.75492",
            "amountUsd": "30.901612",
            "minimumAmount": "30454920"
          }
        }
      },
      "sponsoredTotal": {
        "currency": {
          "chainId": 8453,
          "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
          "symbol": "USDC",
          "name": "USD Coin",
          "decimals": 6,
          "metadata": {
            "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
            "verified": false,
            "isNative": false
          }
        },
        "amount": "30754920",
        "amountFormatted": "30.75492",
        "amountUsd": "30.901612",
        "minimumAmount": "30454920"
      },
      "userPaysTotal": {
        "currency": {
          "chainId": 8453,
          "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
          "symbol": "USDC",
          "name": "USD Coin",
          "decimals": 6,
          "metadata": {
            "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
            "verified": false,
            "isNative": false
          }
        },
        "amount": "30754920",
        "amountFormatted": "30.75492",
        "amountUsd": "30.901612",
        "minimumAmount": "30454920"
      }
    }
  },
  "details": {
    "currencyIn": {
      "currency": {
        "chainId": 8453,
        "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
        "symbol": "USDC",
        "name": "USD Coin",
        "decimals": 6,
        "metadata": {
          "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
          "verified": false,
          "isNative": false
        }
      },
      "amount": "30754920",
      "amountFormatted": "30.75492",
      "amountUsd": "30.901612",
      "minimumAmount": "30454920"
    },
    "currencyOut": {
      "currency": {
        "chainId": 8453,
        "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
        "symbol": "USDC",
        "name": "USD Coin",
        "decimals": 6,
        "metadata": {
          "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
          "verified": false,
          "isNative": false
        }
      },
      "amount": "30754920",
      "amountFormatted": "30.75492",
      "amountUsd": "30.901612",
      "minimumAmount": "30454920"
    },
    "refundCurrency": {
      "currency": {
        "chainId": 8453,
        "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
        "symbol": "USDC",
        "name": "USD Coin",
        "decimals": 6,
        "metadata": {
          "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
          "verified": false,
          "isNative": false
        }
      },
      "amount": "30754920",
      "amountFormatted": "30.75492",
      "amountUsd": "30.901612",
      "minimumAmount": "30454920"
    },
    "currencyGasTopup": {
      "currency": {
        "chainId": 8453,
        "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
        "symbol": "USDC",
        "name": "USD Coin",
        "decimals": 6,
        "metadata": {
          "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
          "verified": false,
          "isNative": false
        }
      },
      "amount": "30754920",
      "amountFormatted": "30.75492",
      "amountUsd": "30.901612",
      "minimumAmount": "30454920"
    },
    "route": {
      "origin": {
        "inputCurrency": {
          "currency": {
            "chainId": 8453,
            "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
            "symbol": "USDC",
            "name": "USD Coin",
            "decimals": 6,
            "metadata": {
              "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
              "verified": false,
              "isNative": false
            }
          },
          "amount": "30754920",
          "amountFormatted": "30.75492",
          "amountUsd": "30.901612",
          "minimumAmount": "30454920"
        },
        "outputCurrency": {
          "currency": {
            "chainId": 8453,
            "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
            "symbol": "USDC",
            "name": "USD Coin",
            "decimals": 6,
            "metadata": {
              "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
              "verified": false,
              "isNative": false
            }
          },
          "amount": "30754920",
          "amountFormatted": "30.75492",
          "amountUsd": "30.901612",
          "minimumAmount": "30454920"
        }
      },
      "destination": {
        "inputCurrency": {
          "currency": {
            "chainId": 8453,
            "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
            "symbol": "USDC",
            "name": "USD Coin",
            "decimals": 6,
            "metadata": {
              "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
              "verified": false,
              "isNative": false
            }
          },
          "amount": "30754920",
          "amountFormatted": "30.75492",
          "amountUsd": "30.901612",
          "minimumAmount": "30454920"
        },
        "outputCurrency": {
          "currency": {
            "chainId": 8453,
            "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
            "symbol": "USDC",
            "name": "USD Coin",
            "decimals": 6,
            "metadata": {
              "logoURI": "https://ethereum-optimism.github.io/data/USDC/logo.png",
              "verified": false,
              "isNative": false
            }
          },
          "amount": "30754920",
          "amountFormatted": "30.75492",
          "amountUsd": "30.901612",
          "minimumAmount": "30454920"
        }
      }
    }
  }
}