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

post/quote

Request

  • Base URL: https://api.relay.link
  • URL: https://api.relay.link/quote
  • Auth: none declared

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

Deprecated: canonical+ bridging has been removed and this flag is ignored

useFallbacksboolean

Deprecated: fallback routes have been removed and this flag is ignored

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.

useMulticallAuthorizationboolean

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.

includeProtocolDataboolean

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

useDepositAddressboolean

Use a deposit address when calldata cannot be sent with the origin transaction. In /quote/v2, creation follows the requested trade type.

strictboolean

Makes the deposit address one-time use. On /quote/v2, EXACT_OUTPUT addresses are always one-time use.

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.

subsidizationBpsinteger

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.

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.

originGasOverheadinteger

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

forJitoBundleboolean

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.

includeComputeUnitLimitboolean

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

useV1Transactionboolean

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.

overridePriceImpactboolean

Whether to ignore price impact errors.

disableSwapProviderPreferenceboolean

Whether to disable preferred swap provider selection.

disableOriginSwapsboolean

Whether to disable origin swaps.

indicativeQuoteboolean

Whether to return an inexecutable quote meant to be used as a preview.

fixedRatestring

The rate to charge for fixed spread quotes.

referencePricestring

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.

useRouteRacingboolean

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.

routeRacingMinUsdSizenumber

Minimum fill size in USD eligible for route racing. Defaults to 100. Route racing has no maximum fill size.

useRouteRacingOnOriginboolean

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.

ttlinteger

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.

useQueueingboolean

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.

queueingTtlnumber

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.

Response

Default Response

requestIdstring

A unique identifier for the quote

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"
        }
      }
    }
  }
}

Changes

    • warning

      removed the optional property / from the response with the status

    • info

      request property deprecated

    • info

      request property deprecated

    • info

      added the new optional request property