{"openapi":"3.0.3","info":{"title":"Cross-chain solver","version":"1.0.0"},"components":{"schemas":{}},"paths":{"/app-fees/{wallet}/balances":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"wallet","required":true,"description":"Wallet to get the app fees for"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"balances":{"type":"array","description":"An array of app fee balances across multiple currencies","items":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"totalBalanceUsd":{"type":"number","description":"Total app fee balance in USD across all currencies."},"outstandingFastFillBalanceUsd":{"type":"number","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."},"availableBalanceUsd":{"type":"number","description":"Total balance minus outstanding fast fill balance. The effective collateral available for new fast fills and claims."}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Descriptive error message"}}}}}}}}},"/app-fees/{wallet}/claim":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"chainId":{"type":"number","description":"Chain id of the currency to claim"},"currency":{"type":"string","description":"Currency to claim"},"amount":{"type":"string","description":"Amount to claim","pattern":"^[0-9]+$"},"recipient":{"type":"string","description":"The recipient of the claimed funds"}},"required":["chainId","currency","recipient"]}}},"required":true},"parameters":[{"schema":{"type":"string"},"in":"path","name":"wallet","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"steps":{"type":"array","description":"An array of steps detailing what needs to be done to claim","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier tied to the step"},"action":{"type":"string","description":"A call to action for the step"},"description":{"type":"string","description":"A short description of the step and what it entails"},"kind":{"type":"string","description":"The kind of step, for claims this will be `signature`"},"items":{"type":"array","description":"For claims, we'll always have a single `signature` step","items":{"type":"object","properties":{"status":{"type":"string","description":"Can either be complete or incomplete"},"data":{}}}}}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Descriptive error message"}}}}}}}}},"/app-fees/{wallet}/claims":{"get":{"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"in":"query","name":"limit","required":false,"description":"Number of claims to return"},{"schema":{"type":"string"},"in":"query","name":"continuation","required":false,"description":"Pagination continuation token"},{"schema":{"type":"string"},"in":"path","name":"wallet","required":true,"description":"Wallet address to retrieve claim history for"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"claims":{"type":"array","description":"An array of past app fee claim transactions","items":{"type":"object","properties":{"claimId":{"type":"string"},"wallet":{"type":"string"},"recipient":{"type":"string"},"currency":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"txHash":{"type":"string","nullable":true},"status":{"type":"string"},"createdAt":{"type":"string"}}}},"continuation":{"type":"string"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Descriptive error message"}}}}}}}}},"/chains":{"get":{"parameters":[{"schema":{"type":"string","nullable":true},"in":"query","name":"includeChains","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"chains":{"type":"array","description":"An array of supported chains","items":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"displayName":{"type":"string"},"httpRpcUrl":{"type":"string"},"wsRpcUrl":{"type":"string"},"explorerUrl":{"type":"string"},"explorerName":{"type":"string"},"explorerPaths":{"type":"object","nullable":true,"properties":{"transaction":{"type":"string"},"address":{"type":"string"}}},"depositEnabled":{"type":"boolean","description":"If the network supports depositing to this chain, e.g. allows this chain to be set as the destination chain"},"tokenSupport":{"type":"string","enum":["All","Limited"]},"disabled":{"type":"boolean","description":"If relaying to and from this chain is disabled"},"partialDisableLimit":{"type":"number","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"},"blockProductionLagging":{"type":"boolean","description":"If the chain is experiencing issues where blocks are lagging behind or not being produced"},"currency":{"type":"object","properties":{"id":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"address":{"type":"string"},"decimals":{"type":"number"},"supportsBridging":{"type":"boolean"}}},"withdrawalFee":{"type":"number","description":"The fee in bps for withdrawing from this chain"},"depositFee":{"type":"number","description":"The fee in bps for depositing to this chain"},"surgeEnabled":{"type":"boolean","description":"If the chain has surge pricing enabled"},"featuredTokens":{"type":"array","description":"An array of featured erc20 currencies","items":{"type":"object","properties":{"id":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"address":{"type":"string"},"decimals":{"type":"number"},"supportsBridging":{"type":"boolean","description":"If the currency supports bridging"},"metadata":{"properties":{"logoURI":{"type":"string"}},"type":"object"}}}},"erc20Currencies":{"type":"array","description":"An array of erc20 currencies that the solver accepts directly as input","items":{"type":"object","properties":{"id":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"address":{"type":"string"},"decimals":{"type":"number"},"supportsBridging":{"type":"boolean","description":"If the currency supports bridging"},"supportsPermit":{"type":"boolean","description":"If the erc20 currency supports permit via signature (EIP-2612)"},"withdrawalFee":{"type":"number","description":"The fee in bps for withdrawing from this chain"},"depositFee":{"type":"number","description":"The fee in bps for depositing to this chain"},"surgeEnabled":{"type":"boolean","description":"If the chain has surge pricing enabled"}}}},"solverCurrencies":{"type":"array","description":"An array of all currencies that the solver accepts directly as input, including native currency if applicable","items":{"type":"object","properties":{"id":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"address":{"type":"string"},"decimals":{"type":"number"}}}},"iconUrl":{"type":"string","description":"The URL to the chain icon","nullable":true},"logoUrl":{"type":"string","description":"The URL to the chain logo","nullable":true},"brandColor":{"type":"string","description":"Brand color code","nullable":true},"contracts":{"type":"object","description":"Relay contract addresses","properties":{"multicall3":{"type":"string"},"multicaller":{"type":"string"},"onlyOwnerMulticaller":{"type":"string"},"relayReceiver":{"type":"string"},"erc20Router":{"type":"string"},"approvalProxy":{"type":"string"},"v3":{"type":"object","properties":{"erc20Router":{"type":"string"},"approvalProxy":{"type":"string"}}}}},"vmType":{"type":"string","description":"The type of VM the chain runs on","enum":["bvm","evm","svm","tvm","tonvm","suivm","hypevm","lvm"]},"explorerQueryParams":{"type":"object","nullable":true,"additionalProperties":true},"baseChainId":{"type":"number","description":"The chain id which the chain rolls up to. This is always set as Ethereum for L1 chains","nullable":true},"statusMessage":{"type":"string","description":"If applicable, a status message for the chain","nullable":true},"solverAddresses":{"type":"array","description":"An array of solver addresses in use on the chain. (Note that there is currently only one address in use per chain)","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"protocol":{"type":"object","properties":{"v2":{"type":"object","properties":{"chainId":{"type":"string","nullable":true},"depository":{"type":"string","nullable":true},"depositoryVault":{"type":"string","nullable":true}}}}}}}}}}}}}}}},"/chains/liquidity":{"get":{"parameters":[{"schema":{"type":"number"},"in":"query","name":"chainId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"liquidity":{"type":"array","description":"Solver balances per currency on the requested chain","items":{"type":"object","properties":{"chainId":{"type":"number"},"currencyId":{"type":"string"},"symbol":{"type":"string"},"address":{"type":"string"},"decimals":{"type":"number"},"balance":{"type":"string","description":"Main EOA solver balance in the currency's smallest unit (e.g. wei for ETH)"},"amountUsd":{"type":"string","description":"Solver balance expressed in USD"}}}}}}}}}}}},"/chains/health":{"get":{"parameters":[{"schema":{"type":"string","nullable":false},"in":"query","name":"chainId","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"healthy":{"type":"boolean","description":"A boolean indicating if the chain is healthy (true) or not (false)"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"}}}}}}}}},"/config":{"get":{"parameters":[{"schema":{"type":"string"},"in":"query","name":"originChainId","required":true},{"schema":{"type":"string"},"in":"query","name":"destinationChainId","required":true},{"schema":{"type":"string"},"in":"query","name":"user","required":false,"description":"User address, when supplied returns user balance and max bridge amount"},{"schema":{"type":"string","default":"0x0000000000000000000000000000000000000000"},"in":"query","name":"currency","required":false,"description":"Restricts the user balance and capacity to a particular currency when supplied with a currency address. Defaults to native currency"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"},"user":{"type":"object","properties":{"balance":{"type":"string","description":"Balance on the origin chain in the native or supplied currency"},"maxBridgeAmount":{"type":"string","description":"Maximum amount that the user can bridge after fees in the native or supplied currency"}}},"solver":{"type":"object","properties":{"address":{"type":"string"},"balance":{"type":"string","description":"Balance of the solver on the destination chain. Denoted in wei"},"capacityPerRequest":{"type":"string","description":"How much of the given currency is available to be bridged per bridge request. Denoted in wei"}}},"supportsExternalLiquidity":{"type":"boolean","description":"This denotes if the chain combination supports canonical plus bridging"}}}}}}}}},"/config/v2":{"get":{"parameters":[{"schema":{"type":"string"},"in":"query","name":"originChainId","required":true},{"schema":{"type":"string"},"in":"query","name":"destinationChainId","required":true},{"schema":{"type":"string"},"in":"query","name":"user","required":false,"description":"User address, when supplied returns user balance and max bridge amount"},{"schema":{"type":"string","enum":["anime","btc","cgt","dai","degen","eth","omi","pop","tg7","tia","usdc","usdc.e","usdt","sol","weth","apeeth","ape","g7","pengu","plume","wbtc","pusd","gun","somi","synd","xpl","usde","mon","usdh","musd","usdm","pyusd","cash","eusd"]},"in":"query","name":"currency","required":false,"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."}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"},"user":{"type":"object","properties":{"balance":{"type":"string","description":"Balance on the origin chain in the native or supplied currency"},"maxBridgeAmount":{"type":"string","description":"Maximum amount that the user can bridge after fees in the native or supplied currency"}}},"fee":{"type":"string","description":"Total fee in the native or supplied currency for the bridge operation"},"solver":{"type":"object","properties":{"address":{"type":"string"},"balance":{"type":"string","description":"Balance of the solver on the destination chain. Denoted in wei"},"capacityPerRequest":{"type":"string","description":"How much of the given currency is available to be bridged per bridge request. Denoted in wei"}}},"supportsExternalLiquidity":{"type":"boolean","description":"This denotes if the chain combination supports canonical plus bridging"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"}}}}}}}}},"/execute/bridge":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Address that is depositing funds on the origin chain and submitting transactions or signatures"},"recipient":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Address that is receiving the funds on the destination chain, if not specified then this will default to the user address"},"originChainId":{"type":"number"},"destinationChainId":{"type":"number"},"currency":{"type":"string","enum":["anime","btc","cgt","dai","degen","eth","omi","pop","tg7","tia","usdc","usdc.e","usdt","sol","weth","apeeth","ape","g7","pengu","plume","wbtc","pusd","gun","somi","synd","xpl","usde","mon","usdh","musd","usdm","pyusd","cash","eusd"]},"amount":{"type":"string","pattern":"^[0-9]+$","description":"Amount to bridge as the base amount (can be switched to exact input using the dedicated flag), denoted in wei"},"appFees":{"type":"array","items":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}:[0-9]+$"},"description":"App fees to be charged for execution"},"source":{"type":"string"},"refundTo":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Address to send the refund to in the case of failure, if not specified then the receipient address or user address is used"},"refundOnOrigin":{"type":"boolean","description":"Always refund on the origin chain in case of any issues","deprecated":true},"useExactInput":{"type":"boolean","description":"Enable this to use the exact input rather than exact output"},"useExternalLiquidity":{"type":"boolean","description":"Enable this to use canonical+ bridging, trading speed for more liquidity"},"useFallbacks":{"type":"boolean","description":"Enable this for specific fallback routes"},"useForwarder":{"type":"boolean","default":true,"description":"Enable this to route payments via a forwarder contract. This contract will emit an event when receiving payments before forwarding to the solver. This is needed when depositing from a smart contract as the payment will be an internal transaction and detecting such a transaction requires obtaining the transaction traces."},"usePermit":{"type":"boolean","description":"Enable this to use permit (eip3009), only works on supported currency such as usdc"}},"required":["user","originChainId","destinationChainId","currency","amount"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"steps":{"type":"array","description":"An array of steps detailing what needs to be done to bridge, steps includes multiple items of the same kind (signature, transaction, etc)","example":[{"id":"deposit","action":"Confirm transaction in your wallet","description":"Deposit funds for executing the calls","kind":"transaction","items":[{"status":"incomplete","data":{"from":"0x03508bB71268BBA25ECaCC8F620e01866650532c","to":"0xf70da97812cb96acdf810712aa562db8dfa3dbef","data":"0x58109c","value":"995010715204139091","maxFeePerGas":"18044119466","maxPriorityFeePerGas":"2060264926","chainId":1,"gas":21064},"check":{"endpoint":"/intents/status?requestId=0x341b28c6467bfbffb72ad78ec5ddf1f77b8f9c79be134223e3248a7d4fcd43b6","method":"GET"}}]}],"items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier tied to the step"},"action":{"type":"string","description":"A call to action for the step"},"description":{"type":"string","description":"A short description of the step and what it entails"},"kind":{"type":"string","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"},"items":{"type":"array","description":"While uncommon it is possible for steps to contain multiple items of the same kind (transaction/signature) grouped together that can be executed simultaneously.","items":{"type":"object","properties":{"status":{"type":"string","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"},"data":{},"check":{"type":"object","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","properties":{"endpoint":{"type":"string","description":"The endpoint to confirm that the step item was successfully completed"},"method":{"type":"string","description":"The REST method to access the endpoint"}}}}}}}}},"fees":{"type":"object","example":{"gas":"384398515652800","gasCurrency":"eth","relayer":"-4989478842712964","relayerGas":"521157287036","relayerService":"-4990000000000000","relayerCurrency":"eth"},"properties":{"gas":{"type":"string","description":"Origin chain gas fee in wei"},"gasCurrency":{"type":"string","enum":["anime","btc","cgt","dai","degen","eth","omi","pop","tg7","tia","usdc","usdc.e","usdt","sol","weth","apeeth","ape","g7","pengu","plume","wbtc","pusd","gun","somi","synd","xpl","usde","mon","usdh","musd","usdm","pyusd","cash","eusd","avax","bnb","matic","sei","mnt","trx","bera","ip","s","lrds","celo","flow","ron","metis","btcn","core","sui","ton","cronos","hype","mcade","usd"],"description":"Origin chain gas currency"},"relayer":{"type":"string","description":"Combination of the relayerGas and relayerService to give you the full relayer fee in wei"},"relayerGas":{"type":"string","description":"Destination chain gas fee in wei"},"relayerService":{"type":"string","description":"Fee paid to the relay solver in wei, note that this value can be negative (which represents network rewards for moving in a direction that optimizes liquidity distribution)"},"relayerCurrency":{"type":"string","description":"The currency for all relayer fees (gas and service)","enum":["anime","btc","cgt","dai","degen","eth","omi","pop","tg7","tia","usdc","usdc.e","usdt","sol","weth","apeeth","ape","g7","pengu","plume","wbtc","pusd","gun","somi","synd","xpl","usde","mon","usdh","musd","usdm","pyusd","cash","eusd"]},"app":{"type":"string"},"appCurrency":{"type":"string","enum":["anime","btc","cgt","dai","degen","eth","omi","pop","tg7","tia","usdc","usdc.e","usdt","sol","weth","apeeth","ape","g7","pengu","plume","wbtc","pusd","gun","somi","synd","xpl","usde","mon","usdh","musd","usdm","pyusd","cash","eusd"]}}},"breakdown":{"type":"array","items":{"type":"object","example":{"value":"1000000000000000000","timeEstimate":10},"properties":{"value":{"type":"string","description":"Amount that will be bridged in the estimated time"},"timeEstimate":{"type":"number","description":"Estimated bridge time in seconds"}}}},"balances":{"type":"object","example":{"userBalance":"54764083517303347","requiredToSolve":"995010521157287036"},"properties":{"userBalance":{"type":"string","description":"The user's balance in the given currency on the origin chain"},"requiredToSolve":{"type":"string","description":"The minimum balance the user needs to have to bridge"}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}}}}},"/execute/bridge/v2":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Address that is depositing funds on the origin chain and submitting transactions or signatures"},"recipient":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Address that is receiving the funds on the destination chain, if not specified then this will default to the user address"},"originChainId":{"type":"number"},"destinationChainId":{"type":"number"},"currency":{"type":"string","enum":["anime","btc","cgt","dai","degen","eth","omi","pop","tg7","tia","usdc","usdc.e","usdt","sol","weth","apeeth","ape","g7","pengu","plume","wbtc","pusd","gun","somi","synd","xpl","usde","mon","usdh","musd","usdm","pyusd","cash","eusd"]},"amount":{"type":"string","pattern":"^[0-9]+$","description":"Amount to bridge as the base amount (can be switched to exact input using the dedicated flag), denoted in wei"},"appFees":{"type":"array","items":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}:[0-9]+$"},"description":"App fees to be charged for execution"},"source":{"type":"string"},"refundTo":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Address to send the refund to in the case of failure, if not specified then the receipient address or user address is used"},"refundOnOrigin":{"type":"boolean","description":"Always refund on the origin chain in case of any issues","deprecated":true},"useExactInput":{"type":"boolean","description":"Enable this to use the exact input rather than exact output"},"useExternalLiquidity":{"type":"boolean","description":"Enable this to use canonical+ bridging, trading speed for more liquidity"},"useFallbacks":{"type":"boolean","description":"Enable this for specific fallback routes"},"useForwarder":{"type":"boolean","default":true,"description":"Enable this to route payments via a forwarder contract. This contract will emit an event when receiving payments before forwarding to the solver. This is needed when depositing from a smart contract as the payment will be an internal transaction and detecting such a transaction requires obtaining the transaction traces."},"usePermit":{"type":"boolean","description":"Enable this to use permit (eip3009), only works on supported currency such as usdc"}},"required":["user","originChainId","destinationChainId","currency","amount"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"steps":{"type":"array","description":"An array of steps detailing what needs to be done to bridge, steps includes multiple items of the same kind (signature, transaction, etc)","example":[{"id":"deposit","action":"Confirm transaction in your wallet","description":"Deposit funds for executing the calls","kind":"transaction","items":[{"status":"incomplete","data":{"from":"0x03508bB71268BBA25ECaCC8F620e01866650532c","to":"0xf70da97812cb96acdf810712aa562db8dfa3dbef","data":"0x58109c","value":"995010715204139091","maxFeePerGas":"18044119466","maxPriorityFeePerGas":"2060264926","chainId":1,"gas":21064},"check":{"endpoint":"/intents/status?requestId=0x341b28c6467bfbffb72ad78ec5ddf1f77b8f9c79be134223e3248a7d4fcd43b6","method":"GET"}}]}],"items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier tied to the step"},"action":{"type":"string","description":"A call to action for the step"},"description":{"type":"string","description":"A short description of the step and what it entails"},"kind":{"type":"string","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"},"items":{"type":"array","description":"While uncommon it is possible for steps to contain multiple items of the same kind (transaction/signature) grouped together that can be executed simultaneously.","items":{"type":"object","properties":{"status":{"type":"string","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"},"data":{},"check":{"type":"object","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","properties":{"endpoint":{"type":"string","description":"The endpoint to confirm that the step item was successfully completed"},"method":{"type":"string","description":"The REST method to access the endpoint"}}}}}}}}},"fees":{"type":"object","properties":{"gas":{"description":"Origin chain gas fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayer":{"description":"Combination of the relayerGas and relayerService to give you the full relayer fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayerGas":{"description":"Destination chain gas fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayerService":{"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)","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"app":{"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","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"subsidized":{"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.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}}},"breakdown":{"type":"array","items":{"type":"object","example":{"value":"1000000000000000000","timeEstimate":10},"properties":{"value":{"type":"string","description":"Amount that will be bridged in the estimated time"},"timeEstimate":{"type":"number","description":"Estimated bridge time in seconds"}}}},"balances":{"type":"object","example":{"userBalance":"54764083517303347","requiredToSolve":"995010521157287036"},"properties":{"userBalance":{"type":"string","description":"The user's balance in the given currency on the origin chain"},"requiredToSolve":{"type":"string","description":"The minimum balance the user needs to have to bridge"}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"}}}}}}}}},"/execute/call":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Address that is depositing funds on the origin chain and submitting transactions or signatures"},"originChainId":{"type":"number"},"destinationChainId":{"type":"number"},"txs":{"type":"array","items":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"value":{"type":"string"},"data":{"type":"string","pattern":"^0x[a-fA-F0-9]*$"}}}},"appFees":{"type":"array","items":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}:[0-9]+$"},"description":"App fees to be charged for execution"},"refundTo":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Address to send the refund to in the case of failure, if not specified then the receipient address or user address is used"},"refundOnOrigin":{"type":"boolean","description":"Always refund on the origin chain in case of any issues","deprecated":true},"source":{"type":"string"},"useForwarder":{"type":"boolean","default":true,"description":"Enable this to route payments via a forwarder contract. This contract will emit an event when receiving payments before forwarding to the solver. This is needed when depositing from a smart contract as the payment will be an internal transaction and detecting such a transaction requires obtaining the transaction traces."}},"required":["user","originChainId","destinationChainId"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"steps":{"type":"array","description":"An array of steps detailing what needs to be done to bridge, steps includes multiple items of the same kind (signature, transaction, etc)","example":[{"id":"deposit","action":"Confirm transaction in your wallet","description":"Deposit funds for executing the calls","kind":"transaction","items":[{"status":"incomplete","data":{"from":"0x03508bB71268BBA25ECaCC8F620e01866650532c","to":"0xf70da97812cb96acdf810712aa562db8dfa3dbef","data":"0x58109c","value":"995010715204139091","maxFeePerGas":"18044119466","maxPriorityFeePerGas":"2060264926","chainId":1,"gas":21064},"check":{"endpoint":"/intents/status?requestId=0x341b28c6467bfbffb72ad78ec5ddf1f77b8f9c79be134223e3248a7d4fcd43b6","method":"GET"}}]}],"items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier tied to the step"},"action":{"type":"string","description":"A call to action for the step"},"description":{"type":"string","description":"A short description of the step and what it entails"},"kind":{"type":"string","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"},"items":{"type":"array","description":"While uncommon it is possible for steps to contain multiple items of the same kind (transaction/signature) grouped together that can be executed simultaneously.","items":{"type":"object","properties":{"status":{"type":"string","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"},"data":{},"check":{"type":"object","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","properties":{"endpoint":{"type":"string","description":"The endpoint to confirm that the step item was successfully completed"},"method":{"type":"string","description":"The REST method to access the endpoint"}}}}}}}}},"fees":{"type":"object","example":{"gas":"384398515652800","gasCurrency":"eth","relayer":"-4989478842712964","relayerGas":"521157287036","relayerService":"-4990000000000000","relayerCurrency":"eth"},"properties":{"gas":{"type":"string","description":"Origin chain gas fee in wei"},"gasCurrency":{"type":"string","enum":["anime","btc","cgt","dai","degen","eth","omi","pop","tg7","tia","usdc","usdc.e","usdt","sol","weth","apeeth","ape","g7","pengu","plume","wbtc","pusd","gun","somi","synd","xpl","usde","mon","usdh","musd","usdm","pyusd","cash","eusd","avax","bnb","matic","sei","mnt","trx","bera","ip","s","lrds","celo","flow","ron","metis","btcn","core","sui","ton","cronos","hype","mcade","usd"],"description":"Origin chain gas currency"},"relayer":{"type":"string","description":"Combination of the relayerGas and relayerService to give you the full relayer fee in wei"},"relayerGas":{"type":"string","description":"Destination chain gas fee in wei"},"relayerService":{"type":"string","description":"Fee paid to the relay solver in wei, note that this value can be negative (which represents network rewards for moving in a direction that optimizes liquidity distribution)"},"relayerCurrency":{"type":"string","enum":["anime","btc","cgt","dai","degen","eth","omi","pop","tg7","tia","usdc","usdc.e","usdt","sol","weth","apeeth","ape","g7","pengu","plume","wbtc","pusd","gun","somi","synd","xpl","usde","mon","usdh","musd","usdm","pyusd","cash","eusd"],"description":"The currency for all relayer fees (gas and service)"},"app":{"type":"string"},"appCurrency":{"type":"string","enum":["anime","btc","cgt","dai","degen","eth","omi","pop","tg7","tia","usdc","usdc.e","usdt","sol","weth","apeeth","ape","g7","pengu","plume","wbtc","pusd","gun","somi","synd","xpl","usde","mon","usdh","musd","usdm","pyusd","cash","eusd"]}}},"breakdown":{"type":"array","example":{"value":"1000000000000000000","timeEstimate":10},"items":{"type":"object","properties":{"value":{"type":"string","description":"Amount that will be executed in the estimated time"},"timeEstimate":{"type":"number","description":"Estimated execution time in seconds"}}}},"balances":{"type":"object","example":{"userBalance":"54764083517303347","requiredToSolve":"995010521157287036"},"properties":{"userBalance":{"type":"string","description":"The user's balance in the given currency on the origin chain"},"requiredToSolve":{"type":"string","description":"The minimum balance the user needs to have to bridge"}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"tx":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"value":{"type":"string"},"data":{"type":"string","pattern":"^0x[a-fA-F0-9]*$"}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"tx":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"value":{"type":"string"},"data":{"type":"string","pattern":"^0x[a-fA-F0-9]*$"}}}}}}}}}}},"/execute/call/v2":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"user":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Address that is depositing funds on the origin chain and submitting transactions or signatures"},"originChainId":{"type":"number"},"destinationChainId":{"type":"number"},"txs":{"type":"array","items":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"value":{"type":"string"},"data":{"type":"string","pattern":"^0x[a-fA-F0-9]*$"}}}},"appFees":{"type":"array","items":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}:[0-9]+$"},"description":"App fees to be charged for execution"},"refundTo":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Address to send the refund to in the case of failure, if not specified then the receipient address or user address is used"},"refundOnOrigin":{"type":"boolean","description":"Always refund on the origin chain in case of any issues","deprecated":true},"source":{"type":"string"},"useForwarder":{"type":"boolean","default":true,"description":"Enable this to route payments via a forwarder contract. This contract will emit an event when receiving payments before forwarding to the solver. This is needed when depositing from a smart contract as the payment will be an internal transaction and detecting such a transaction requires obtaining the transaction traces."}},"required":["user","originChainId","destinationChainId"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"steps":{"type":"array","description":"An array of steps detailing what needs to be done to bridge, steps includes multiple items of the same kind (signature, transaction, etc)","example":[{"id":"deposit","action":"Confirm transaction in your wallet","description":"Deposit funds for executing the calls","kind":"transaction","items":[{"status":"incomplete","data":{"from":"0x03508bB71268BBA25ECaCC8F620e01866650532c","to":"0xf70da97812cb96acdf810712aa562db8dfa3dbef","data":"0x58109c","value":"995010715204139091","maxFeePerGas":"18044119466","maxPriorityFeePerGas":"2060264926","chainId":1,"gas":21064},"check":{"endpoint":"/intents/status?requestId=0x341b28c6467bfbffb72ad78ec5ddf1f77b8f9c79be134223e3248a7d4fcd43b6","method":"GET"}}]}],"items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier tied to the step"},"action":{"type":"string","description":"A call to action for the step"},"description":{"type":"string","description":"A short description of the step and what it entails"},"kind":{"type":"string","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"},"items":{"type":"array","description":"While uncommon it is possible for steps to contain multiple items of the same kind (transaction/signature) grouped together that can be executed simultaneously.","items":{"type":"object","properties":{"status":{"type":"string","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"},"data":{},"check":{"type":"object","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","properties":{"endpoint":{"type":"string","description":"The endpoint to confirm that the step item was successfully completed"},"method":{"type":"string","description":"The REST method to access the endpoint"}}}}}}}}},"fees":{"type":"object","properties":{"gas":{"description":"Origin chain gas fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayer":{"description":"Combination of the relayerGas and relayerService to give you the full relayer fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayerGas":{"description":"Destination chain gas fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayerService":{"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)","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"app":{"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","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"subsidized":{"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.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}}},"breakdown":{"type":"array","example":{"value":"1000000000000000000","timeEstimate":10},"items":{"type":"object","properties":{"value":{"type":"string","description":"Amount that will be executed in the estimated time"},"timeEstimate":{"type":"number","description":"Estimated execution time in seconds"}}}},"balances":{"type":"object","example":{"userBalance":"54764083517303347","requiredToSolve":"995010521157287036"},"properties":{"userBalance":{"type":"string","description":"The user's balance in the given currency on the origin chain"},"requiredToSolve":{"type":"string","description":"The minimum balance the user needs to have to bridge"}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"},"tx":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"value":{"type":"string"},"data":{"type":"string","pattern":"^0x[a-fA-F0-9]*$"}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"},"tx":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"value":{"type":"string"},"data":{"type":"string","pattern":"^0x[a-fA-F0-9]*$"}}}}}}}}}}},"/execute/swap":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"user":{"type":"string","description":"Address that is depositing funds on the origin chain and submitting transactions or signatures"},"recipient":{"type":"string","description":"Address that is receiving the funds on the destination chain, if not specified then this will default to the user address"},"originChainId":{"type":"number"},"destinationChainId":{"type":"number"},"originCurrency":{"type":"string"},"destinationCurrency":{"type":"string"},"amount":{"type":"string","pattern":"^[0-9]+$","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)"},"tradeType":{"type":"string","description":"Whether to use the amount as the output or the input for the basis of the swap","enum":["EXACT_INPUT","EXACT_OUTPUT","EXPECTED_OUTPUT"]},"txs":{"type":"array","items":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"value":{"type":"string"},"data":{"type":"string","pattern":"^0x[a-fA-F0-9]*$"}}}},"source":{"type":"string"},"refundTo":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Address to send the refund to in the case of failure, if not specified then the recipient address or user address is used"},"refundOnOrigin":{"type":"boolean","description":"Always refund on the origin chain in case of any issues","deprecated":true},"useForwarder":{"type":"boolean","default":true,"description":"Enable this to route payments via a forwarder contract. This contract will emit an event when receiving payments before forwarding to the solver. This is needed when depositing from a smart contract as the payment will be an internal transaction and detecting such a transaction requires obtaining the transaction traces."},"useExternalLiquidity":{"type":"boolean","description":"Enable this to use canonical+ bridging, trading speed for more liquidity"},"useFallbacks":{"type":"boolean","description":"Enable this for specific fallback routes"},"usePermit":{"type":"boolean","description":"Enable this to use permit (eip3009) when bridging, only works on supported currency such as usdc"},"slippageTolerance":{"type":"string","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"},"appFees":{"type":"array","items":{"type":"object","properties":{"recipient":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Address that will receive the app fee"},"fee":{"type":"string","pattern":"^[0-9]+$","description":"App fees to be charged for execution in basis points, e.g. 100 = 1%"}},"description":"App fees to be charged for execution"}}},"required":["user","originChainId","destinationChainId","originCurrency","destinationCurrency","amount","tradeType"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"steps":{"type":"array","description":"An array of steps detailing what needs to be done to bridge, steps includes multiple items of the same kind (signature, transaction, etc)","example":[{"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"}}]}],"items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier tied to the step"},"action":{"type":"string","description":"A call to action for the step"},"description":{"type":"string","description":"A short description of the step and what it entails"},"kind":{"type":"string","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"},"requestId":{"type":"string","description":"A unique identifier for this step, tying all related transactions together"},"items":{"type":"array","description":"While uncommon it is possible for steps to contain multiple items of the same kind (transaction/signature) grouped together that can be executed simultaneously.","items":{"type":"object","properties":{"status":{"type":"string","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"},"data":{},"check":{"type":"object","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","properties":{"endpoint":{"type":"string","description":"The endpoint to confirm that the step item was successfully completed"},"method":{"type":"string","description":"The REST method to access the endpoint"}}}}}}}}},"fees":{"type":"object","properties":{"gas":{"description":"Origin chain gas fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayer":{"description":"Combination of the relayerGas and relayerService to give you the full relayer fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayerGas":{"description":"Destination chain gas fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayerService":{"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)","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"app":{"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","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"subsidized":{"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.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}}},"breakdown":{"type":"array","items":{"type":"object","example":{"value":"1000000000000000000","timeEstimate":10},"properties":{"value":{"type":"string","description":"Amount that will be swapped in the estimated time"},"timeEstimate":{"type":"number","description":"Estimated swap time in seconds"}}}},"balances":{"type":"object","properties":{"userBalance":{"type":"string","description":"The user's balance in the given currency on the origin chain"},"requiredToSolve":{"type":"string","description":"The minimum balance the user needs to have to swap"}}},"details":{"type":"object","description":"A summary of the swap and what the user should expect to happen given an input","properties":{"operation":{"type":"string","description":"The operation that will be performed, possible options are send, swap, wrap, unwrap, bridge"},"timeEstimate":{"type":"number","description":"Estimated swap time in seconds"},"userBalance":{"type":"string","description":"The user's balance in the given currency on the origin chain"},"sender":{"type":"string","description":"The address that deposited the funds"},"recipient":{"type":"string","description":"The address that will be receiving the swap output"},"currencyIn":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"currencyOut":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"totalImpact":{"type":"object","description":"The difference between the input and output values, including fees","properties":{"usd":{"type":"string"},"percent":{"type":"string"}}},"swapImpact":{"type":"object","description":"The impact of the swap, not factoring in fees","properties":{"usd":{"type":"string"},"percent":{"type":"string"}}},"rate":{"type":"string","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."},"slippageTolerance":{"type":"object","properties":{"origin":{"type":"object","description":"The slippage tolerance on the origin chain swap","properties":{"usd":{"type":"string"},"value":{"type":"string"},"percent":{"type":"string"}}},"destination":{"type":"object","description":"The slippage tolerance on the destination chain swap","properties":{"usd":{"type":"string"},"value":{"type":"string"},"percent":{"type":"string"}}}}}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}}}}},"/execute/swap/multi-input":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"string","description":"User address that will make the deposit on a given origin chain"},"recipient":{"type":"string"},"refundTo":{"type":"string"},"origins":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number"},"currency":{"type":"string"},"amount":{"type":"string","pattern":"^[0-9]+$"},"user":{"type":"string","description":"User address that will make the deposit on a given origin chain"}},"required":["chainId","currency","amount"]}},"destinationCurrency":{"type":"string"},"destinationChainId":{"type":"number"},"amount":{"type":"string","pattern":"^[0-9]+$"},"txs":{"type":"array","items":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"value":{"type":"string","pattern":"^[0-9]+$"},"data":{"type":"string","pattern":"^0x[a-fA-F0-9]*$"}}}},"txsGasLimit":{"type":"number"},"partial":{"type":"boolean"},"tradeType":{"type":"string","enum":["EXACT_INPUT","EXACT_OUTPUT"]},"referrer":{"type":"string"},"gasLimitForDepositSpecifiedTxs":{"type":"number"},"originGasOverhead":{"type":"number"},"slippageTolerance":{"type":"string","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"}},"required":["user","origins","destinationCurrency","destinationChainId","tradeType"]}}},"required":true},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"steps":{"type":"array","description":"An array of steps detailing what needs to be done to bridge, steps includes multiple items of the same kind (signature, transaction, etc)","example":[{"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"}}]}],"items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier tied to the step"},"action":{"type":"string","description":"A call to action for the step"},"description":{"type":"string","description":"A short description of the step and what it entails"},"kind":{"type":"string","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"},"requestId":{"type":"string","description":"A unique identifier for this step, tying all related transactions together"},"items":{"type":"array","description":"While uncommon it is possible for steps to contain multiple items of the same kind (transaction/signature) grouped together that can be executed simultaneously.","items":{"type":"object","properties":{"status":{"type":"string","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"},"data":{},"check":{"type":"object","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","properties":{"endpoint":{"type":"string","description":"The endpoint to confirm that the step item was successfully completed"},"method":{"type":"string","description":"The REST method to access the endpoint"}}}}}}}}},"fees":{"type":"object","properties":{"gas":{"description":"Origin chain gas fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayer":{"description":"Combination of the relayerGas and relayerService to give you the full relayer fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayerGas":{"description":"Destination chain gas fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayerService":{"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)","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"app":{"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","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"subsidized":{"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.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}}},"breakdown":{"type":"array","items":{"type":"object","example":{"value":"1000000000000000000","timeEstimate":10},"properties":{"value":{"type":"string","description":"Amount that will be swapped in the estimated time"},"timeEstimate":{"type":"number","description":"Estimated swap time in seconds"}}}},"balances":{"type":"object","properties":{"userBalance":{"type":"string","description":"The user's balance in the given currency on the origin chain"},"requiredToSolve":{"type":"string","description":"The minimum balance the user needs to have to swap"}}},"details":{"type":"object","description":"A summary of the swap and what the user should expect to happen given an input","properties":{"operation":{"type":"string","description":"The operation that will be performed, possible options are send, swap, wrap, unwrap, bridge"},"timeEstimate":{"type":"number","description":"Estimated swap time in seconds"},"userBalance":{"type":"string","description":"The user's balance in the given currency on the origin chain"},"sender":{"type":"string","description":"The address that deposited the funds"},"recipient":{"type":"string","description":"The address that will be receiving the swap output"},"currencyIn":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"currencyOut":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"totalImpact":{"type":"object","description":"The difference between the input and output values, including fees","properties":{"usd":{"type":"string"},"percent":{"type":"string"}}},"swapImpact":{"type":"object","description":"The impact of the swap, not factoring in fees","properties":{"usd":{"type":"string"},"percent":{"type":"string"}}},"rate":{"type":"string","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."},"slippageTolerance":{"type":"object","properties":{"origin":{"type":"object","description":"The slippage tolerance on the origin chain swap","properties":{"usd":{"type":"string"},"value":{"type":"string"},"percent":{"type":"string"}}},"destination":{"type":"object","description":"The slippage tolerance on the destination chain swap","properties":{"usd":{"type":"string"},"value":{"type":"string"},"percent":{"type":"string"}}}}}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}}}}},"/execute/permits":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"kind":{"type":"string","description":"The kind of signature. This value is returned in the quote API steps body field. e.g eip3009"},"requestId":{"type":"string","description":"The requestId of the quote this permit signature applies to. Returned in the quote API steps body field."},"api":{"type":"string","enum":["bridge","swap","user-swap"],"description":"The API value returned from the quote API steps body field."}},"required":["kind","requestId"],"type":"object"}}},"required":true},"parameters":[{"schema":{"type":"string"},"in":"query","name":"signature","required":true,"description":"The permit signature."}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"steps":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"action":{"type":"string"},"description":{"type":"string"},"kind":{"type":"string"},"items":{"type":"array","items":{"type":"object","properties":{"status":{"type":"string"},"data":{"type":"object","properties":{"to":{"type":"string"},"data":{"type":"string"},"value":{"type":"string"},"chainId":{"type":"number"}}},"check":{"type":"object","properties":{"endpoint":{"type":"string"},"method":{"type":"string"}}}}}}}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}}}}},"/quote":{"post":{"description":"This endpoint is deprecated. Use /quote/v2 instead.","requestBody":{"content":{"application/json":{"schema":{"properties":{"user":{"type":"string","description":"Address that is depositing funds on the origin chain and submitting transactions or signatures","default":"0x03508bb71268bba25ecacc8f620e01866650532c"},"recipient":{"type":"string","description":"Address that is receiving the funds on the destination chain, if not specified then this will default to the user address"},"originChainId":{"type":"number","default":8453},"destinationChainId":{"type":"number","default":10},"originCurrency":{"type":"string","default":"0x0000000000000000000000000000000000000000"},"destinationCurrency":{"type":"string","default":"0x0000000000000000000000000000000000000000"},"amount":{"type":"string","pattern":"^[0-9]+$","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)","default":"1000000000000000000"},"tradeType":{"type":"string","description":"Whether to use the amount as the output or the input for the basis of the swap","enum":["EXACT_INPUT","EXACT_OUTPUT","EXPECTED_OUTPUT"],"default":"EXACT_INPUT"},"txs":{"type":"array","items":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"value":{"type":"string"},"data":{"type":"string","pattern":"^0x[a-fA-F0-9]*$"},"originalTxValue":{"type":"string"}}}},"txsGasLimit":{"type":"number","description":"Total gas limit for the destination chain call transactions"},"authorizationList":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"nonce":{"type":"number"},"yParity":{"type":"number"},"r":{"type":"string"},"s":{"type":"string"}},"required":["chainId","address","nonce","yParity","r","s"]},"description":"Authorization list for EIP-7702 transactions to be executed on destination chain"},"additionalData":{"type":"object","description":"Additional data needed for specific routes","properties":{"userPublicKey":{"type":"string","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"}}},"referrer":{"type":"string"},"referrerAddress":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"refundTo":{"type":"string","description":"Address to send the refund to in the case of failure, if not specified then the recipient address or user address is used"},"refundType":{"type":"string","enum":["origin","destination"],"description":"Which chain to refund on in case of failure. Defaults to origin for normal requests. For open-ended deposit-address requests, refundTo without refundType implies origin; omitting refundTo means there is no automatic refund."},"refundOnOrigin":{"type":"boolean","description":"Always refund on the origin chain in case of any issues","deprecated":true},"topupGas":{"type":"boolean","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)"},"topupGasAmount":{"type":"string","description":"The destination gas topup amount in USD decimal format, e.g 100000 = $1. topupGas is required to be enabled. Defaults to 2000000 ($2)"},"enableTrueExactOutput":{"type":"boolean","default":false,"description":"Enabling will send any swap surplus when doing exact output operations to the solver EOA, otherwise it will be swept to the recipient"},"explicitDeposit":{"type":"boolean","default":true,"description":"Enable this to avoid direct transfers to the depository (only relevant for EVM and v2 protocol flow)"},"useExternalLiquidity":{"type":"boolean","description":"Enable this to use canonical+ bridging, trading speed for more liquidity"},"useFallbacks":{"type":"boolean","description":"Enable this for specific fallback routes"},"usePermit":{"type":"boolean","description":"Enable this to use permit (eip3009) when bridging, only works on supported currency such as usdc"},"permitExpiry":{"type":"number","description":"How long the permit remains valid, in seconds. Defaults to 10 minutes."},"useDepositAddress":{"type":"boolean","description":"Enable this to use a deposit address when bridging, in scenarios where calldata cannot be sent alongside the transaction. only works on native currency bridges. For new requests, EXACT_OUTPUT is only supported when strict is also enabled."},"strict":{"type":"boolean","description":"When used with useDepositAddress, enables a strict deposit address that is tied to a specific order. Underpayments fail and refund, while exact payments and overpayments fill. 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."},"slippageTolerance":{"type":"string","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"},"latePaymentSlippageTolerance":{"type":"string","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."},"appFees":{"type":"array","items":{"type":"object","properties":{"recipient":{"type":"string","description":"Address that will receive the app fee"},"fee":{"type":"string","pattern":"^-?[0-9]*\\.?[0-9]+$","description":"App fees to be charged for execution in basis points, e.g. 100 = 1%"}},"description":"App fees to be charged for execution"}},"gasLimitForDepositSpecifiedTxs":{"type":"number","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"},"forceSolverExecution":{"type":"boolean","description":"Force executing swap requests via the solver (by default, same-chain swap requests are self-executed)"},"subsidizeFees":{"type":"boolean","description":"If the sponsor should pay for the fees associated with the request. Includes gas topup amounts."},"sponsoredFeeComponents":{"type":"array","items":{"type":"string","enum":["execution","swap","relay","app"]},"minItems":1,"uniqueItems":true,"description":"The fee components to sponsor for swap execution kinds. Requires subsidizeFees=true. Defaults to all components when omitted."},"maxSubsidizationAmount":{"type":"string","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 buffered cap and the user pays any remainder."},"subsidizeRent":{"type":"boolean","description":"If the sponsor should pay for the solana rent associated with the request."},"includedSwapSources":{"type":"array","items":{"type":"string"},"description":"Swap sources to include for swap routing."},"excludedSwapSources":{"type":"array","items":{"type":"string"},"description":"Swap sources to exclude for swap routing."},"includedOriginSwapSources":{"type":"array","items":{"type":"string"},"description":"Swap sources to include for swap routing on origin."},"includedDestinationSwapSources":{"type":"array","items":{"type":"string"},"description":"Swap sources to include for swap routing on destination."},"originGasOverhead":{"type":"number","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"},"depositFeePayer":{"type":"string","description":"The payer to be set for deposit transactions on solana. This account must have enough for fees and rent."},"maxRouteLength":{"type":"number","description":"Maximum number of hops to use in solana swap routing. Can reduce transaction size."},"useSharedAccounts":{"type":"boolean","description":"Prevents certain ATA creation instructions in solana routing"},"includeComputeUnitLimit":{"type":"boolean","description":"Whether to include compute unit limit instruction for solana origin requests."},"overridePriceImpact":{"type":"boolean","description":"Whether to ignore price impact errors."},"disableOriginSwaps":{"type":"boolean","description":"Whether to disable origin swaps."},"fixedRate":{"type":"string","description":"The rate to charge for fixed spread quotes."}},"required":["user","originChainId","destinationChainId","originCurrency","destinationCurrency","amount","tradeType"],"type":"object"}}},"required":true},"deprecated":true,"x-hidden":true,"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"steps":{"type":"array","description":"An array of steps detailing what needs to be done to bridge, steps includes multiple items of the same kind (signature, transaction, etc)","example":[{"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"}}]}],"items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier tied to the step","enum":["deposit","approve","authorize","authorize1","authorize2","swap","send"]},"action":{"type":"string","description":"A call to action for the step"},"description":{"type":"string","description":"A short description of the step and what it entails"},"kind":{"type":"string","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"},"requestId":{"type":"string","description":"A unique identifier for this step, tying all related transactions together"},"depositAddress":{"type":"string","description":"The deposit address for the bridge request"},"items":{"type":"array","description":"While uncommon it is possible for steps to contain multiple items of the same kind (transaction/signature) grouped together that can be executed simultaneously.","items":{"type":"object","properties":{"status":{"type":"string","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"},"data":{},"check":{"type":"object","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","properties":{"endpoint":{"type":"string","description":"The endpoint to confirm that the step item was successfully completed"},"method":{"type":"string","description":"The REST method to access the endpoint"}}}}}}},"required":["id","action","description","kind","items"]}},"fees":{"type":"object","properties":{"gas":{"description":"Origin chain gas fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayer":{"description":"Combination of the relayerGas and relayerService to give you the full relayer fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayerGas":{"description":"Destination chain gas fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayerService":{"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)","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"app":{"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","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"subsidized":{"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.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}}},"feeSponsorship":{"type":"object","description":"Granular fee sponsorship details derived from the solver's internal sponsorship resolution.","properties":{"quoted":{"description":"The quote-time sponsorship expectation for the request.","type":"object","properties":{"selectedComponents":{"type":"array","description":"The normalized sponsorship buckets selected for this request.","items":{"type":"string","enum":["execution","swap","relay","app"]}},"maxSubsidizationAmount":{"type":"string","description":"The requested sponsorship cap in USD micro-units, when one was configured for the request."},"capHit":{"type":"boolean","description":"Whether the configured sponsorship cap limited the selected fee buckets for this phase."},"components":{"type":"object","description":"Per-bucket sponsorship details for the four sponsorable fee components.","properties":{"execution":{"description":"Execution fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"swap":{"description":"Swap fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"relay":{"description":"Relay protocol fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"app":{"description":"App fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]}},"required":["execution","swap","relay","app"]},"sponsoredTotal":{"description":"The total amount sponsored for this phase.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPaysTotal":{"description":"The total amount the user paid across the sponsorable fee buckets for this phase.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selectedComponents","capHit","components","sponsoredTotal","userPaysTotal"]},"actual":{"description":"The post-solve sponsorship outcome recorded for the request.","type":"object","properties":{"selectedComponents":{"type":"array","description":"The normalized sponsorship buckets selected for this request.","items":{"type":"string","enum":["execution","swap","relay","app"]}},"maxSubsidizationAmount":{"type":"string","description":"The requested sponsorship cap in USD micro-units, when one was configured for the request."},"capHit":{"type":"boolean","description":"Whether the configured sponsorship cap limited the selected fee buckets for this phase."},"components":{"type":"object","description":"Per-bucket sponsorship details for the four sponsorable fee components.","properties":{"execution":{"description":"Execution fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"swap":{"description":"Swap fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"relay":{"description":"Relay protocol fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"app":{"description":"App fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]}},"required":["execution","swap","relay","app"]},"sponsoredTotal":{"description":"The total amount sponsored for this phase.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPaysTotal":{"description":"The total amount the user paid across the sponsorable fee buckets for this phase.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsorPayment":{"type":"object","description":"How much the sponsor ultimately paid, denominated in the sponsor payment currency.","properties":{"amount":{"type":"string","description":"The sponsor payment amount."},"address":{"type":"string","description":"The sponsor payment currency address."},"chainId":{"type":"number","description":"The sponsor payment chain id."}},"required":["amount","address","chainId"]}},"required":["selectedComponents","capHit","components","sponsoredTotal","userPaysTotal"]}}},"details":{"type":"object","description":"A summary of the swap and what the user should expect to happen given an input","properties":{"operation":{"type":"string","description":"The operation that will be performed, possible options are send, swap, wrap, unwrap, bridge"},"sender":{"type":"string","description":"The address that deposited the funds"},"recipient":{"type":"string","description":"The address that will be receiving the swap output"},"currencyIn":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"currencyOut":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"refundCurrency":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"currencyGasTopup":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"totalImpact":{"type":"object","description":"The difference between the input and output values, including fees","properties":{"usd":{"type":"string"},"percent":{"type":"string"}}},"swapImpact":{"type":"object","description":"The impact of the swap, not factoring in fees","properties":{"usd":{"type":"string"},"percent":{"type":"string"}}},"expandedPriceImpact":{"type":"object","properties":{"swap":{"description":"Cost to execute swap or bridge depending on available liquidity. This value can be negative (representing network rewards for improving liquidity distribution)","type":"object","properties":{"usd":{"type":"string"}}},"execution":{"description":"Fees paid to cover transaction execution costs","type":"object","properties":{"usd":{"type":"string"}}},"relay":{"description":"Fees paid to the protocol","type":"object","properties":{"usd":{"type":"string"}}},"app":{"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","type":"object","properties":{"usd":{"type":"string"}}},"sponsored":{"description":"Fees paid by a sponsor for this request","type":"object","properties":{"usd":{"type":"string"}}}}},"rate":{"type":"string","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."},"slippageTolerance":{"type":"object","properties":{"origin":{"type":"object","description":"The slippage tolerance on the origin chain swap","properties":{"usd":{"type":"string"},"value":{"type":"string"},"percent":{"type":"string"}}},"destination":{"type":"object","description":"The slippage tolerance on the destination chain swap","properties":{"usd":{"type":"string"},"value":{"type":"string"},"percent":{"type":"string"}}}}},"timeEstimate":{"type":"number","description":"Estimated swap time in seconds"},"userBalance":{"type":"string","description":"The user's balance in the given currency on the origin chain"},"fallbackType":{"type":"string","description":"The type of fallback route the request uses, if any"},"isFixedRate":{"type":"boolean","description":"Whether the rate for the quote is fixed or dynamic (swap on origin/destination)"},"fixedRateFee":{"type":"object","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.","properties":{"usd":{"type":"string"}}},"route":{"type":"object","properties":{"origin":{"type":"object","description":"The route taken for the origin chain swap","properties":{"inputCurrency":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"outputCurrency":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"router":{"type":"string"},"includedSwapSources":{"type":"array","items":{"type":"string"}}}},"destination":{"type":"object","description":"The route taken for the origin chain swap","properties":{"inputCurrency":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"outputCurrency":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"router":{"type":"string"},"includedSwapSources":{"type":"array","items":{"type":"string"}}}}}}}},"protocol":{"type":"object","description":"Protocol information for the quote","properties":{"v2":{"type":"object","properties":{"orderId":{"type":"string","description":"The underlying protocol order id"},"orderData":{"description":"The underlying protocol order data"},"paymentDetails":{"type":"object","description":"The details for the depository payment","properties":{"chainId":{"type":"string","description":"The protocol chain id for the payment"},"depository":{"type":"string","description":"The depository address"},"currency":{"type":"string","description":"The currency of the payment"},"amount":{"type":"string","description":"The amount of the payment"}}}}}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"errorCode":{"type":"string"},"errorData":{"type":"string"},"requestId":{"type":"string"},"approxSimulatedBlock":{"type":"number"},"failedCallData":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"data":{"type":"string"},"value":{"type":"string"}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"errorCode":{"type":"string"}}}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"errorCode":{"type":"string"},"requestId":{"type":"string"}}}}}}}}},"/quote/v2":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"user":{"type":"string","description":"Address that is depositing funds on the origin chain and submitting transactions or signatures","default":"0x03508bb71268bba25ecacc8f620e01866650532c"},"recipient":{"type":"string","description":"Address that is receiving the funds on the destination chain, if not specified then this will default to the user address"},"originChainId":{"type":"number","default":8453},"destinationChainId":{"type":"number","default":10},"originCurrency":{"type":"string","default":"0x0000000000000000000000000000000000000000"},"destinationCurrency":{"type":"string","default":"0x0000000000000000000000000000000000000000"},"amount":{"type":"string","pattern":"^[0-9]+$","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)","default":"1000000000000000000"},"tradeType":{"type":"string","description":"Whether to use the amount as the output or the input for the basis of the swap","enum":["EXACT_INPUT","EXACT_OUTPUT","EXPECTED_OUTPUT"],"default":"EXACT_INPUT"},"txs":{"type":"array","items":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"value":{"type":"string"},"data":{"type":"string","pattern":"^0x[a-fA-F0-9]*$"},"originalTxValue":{"type":"string"}}}},"txsGasLimit":{"type":"number","description":"Total gas limit for the destination chain call transactions"},"authorizationList":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"nonce":{"type":"number"},"yParity":{"type":"number"},"r":{"type":"string"},"s":{"type":"string"}},"required":["chainId","address","nonce","yParity","r","s"]},"description":"Authorization list for EIP-7702 transactions to be executed on destination chain"},"additionalData":{"type":"object","description":"Additional data needed for specific routes","properties":{"userPublicKey":{"type":"string","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"}}},"referrer":{"type":"string"},"referrerAddress":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"refundTo":{"type":"string","description":"Address to send the refund to in the case of failure, if not specified then the recipient address or user address is used"},"refundType":{"type":"string","enum":["origin","destination"],"description":"Which chain to refund on in case of failure. Defaults to origin for normal requests. For open-ended deposit-address requests, refundTo without refundType implies origin; omitting refundTo means there is no automatic refund."},"refundOnOrigin":{"type":"boolean","description":"Always refund on the origin chain in case of any issues","deprecated":true},"topupGas":{"type":"boolean","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)"},"topupGasAmount":{"type":"string","description":"The destination gas topup amount in USD decimal format, e.g 100000 = $1. topupGas is required to be enabled. Defaults to 2000000 ($2)"},"enableTrueExactOutput":{"type":"boolean","default":false,"description":"Enabling will send any swap surplus when doing exact output operations to the solver EOA, otherwise it will be swept to the recipient"},"explicitDeposit":{"type":"boolean","default":true,"description":"Enable this to avoid direct transfers to the depository (only relevant for EVM and v2 protocol flow)"},"useExternalLiquidity":{"type":"boolean","description":"Enable this to use canonical+ bridging, trading speed for more liquidity"},"useFallbacks":{"type":"boolean","description":"Enable this for specific fallback routes"},"usePermit":{"type":"boolean","description":"Enable this to use permit (eip3009) when bridging, only works on supported currency such as usdc"},"permitExpiry":{"type":"number","description":"How long the permit remains valid, in seconds. Defaults to 10 minutes."},"useDepositAddress":{"type":"boolean","description":"Enable this to use a deposit address when bridging, in scenarios where calldata cannot be sent alongside the transaction. only works on native currency bridges. For new requests, EXACT_OUTPUT is only supported when strict is also enabled."},"strict":{"type":"boolean","description":"When used with useDepositAddress, enables a strict deposit address that is tied to a specific order. Underpayments fail and refund, while exact payments and overpayments fill. 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."},"slippageTolerance":{"type":"string","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"},"latePaymentSlippageTolerance":{"type":"string","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."},"appFees":{"type":"array","items":{"type":"object","properties":{"recipient":{"type":"string","description":"Address that will receive the app fee"},"fee":{"type":"string","pattern":"^-?[0-9]*\\.?[0-9]+$","description":"App fees to be charged for execution in basis points, e.g. 100 = 1%"}},"description":"App fees to be charged for execution"}},"gasLimitForDepositSpecifiedTxs":{"type":"number","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"},"forceSolverExecution":{"type":"boolean","description":"Force executing swap requests via the solver (by default, same-chain swap requests are self-executed)"},"subsidizeFees":{"type":"boolean","description":"If the sponsor should pay for the fees associated with the request. Includes gas topup amounts."},"sponsoredFeeComponents":{"type":"array","items":{"type":"string","enum":["execution","swap","relay","app"]},"minItems":1,"uniqueItems":true,"description":"The fee components to sponsor for swap execution kinds. Requires subsidizeFees=true. Defaults to all components when omitted."},"maxSubsidizationAmount":{"type":"string","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 buffered cap and the user pays any remainder."},"subsidizeRent":{"type":"boolean","description":"If the sponsor should pay for the solana rent associated with the request."},"includedSwapSources":{"type":"array","items":{"type":"string"},"description":"Swap sources to include for swap routing."},"excludedSwapSources":{"type":"array","items":{"type":"string"},"description":"Swap sources to exclude for swap routing."},"includedOriginSwapSources":{"type":"array","items":{"type":"string"},"description":"Swap sources to include for swap routing on origin."},"includedDestinationSwapSources":{"type":"array","items":{"type":"string"},"description":"Swap sources to include for swap routing on destination."},"originGasOverhead":{"type":"number","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"},"depositFeePayer":{"type":"string","description":"The payer to be set for deposit transactions on solana. This account must have enough for fees and rent."},"maxRouteLength":{"type":"number","description":"Maximum number of hops to use in solana swap routing. Can reduce transaction size."},"useSharedAccounts":{"type":"boolean","description":"Prevents certain ATA creation instructions in solana routing"},"includeComputeUnitLimit":{"type":"boolean","description":"Whether to include compute unit limit instruction for solana origin requests."},"overridePriceImpact":{"type":"boolean","description":"Whether to ignore price impact errors."},"disableOriginSwaps":{"type":"boolean","description":"Whether to disable origin swaps."},"fixedRate":{"type":"string","description":"The rate to charge for fixed spread quotes."}},"required":["user","originChainId","destinationChainId","originCurrency","destinationCurrency","amount","tradeType"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"steps":{"type":"array","description":"An array of steps detailing what needs to be done to bridge, steps includes multiple items of the same kind (signature, transaction, etc)","example":[{"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"}}]}],"items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier tied to the step","enum":["deposit","approve","authorize","authorize1","authorize2","swap","send"]},"action":{"type":"string","description":"A call to action for the step"},"description":{"type":"string","description":"A short description of the step and what it entails"},"kind":{"type":"string","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"},"requestId":{"type":"string","description":"A unique identifier for this step, tying all related transactions together"},"depositAddress":{"type":"string","description":"The deposit address for the bridge request"},"items":{"type":"array","description":"While uncommon it is possible for steps to contain multiple items of the same kind (transaction/signature) grouped together that can be executed simultaneously.","items":{"type":"object","properties":{"status":{"type":"string","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"},"data":{},"check":{"type":"object","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","properties":{"endpoint":{"type":"string","description":"The endpoint to confirm that the step item was successfully completed"},"method":{"type":"string","description":"The REST method to access the endpoint"}}}}}}},"required":["id","action","description","kind","items"]}},"fees":{"type":"object","properties":{"gas":{"description":"Origin chain gas fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayer":{"description":"Combination of the relayerGas and relayerService to give you the full relayer fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayerGas":{"description":"Destination chain gas fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayerService":{"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)","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"app":{"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","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"subsidized":{"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.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}}},"feeSponsorship":{"type":"object","description":"Granular fee sponsorship details derived from the solver's internal sponsorship resolution.","properties":{"quoted":{"description":"The quote-time sponsorship expectation for the request.","type":"object","properties":{"selectedComponents":{"type":"array","description":"The normalized sponsorship buckets selected for this request.","items":{"type":"string","enum":["execution","swap","relay","app"]}},"maxSubsidizationAmount":{"type":"string","description":"The requested sponsorship cap in USD micro-units, when one was configured for the request."},"capHit":{"type":"boolean","description":"Whether the configured sponsorship cap limited the selected fee buckets for this phase."},"components":{"type":"object","description":"Per-bucket sponsorship details for the four sponsorable fee components.","properties":{"execution":{"description":"Execution fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"swap":{"description":"Swap fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"relay":{"description":"Relay protocol fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"app":{"description":"App fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]}},"required":["execution","swap","relay","app"]},"sponsoredTotal":{"description":"The total amount sponsored for this phase.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPaysTotal":{"description":"The total amount the user paid across the sponsorable fee buckets for this phase.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selectedComponents","capHit","components","sponsoredTotal","userPaysTotal"]},"actual":{"description":"The post-solve sponsorship outcome recorded for the request.","type":"object","properties":{"selectedComponents":{"type":"array","description":"The normalized sponsorship buckets selected for this request.","items":{"type":"string","enum":["execution","swap","relay","app"]}},"maxSubsidizationAmount":{"type":"string","description":"The requested sponsorship cap in USD micro-units, when one was configured for the request."},"capHit":{"type":"boolean","description":"Whether the configured sponsorship cap limited the selected fee buckets for this phase."},"components":{"type":"object","description":"Per-bucket sponsorship details for the four sponsorable fee components.","properties":{"execution":{"description":"Execution fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"swap":{"description":"Swap fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"relay":{"description":"Relay protocol fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"app":{"description":"App fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]}},"required":["execution","swap","relay","app"]},"sponsoredTotal":{"description":"The total amount sponsored for this phase.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPaysTotal":{"description":"The total amount the user paid across the sponsorable fee buckets for this phase.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsorPayment":{"type":"object","description":"How much the sponsor ultimately paid, denominated in the sponsor payment currency.","properties":{"amount":{"type":"string","description":"The sponsor payment amount."},"address":{"type":"string","description":"The sponsor payment currency address."},"chainId":{"type":"number","description":"The sponsor payment chain id."}},"required":["amount","address","chainId"]}},"required":["selectedComponents","capHit","components","sponsoredTotal","userPaysTotal"]}}},"details":{"type":"object","description":"A summary of the swap and what the user should expect to happen given an input","properties":{"operation":{"type":"string","description":"The operation that will be performed, possible options are send, swap, wrap, unwrap, bridge"},"sender":{"type":"string","description":"The address that deposited the funds"},"recipient":{"type":"string","description":"The address that will be receiving the swap output"},"currencyIn":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"currencyOut":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"refundCurrency":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"currencyGasTopup":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"totalImpact":{"type":"object","description":"The difference between the input and output values, including fees","properties":{"usd":{"type":"string"},"percent":{"type":"string"}}},"swapImpact":{"type":"object","description":"The impact of the swap, not factoring in fees","properties":{"usd":{"type":"string"},"percent":{"type":"string"}}},"expandedPriceImpact":{"type":"object","properties":{"swap":{"description":"Cost to execute swap or bridge depending on available liquidity. This value can be negative (representing network rewards for improving liquidity distribution)","type":"object","properties":{"usd":{"type":"string"}}},"execution":{"description":"Fees paid to cover transaction execution costs","type":"object","properties":{"usd":{"type":"string"}}},"relay":{"description":"Fees paid to the protocol","type":"object","properties":{"usd":{"type":"string"}}},"app":{"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","type":"object","properties":{"usd":{"type":"string"}}},"sponsored":{"description":"Fees paid by a sponsor for this request","type":"object","properties":{"usd":{"type":"string"}}}}},"rate":{"type":"string","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."},"slippageTolerance":{"type":"object","properties":{"origin":{"type":"object","description":"The slippage tolerance on the origin chain swap","properties":{"usd":{"type":"string"},"value":{"type":"string"},"percent":{"type":"string"}}},"destination":{"type":"object","description":"The slippage tolerance on the destination chain swap","properties":{"usd":{"type":"string"},"value":{"type":"string"},"percent":{"type":"string"}}}}},"timeEstimate":{"type":"number","description":"Estimated swap time in seconds"},"userBalance":{"type":"string","description":"The user's balance in the given currency on the origin chain"},"fallbackType":{"type":"string","description":"The type of fallback route the request uses, if any"},"isFixedRate":{"type":"boolean","description":"Whether the rate for the quote is fixed or dynamic (swap on origin/destination)"},"fixedRateFee":{"type":"object","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.","properties":{"usd":{"type":"string"}}},"route":{"type":"object","properties":{"origin":{"type":"object","description":"The route taken for the origin chain swap","properties":{"inputCurrency":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"outputCurrency":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"router":{"type":"string"},"includedSwapSources":{"type":"array","items":{"type":"string"}}}},"destination":{"type":"object","description":"The route taken for the origin chain swap","properties":{"inputCurrency":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"outputCurrency":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"router":{"type":"string"},"includedSwapSources":{"type":"array","items":{"type":"string"}}}}}}}},"protocol":{"type":"object","description":"Protocol information for the quote","properties":{"v2":{"type":"object","properties":{"orderId":{"type":"string","description":"The underlying protocol order id"},"orderData":{"description":"The underlying protocol order data"},"paymentDetails":{"type":"object","description":"The details for the depository payment","properties":{"chainId":{"type":"string","description":"The protocol chain id for the payment"},"depository":{"type":"string","description":"The depository address"},"currency":{"type":"string","description":"The currency of the payment"},"amount":{"type":"string","description":"The amount of the payment"}}}}}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"errorCode":{"type":"string"},"errorData":{"type":"string"},"requestId":{"type":"string"},"approxSimulatedBlock":{"type":"number"},"failedCallData":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"data":{"type":"string"},"value":{"type":"string"}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"errorCode":{"type":"string"}}}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"errorCode":{"type":"string"},"requestId":{"type":"string"}}}}}}}}},"/price":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"user":{"type":"string","description":"Address that is depositing funds on the origin chain and submitting transactions or signatures"},"recipient":{"type":"string","description":"Address that is receiving the funds on the destination chain, if not specified then this will default to the user address"},"originChainId":{"type":"number"},"destinationChainId":{"type":"number"},"originCurrency":{"type":"string"},"destinationCurrency":{"type":"string"},"amount":{"type":"string","pattern":"^[0-9]+$","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)"},"tradeType":{"type":"string","description":"Whether to use the amount as the output or the input for the basis of the swap","enum":["EXACT_INPUT","EXACT_OUTPUT","EXPECTED_OUTPUT"]},"txs":{"type":"array","items":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"value":{"type":"string"},"data":{"type":"string","pattern":"^0x[a-fA-F0-9]*$"}}}},"referrer":{"type":"string"},"refundTo":{"type":"string","description":"Address to send the refund to in the case of failure, if not specified then the recipient address or user address is used"},"refundOnOrigin":{"type":"boolean","description":"Always refund on the origin chain in case of any issues","deprecated":true},"useExternalLiquidity":{"type":"boolean","description":"Enable this to use canonical+ bridging, trading speed for more liquidity"},"useFallbacks":{"type":"boolean","description":"Enable this for specific fallback routes"},"usePermit":{"type":"boolean","description":"Enable this to use permit (eip3009) when bridging, only works on supported currency such as usdc"},"useDepositAddress":{"type":"boolean","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."},"slippageTolerance":{"type":"string","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"},"appFees":{"type":"array","items":{"type":"object","properties":{"recipient":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Address that will receive the app fee"},"fee":{"type":"string","pattern":"^[0-9]+$","description":"App fees to be charged for execution in basis points, e.g. 100 = 1%"}},"description":"App fees to be charged for execution"}}},"required":["user","originChainId","destinationChainId","originCurrency","destinationCurrency","amount","tradeType"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"fees":{"type":"object","properties":{"gas":{"description":"Origin chain gas fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayer":{"description":"Combination of the relayerGas and relayerService to give you the full relayer fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayerGas":{"description":"Destination chain gas fee","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"relayerService":{"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)","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"app":{"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","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"subsidized":{"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.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}}},"details":{"type":"object","description":"A summary of the swap and what the user should expect to happen given an input","properties":{"operation":{"type":"string","description":"The operation that will be performed, possible options are send, swap, wrap, unwrap, bridge"},"sender":{"type":"string","description":"The address that deposited the funds"},"recipient":{"type":"string","description":"The address that will be receiving the swap output"},"currencyIn":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"currencyOut":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"totalImpact":{"type":"object","description":"The difference between the input and output values, including fees","properties":{"usd":{"type":"string"},"percent":{"type":"string"}}},"swapImpact":{"type":"object","description":"The impact of the swap, not factoring in fees","properties":{"usd":{"type":"string"},"percent":{"type":"string"}}},"rate":{"type":"string","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."},"slippageTolerance":{"type":"object","properties":{"origin":{"type":"object","description":"The slippage tolerance on the origin chain swap","properties":{"usd":{"type":"string"},"value":{"type":"string"},"percent":{"type":"string"}}},"destination":{"type":"object","description":"The slippage tolerance on the destination chain swap","properties":{"usd":{"type":"string"},"value":{"type":"string"},"percent":{"type":"string"}}}}},"timeEstimate":{"type":"number","description":"Estimated swap time in seconds"},"userBalance":{"type":"string","description":"The user's balance in the given currency on the origin chain"}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"errorCode":{"type":"string"},"errorData":{"type":"string"}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"errorCode":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"errorCode":{"type":"string"}}}}}}}}},"/execute":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"executionKind":{"type":"string","description":"The kind of gasless transaction to execute. Currently supported: rawCalls","enum":["rawCalls"]},"data":{"type":"object","description":"Raw call parameters for the gasless transaction","properties":{"chainId":{"type":"integer","description":"Chain ID of the EVM network"},"to":{"type":"string","description":"Address of the contract to call"},"data":{"type":"string","description":"Encoded function call data"},"value":{"type":"string","description":"ETH value to send with the call (in wei)"},"authorizationList":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"nonce":{"type":"number"},"yParity":{"type":"number"},"r":{"type":"string"},"s":{"type":"string"}},"required":["chainId","address","nonce","yParity","r","s"]},"description":"Authorization list for EIP-7702 transactions to be executed on destination chain"}},"required":["chainId","to","data","value"]},"executionOptions":{"type":"object","description":"Options related to gas fee sponsorship, app referrer and destination calls","properties":{"referrer":{"type":"string","description":"The referrer of the app which is executing the gasless transaction"},"subsidizeFees":{"type":"boolean","description":"If the app should pay for the fees associated with the request"},"destinationChainExecutionData":{"type":"object","description":"Destination execution data for the gasless transaction","properties":{"calls":{"type":"array","minItems":1,"description":"Calls to be executed on the destination chain","items":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"value":{"type":"string"},"data":{"type":"string","pattern":"^0x[a-fA-F0-9]*$"}}}},"authorizationList":{"type":"array","description":"Authorization list for EIP-7702 transactions to be executed on destination chain","items":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"nonce":{"type":"number"},"yParity":{"type":"number"},"r":{"type":"string"},"s":{"type":"string"}},"required":["chainId","address","nonce","yParity","r","s"]}}},"required":["calls"]}},"required":["referrer","subsidizeFees"]},"requestId":{"type":"string","description":"The request ID of the gasless transaction to execute"}},"required":["executionKind","data","executionOptions"]}}},"required":true},"parameters":[{"schema":{"type":"string"},"in":"header","name":"x-api-key","required":true,"description":"Required API key for authentication. Contact the team for getting an API Key"}],"responses":{"200":{"description":"Transaction successfully queued for execution","content":{"application/json":{"schema":{"description":"Transaction successfully queued for execution","type":"object","properties":{"message":{"type":"string","example":"Transaction submitted"},"requestId":{"type":"string","example":"0xabc123..."}}}}}},"400":{"description":"Bad Request - Invalid input or simulation failure","content":{"application/json":{"schema":{"description":"Bad Request - Invalid input or simulation failure","type":"object","oneOf":[{"description":"Validation Error","type":"object","properties":{"error":{"type":"string","example":"to is required"}}},{"description":"Validation Error","type":"object","properties":{"error":{"type":"string","example":"data is required"}}},{"description":"Validation Error","type":"object","properties":{"error":{"type":"string","example":"value is required"}}},{"description":"Validation Error","type":"object","properties":{"error":{"type":"string","example":"chainId is required"}}},{"description":"Validation Error","type":"object","properties":{"error":{"type":"string","example":"authorizationList cannot be empty"}}},{"description":"Simulation Error","type":"object","properties":{"error":{"type":"string","example":"SimulationError"},"message":{"type":"string","example":"execution reverted: invalid opcode"}}}]}}}},"401":{"description":"Unauthorized - Missing or invalid API key or referrer","content":{"application/json":{"schema":{"description":"Unauthorized - Missing or invalid API key or referrer","type":"object","properties":{"error":{"type":"string","example":"Unauthorized"}}}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"description":"Internal Server Error","type":"object","properties":{"error":{"type":"string","example":"Internal server error"}}}}}}}}},"/fast-fill":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"requestId":{"type":"string","description":"The request ID of the request that needs to be fast filled"},"solverInputCurrencyAmount":{"type":"string","description":"The input currency amount that the solver receives on origin"},"maxFillAmountUsd":{"type":"number","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."}},"required":["requestId"]}}},"required":true},"parameters":[{"schema":{"type":"string"},"in":"header","name":"x-api-key","required":true,"description":"Required API key for authentication. Contact the team for getting an API Key"}],"responses":{"200":{"description":"Request was successful. It was either queued or found to be already executed.","content":{"application/json":{"schema":{"description":"Request was successful. It was either queued or found to be already executed.","type":"object","properties":{"message":{"type":"string","example":"Request successfully queued for fast fill."}}}}}},"400":{"description":"Bad Request - The request body contains invalid data.","content":{"application/json":{"schema":{"description":"Bad Request - The request body contains invalid data.","type":"object","properties":{"message":{"type":"string","example":"Currency is required and could not be determined."}}}}}},"401":{"description":"Unauthorized - Missing or invalid API key.","content":{"application/json":{"schema":{"description":"Unauthorized - Missing or invalid API key.","type":"object","properties":{"message":{"type":"string","example":"Unauthorized: Check API Key"}}}}}},"403":{"description":"Forbidden - No sponsoring wallet with app balance configured.","content":{"application/json":{"schema":{"description":"Forbidden - No sponsoring wallet with app balance configured.","type":"object","properties":{"message":{"type":"string","example":"Forbidden: Fast fill requires a sponsoring wallet with app balance."}}}}}},"404":{"description":"The requested requestId could not be found.","content":{"application/json":{"schema":{"description":"The requested requestId could not be found.","type":"object","properties":{"message":{"type":"string","example":"Request not found"}}}}}},"409":{"description":"Conflict - This request is already being processed.","content":{"application/json":{"schema":{"description":"Conflict - This request is already being processed.","type":"object","properties":{"message":{"type":"string","example":"Conflict: This request is already being processed."}}}}}},"500":{"description":"Internal Server Error.","content":{"application/json":{"schema":{"description":"Internal Server Error.","type":"object","properties":{"message":{"type":"string","example":"An internal server error occurred."}}}}}}}}},"/lives":{"get":{"parameters":[{"schema":{"type":"string","nullable":true},"in":"query","name":"withReport","required":false},{"schema":{"type":"string","nullable":true},"in":"query","name":"skipPostgres","required":false},{"schema":{"type":"string","nullable":true},"in":"query","name":"skipRedis","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"report":{"type":"object","properties":{"version":{"type":"string"}},"additionalProperties":{"type":"object","properties":{"status":{"type":"string"},"reason":{"type":"string","nullable":true}}}}}}}}},"503":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"report":{"type":"object","properties":{"version":{"type":"string"}},"additionalProperties":{"type":"object","properties":{"status":{"type":"string"},"reason":{"type":"string","nullable":true}}}}}}}}}}}},"/intents/status":{"get":{"parameters":[{"schema":{"type":"string"},"in":"query","name":"requestId","required":false,"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."}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","example":{"status":"success","inTxHashes":["0xe53021eaa63d100b08338197d26953e2219bcbad828267dd936c549ff643aad7"],"txHashes":["0x9da7bc54dfe6229d6980fd62250d472f23dfe0f41a1cdc870c81a08b3445f254"],"time":1713290386145,"originChainId":7777777,"destinationChainId":8453},"properties":{"status":{"type":"string","enum":["failure","fallback","pending","received","success"],"description":"Note that fallback is returned in the case of a refund"},"details":{"type":"string"},"inTxHashes":{"type":"array","description":"Incoming transaction hashes","items":{"type":"string"}},"txHashes":{"type":"array","description":"Outgoing transaction hashes","items":{"type":"string"}},"time":{"type":"number","description":"The last timestamp the data was updated"},"originChainId":{"type":"number"},"destinationChainId":{"type":"number"}}}}}}}}},"/intents/status/v2":{"get":{"parameters":[{"schema":{"type":"string"},"in":"query","name":"requestId","required":false,"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."}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","example":{"status":"success","inTxHashes":["0xe53021eaa63d100b08338197d26953e2219bcbad828267dd936c549ff643aad7"],"txHashes":["0x9da7bc54dfe6229d6980fd62250d472f23dfe0f41a1cdc870c81a08b3445f254"],"time":1713290386145,"originChainId":7777777,"destinationChainId":8453},"properties":{"status":{"type":"string","enum":["refund","waiting","depositing","failure","pending","success"]},"details":{"type":"string"},"inTxHashes":{"type":"array","description":"Incoming transaction hashes","items":{"type":"string"}},"txHashes":{"type":"array","description":"Outgoing transaction hashes","items":{"type":"string"}},"time":{"type":"number","description":"The last timestamp the data was updated"},"originChainId":{"type":"number"},"destinationChainId":{"type":"number"},"quoteCreatedAt":{"type":"number","description":"The timestamp when the quote request was created"}}}}}}}}},"/intents/status/v3":{"get":{"parameters":[{"schema":{"type":"string"},"in":"query","name":"requestId","required":false,"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."}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","example":{"status":"success","inTxHashes":["0xe53021eaa63d100b08338197d26953e2219bcbad828267dd936c549ff643aad7"],"txHashes":["0x9da7bc54dfe6229d6980fd62250d472f23dfe0f41a1cdc870c81a08b3445f254"],"updatedAt":1713290386145,"originChainId":7777777,"destinationChainId":8453},"properties":{"status":{"type":"string","enum":["refund","waiting","depositing","failure","pending","submitted","success"]},"details":{"type":"string"},"inTxHashes":{"type":"array","description":"Incoming transaction hashes","items":{"type":"string"}},"txHashes":{"type":"array","description":"Outgoing transaction hashes","items":{"type":"string"}},"updatedAt":{"type":"number","description":"The last timestamp the data was updated"},"originChainId":{"type":"number"},"destinationChainId":{"type":"number"},"quoteCreatedAt":{"type":"number","description":"The timestamp when the quote request was created"}}}}}}}}},"/requests/{requestId}/signature":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"requestId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"requestData":{"type":"object","properties":{"originChainId":{"type":"number"},"originUser":{"type":"string"},"originCurrency":{"type":"string"},"originAmount":{"type":"string"},"originTransferDestination":{"type":"string"},"destinationChainId":{"type":"number"},"destinationUser":{"type":"string"}}},"signature":{"type":"string"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"}}}}}}}}},"/requests/{requestId}/signature/v2":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"requestId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"requestData":{"type":"object","properties":{"originChainId":{"type":"number"},"originUser":{"type":"string"},"originCurrency":{"type":"string"},"destinationChainId":{"type":"number"},"destinationUser":{"type":"string"},"destinationCurrency":{"type":"string"}}},"signature":{"type":"string"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"}}}}}}}}},"/requests":{"get":{"parameters":[{"schema":{"type":"string","default":"20"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"continuation","required":false},{"schema":{"type":"string"},"in":"query","name":"user","required":false},{"schema":{"type":"string"},"in":"query","name":"hash","required":false},{"schema":{"type":"number"},"in":"query","name":"originChainId","required":false},{"schema":{"type":"number"},"in":"query","name":"destinationChainId","required":false},{"schema":{"type":"string"},"in":"query","name":"privateChainsToInclude","required":false},{"schema":{"type":"string"},"in":"query","name":"id","required":false},{"schema":{"type":"number"},"in":"query","name":"startTimestamp","required":false},{"schema":{"type":"number"},"in":"query","name":"endTimestamp","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"requests":{"type":"array","example":{"id":"0xddd6c1a0340e940b7be4f5a4be076df8b7ec7de7b18f9ec6efe4bfffd2f21cf6","status":"success","user":"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea","recipient":"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea","data":{"fees":{"gas":"2622672522398","fixed":"10000000000000","price":"39000000000000"},"feesUsd":{"gas":"9057","fixed":"34534","price":"134684"},"inTxs":[{"fee":"423218878900","data":{"to":"0xf70da97812cb96acdf810712aa562db8dfa3dbef","data":"0x5869d8","from":"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea","value":"2651622672522398"},"hash":"0xe53021eaa63d100b08338197d26953e2219bcbad828267dd936c549ff643aad7","type":"onchain","chainId":7777777,"timestamp":1713290377}],"currency":"eth","price":"2600000000000000","usesExternalLiquidity":false,"outTxs":[{"fee":"1837343366480","data":{"to":"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea","data":"0x5869d8","from":"0xf70da97812cb96acdf810712aa562db8dfa3dbef","value":"2600000000000000"},"hash":"0x9da7bc54dfe6229d6980fd62250d472f23dfe0f41a1cdc870c81a08b3445f254","type":"onchain","chainId":8453,"timestamp":1713290383}]},"createdAt":"2024-04-16T17:59:39.702Z","updatedAt":"2024-04-16T17:59:46.145Z"},"items":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["failure","fallback","depositing","pending","received","success"],"description":"Note that fallback is returned in the case of a refund"},"user":{"type":"string"},"recipient":{"type":"string"},"data":{"type":"object","properties":{"fees":{"type":"object","properties":{"gas":{"type":"string","description":"Estimated gas cost required for execution, in wei"},"fixed":{"type":"string","description":"The fixed fee which is always added to execution, in wei"},"price":{"type":"string","description":"The dynamic fee which is a result of the chain and the amount, in wei"}}},"feesUsd":{"type":"object","properties":{"gas":{"type":"string"},"fixed":{"type":"string"},"price":{"type":"string"}}},"inTxs":{"type":"array","items":{"type":"object","properties":{"fee":{"type":"string","description":"Total fees in wei"},"data":{},"stateChanges":{},"hash":{"type":"string"},"type":{"type":"string","description":"The type of transaction, always set to onchain"},"chainId":{"type":"number"},"timestamp":{"type":"number"}}}},"currency":{"type":"string"},"feeCurrency":{"type":"string"},"appFees":{"type":"array","items":{"type":"object","properties":{"recipient":{"type":"string"},"amount":{"type":"string"}}}},"metadata":{"type":"object","properties":{"sender":{"type":"string"},"recipient":{"type":"string"},"currencyIn":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"currencyOut":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"rate":{"type":"string"}}},"price":{"type":"string"},"usesExternalLiquidity":{"type":"boolean"},"timeEstimate":{"type":"number"},"outTxs":{"type":"array","items":{"type":"object","properties":{"fee":{"type":"string","description":"Total fees in wei"},"data":{},"stateChanges":{},"hash":{"type":"string"},"type":{"type":"string","description":"The type of transaction, always set to onchain"},"chainId":{"type":"number"},"timestamp":{"type":"number"}}}}}},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}}}},"continuation":{"type":"string"}}}}}}}}},"/requests/v2":{"get":{"parameters":[{"schema":{"type":"number","default":20,"maximum":50,"minimum":1},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"continuation","required":false},{"schema":{"type":"string"},"in":"query","name":"user","required":false},{"schema":{"type":"string"},"in":"query","name":"hash","required":false},{"schema":{"type":"number"},"in":"query","name":"originChainId","required":false},{"schema":{"type":"number"},"in":"query","name":"destinationChainId","required":false},{"schema":{"type":"string"},"in":"query","name":"privateChainsToInclude","required":false},{"schema":{"type":"string"},"in":"query","name":"id","required":false},{"schema":{"type":"string"},"in":"query","name":"orderId","required":false},{"schema":{"type":"boolean"},"in":"query","name":"includeOrderData","required":false},{"schema":{"type":"number"},"in":"query","name":"startTimestamp","required":false},{"schema":{"type":"number"},"in":"query","name":"endTimestamp","required":false},{"schema":{"type":"number"},"in":"query","name":"startBlock","required":false},{"schema":{"type":"number"},"in":"query","name":"endBlock","required":false},{"schema":{"type":"string"},"in":"query","name":"chainId","required":false,"description":"Get all requests for a single chain in either direction. Setting originChainId and/or destinationChainId will override this parameter."},{"schema":{"type":"string"},"in":"query","name":"referrer","required":false},{"schema":{"type":"string"},"in":"query","name":"depositAddress","required":false,"description":"Filter requests by deposit address. Returns all requests associated with this deposit address."},{"schema":{"type":"boolean"},"in":"query","name":"includeChildRequests","required":false,"description":"When filtering by id or depositAddress, also return child transactions (e.g. duplicates, retries, refunds) linked to the original request."},{"schema":{"type":"string","enum":["success","failure","refund","pending","depositing"]},"in":"query","name":"status","required":false,"description":"Filter requests by status."},{"schema":{"type":"string"},"in":"query","name":"apiKey","required":false,"description":"Filter requests by the API key that created them."},{"schema":{"type":"string","enum":["createdAt","updatedAt"],"default":"createdAt"},"in":"query","name":"sortBy","required":false},{"schema":{"type":"string","enum":["asc","desc"]},"in":"query","name":"sortDirection","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"requests":{"type":"array","example":{"id":"0xddd6c1a0340e940b7be4f5a4be076df8b7ec7de7b18f9ec6efe4bfffd2f21cf6","status":"success","user":"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea","recipient":"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea","depositAddress":{"address":"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea","depositAddressType":"open","depositor":"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea"},"data":{"subsidizedRequest":false,"fees":{"gas":"2622672522398","fixed":"10000000000000","price":"39000000000000"},"feesUsd":{"gas":"9057","fixed":"34534","price":"134684"},"inTxs":[{"fee":"423218878900","data":{"to":"0xf70da97812cb96acdf810712aa562db8dfa3dbef","data":"0x5869d8","from":"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea","value":"2651622672522398"},"hash":"0xe53021eaa63d100b08338197d26953e2219bcbad828267dd936c549ff643aad7","type":"onchain","chainId":7777777,"timestamp":1713290377}],"currency":"eth","price":"2600000000000000","usesExternalLiquidity":false,"outTxs":[{"fee":"1837343366480","data":{"to":"0x456bccd1eaa77d5cc5ace1723b5dcca00d67cdea","data":"0x5869d8","from":"0xf70da97812cb96acdf810712aa562db8dfa3dbef","value":"2600000000000000"},"hash":"0x9da7bc54dfe6229d6980fd62250d472f23dfe0f41a1cdc870c81a08b3445f254","type":"onchain","chainId":8453,"timestamp":1713290383}]},"moonpayId":"9dc342c3-538b-4731-aba7-13ed89acc7ae","createdAt":"2024-04-16T17:59:39.702Z","updatedAt":"2024-04-16T17:59:46.145Z"},"items":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["refund","waiting","depositing","failure","pending","success"],"description":"Note that fallback is returned in the case of a refund"},"user":{"type":"string"},"recipient":{"type":"string"},"depositAddress":{"type":"object","nullable":true,"properties":{"address":{"type":"string"},"depositAddressType":{"type":"string","enum":["strict","open"]},"depositor":{"type":"string","nullable":true}}},"data":{"type":"object","properties":{"slippageTolerance":{"type":"string","description":"Slippage tolerance for the swap. This value is in basis points (1/100th of a percent), e.g. 50 for 0.5% slippage"},"failReason":{"type":"string","enum":["UNKNOWN","SLIPPAGE","AMOUNT_TOO_LOW_TO_REFUND","DEPOSIT_ADDRESS_MISMATCH","DEPOSIT_CHAIN_MISMATCH","INCORRECT_DEPOSIT_CURRENCY","DOUBLE_SPEND","SOLVER_CAPACITY_EXCEEDED","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","ORIGIN_CURRENCY_MISMATCH","NO_INTERNAL_SWAP_ROUTES_FOUND","SWAP_USES_TOO_MUCH_GAS","INSUFFICIENT_FUNDS_FOR_RENT","SPONSOR_BALANCE_TOO_LOW","ORDER_EXPIRED","ORDER_IS_CANCELLED","TRANSFER_FROM_FAILED","TRANSFER_FAILED","SIGNATURE_EXPIRED","INVALID_SIGNATURE","INSUFFICIENT_NATIVE_TOKENS_SUPPLIED","TRANSFER_AMOUNT_EXCEEDS_ALLOWANCE","TRANSFER_AMOUNT_EXCEEDS_BALANCE","INVALID_SENDER","ACCOUNT_ABSTRACTION_INVALID_NONCE","ACCOUNT_ABSTRACTION_SIGNATURE_ERROR","SEAPORT_INEXACT_FRACTION","TOKEN_NOT_TRANSFERABLE","ZERO_SELL_AMOUNT","MINT_NOT_ACTIVE","ERC_1155_TOO_MANY_REQUESTED","INCORRECT_PAYMENT","INVALID_GAS_PRICE","FLUID_DEX_ERROR","ORDER_ALREADY_FILLED","SEAPORT_INVALID_FULFILLER","INVALID_SIGNER","MINT_QUANTITY_EXCEEDS_MAX_PER_WALLET","MINT_QUANTITY_EXCEEDS_MAX_SUPPLY","JUPITER_INVALID_TOKEN_ACCOUNT","INVALID_NONCE","ACCOUNT_ABSTRACTION_GAS_LIMIT","CONTRACT_PAUSED","SWAP_IMPACT_TOO_HIGH","INSUFFICIENT_POOL_LIQUIDITY","TTL_EXPIRED","N/A"]},"refundFailReason":{"type":"string","enum":["AMOUNT_TOO_LOW_TO_REFUND","NEGATIVE_NEW_AMOUNT_AFTER_FEES","SWAP_CURRENCY_NOT_ON_ORIGIN"]},"failedTxHash":{"type":"string"},"failedTxBlockNumber":{"type":"number"},"failedCallData":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"data":{"type":"string"},"value":{"type":"string"}}},"subsidizedRequest":{"type":"boolean"},"fees":{"type":"object","properties":{"gas":{"type":"string","description":"Estimated gas cost required for execution, in wei"},"fixed":{"type":"string","description":"The fixed fee which is always added to execution, in wei"},"price":{"type":"string","description":"The dynamic fee which is a result of the chain and the amount, in wei"},"gateway":{"type":"string","description":"The fee taken by the API gateway, in wei"}}},"feesUsd":{"type":"object","properties":{"gas":{"type":"string"},"fixed":{"type":"string"},"price":{"type":"string"},"gateway":{"type":"string"}}},"inTxs":{"type":"array","items":{"type":"object","properties":{"fee":{"type":"string","description":"Total fees in wei"},"data":{},"stateChanges":{},"hash":{"type":"string"},"block":{"type":"number"},"type":{"type":"string","description":"The type of transaction, always set to onchain"},"chainId":{"type":"number"},"timestamp":{"type":"number"},"status":{"type":"string","enum":["success","failure"]}}}},"currency":{"type":"string"},"currencyObject":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"feeCurrency":{"type":"string"},"feeCurrencyObject":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"appFeeCurrencyObject":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"refundCurrencyData":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"appFees":{"type":"array","items":{"type":"object","properties":{"recipient":{"type":"string"},"bps":{"type":"string"},"amount":{"type":"string"},"amountUsd":{"type":"string"},"amountUsdCurrent":{"type":"string"}}}},"subsidizedFee":{"type":"object","properties":{"origin":{"type":"object","properties":{"amount":{"type":"string"},"address":{"type":"string"},"chainId":{"type":"number"}}},"sponsor":{"type":"object","properties":{"amount":{"type":"string"},"address":{"type":"string"},"chainId":{"type":"number"}}},"amountUsd":{"type":"string"},"amountUsdCurrent":{"type":"string"}}},"feeSponsorship":{"type":"object","description":"Granular fee sponsorship details derived from the solver's internal sponsorship resolution.","properties":{"quoted":{"description":"The quote-time sponsorship expectation for the request.","type":"object","properties":{"selectedComponents":{"type":"array","description":"The normalized sponsorship buckets selected for this request.","items":{"type":"string","enum":["execution","swap","relay","app"]}},"maxSubsidizationAmount":{"type":"string","description":"The requested sponsorship cap in USD micro-units, when one was configured for the request."},"capHit":{"type":"boolean","description":"Whether the configured sponsorship cap limited the selected fee buckets for this phase."},"components":{"type":"object","description":"Per-bucket sponsorship details for the four sponsorable fee components.","properties":{"execution":{"description":"Execution fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"swap":{"description":"Swap fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"relay":{"description":"Relay protocol fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"app":{"description":"App fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]}},"required":["execution","swap","relay","app"]},"sponsoredTotal":{"description":"The total amount sponsored for this phase.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPaysTotal":{"description":"The total amount the user paid across the sponsorable fee buckets for this phase.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selectedComponents","capHit","components","sponsoredTotal","userPaysTotal"]},"actual":{"description":"The post-solve sponsorship outcome recorded for the request.","type":"object","properties":{"selectedComponents":{"type":"array","description":"The normalized sponsorship buckets selected for this request.","items":{"type":"string","enum":["execution","swap","relay","app"]}},"maxSubsidizationAmount":{"type":"string","description":"The requested sponsorship cap in USD micro-units, when one was configured for the request."},"capHit":{"type":"boolean","description":"Whether the configured sponsorship cap limited the selected fee buckets for this phase."},"components":{"type":"object","description":"Per-bucket sponsorship details for the four sponsorable fee components.","properties":{"execution":{"description":"Execution fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"swap":{"description":"Swap fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"relay":{"description":"Relay protocol fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]},"app":{"description":"App fee sponsorship details.","type":"object","properties":{"selected":{"type":"boolean","description":"Whether this fee bucket was selected for sponsorship."},"total":{"description":"The full amount charged for this fee bucket.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsored":{"description":"The portion of this fee bucket covered by the sponsor.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPays":{"description":"The portion of this fee bucket that remained user-paid.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}}},"required":["selected","total","sponsored","userPays"]}},"required":["execution","swap","relay","app"]},"sponsoredTotal":{"description":"The total amount sponsored for this phase.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"userPaysTotal":{"description":"The total amount the user paid across the sponsorable fee buckets for this phase.","type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"sponsorPayment":{"type":"object","description":"How much the sponsor ultimately paid, denominated in the sponsor payment currency.","properties":{"amount":{"type":"string","description":"The sponsor payment amount."},"address":{"type":"string","description":"The sponsor payment currency address."},"chainId":{"type":"number","description":"The sponsor payment chain id."}},"required":["amount","address","chainId"]}},"required":["selectedComponents","capHit","components","sponsoredTotal","userPaysTotal"]}}},"expandedPriceImpact":{"type":"object","nullable":true,"description":"Breakdown of price impact by component, with quoted and actual values","properties":{"quoted":{"type":"object","properties":{"swap":{"description":"Cost to execute swap or bridge depending on available liquidity. This value can be negative (representing network rewards for improving liquidity distribution)","type":"object","properties":{"usd":{"type":"string"}}},"execution":{"description":"Fees paid to cover transaction execution costs","type":"object","properties":{"usd":{"type":"string"}}},"relay":{"description":"Fees paid to the protocol","type":"object","properties":{"usd":{"type":"string"}}},"app":{"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","type":"object","properties":{"usd":{"type":"string"}}},"sponsored":{"description":"Fees paid by a sponsor for this request","type":"object","properties":{"usd":{"type":"string"}}}},"description":"Price impact as estimated at quote time"},"actual":{"type":"object","properties":{"swap":{"description":"Cost to execute swap or bridge depending on available liquidity. This value can be negative (representing network rewards for improving liquidity distribution)","type":"object","properties":{"usd":{"type":"string"}}},"execution":{"description":"Fees paid to cover transaction execution costs","type":"object","properties":{"usd":{"type":"string"}}},"relay":{"description":"Fees paid to the protocol","type":"object","properties":{"usd":{"type":"string"}}},"app":{"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","type":"object","properties":{"usd":{"type":"string"}}},"sponsored":{"description":"Fees paid by a sponsor for this request","type":"object","properties":{"usd":{"type":"string"}}}},"description":"Price impact as computed at fill time"}}},"paidAppFees":{"type":"array","items":{"type":"object","properties":{"recipient":{"type":"string"},"bps":{"type":"string"},"amount":{"type":"string"},"amountUsd":{"type":"string"},"amountUsdCurrent":{"type":"string"}}}},"metadata":{"type":"object","properties":{"sender":{"type":"string"},"recipient":{"type":"string"},"currencyIn":{"type":"object","example":{"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","amountUsdCurrent":"30.901612","minimumAmount":"30454920"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"amountUsdCurrent":{"type":"string"},"minimumAmount":{"type":"string"}}},"currencyOut":{"type":"object","example":{"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","amountUsdCurrent":"30.901612","minimumAmount":"30454920"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"amountUsdCurrent":{"type":"string"},"minimumAmount":{"type":"string"}}},"currencyGasTopup":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"rate":{"type":"string"},"route":{"type":"object","properties":{"origin":{"type":"object","description":"The route taken for the origin chain swap","properties":{"inputCurrency":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"outputCurrency":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"router":{"type":"string"},"includedSwapSources":{"type":"array","items":{"type":"string"}}}},"destination":{"type":"object","description":"The route taken for the origin chain swap","properties":{"inputCurrency":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"outputCurrency":{"type":"object","example":{"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"},"properties":{"currency":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"amount":{"type":"string"},"amountFormatted":{"type":"string"},"amountUsd":{"type":"string"},"minimumAmount":{"type":"string"}}},"router":{"type":"string"},"includedSwapSources":{"type":"array","items":{"type":"string"}}}}}}}},"price":{"type":"string"},"usesExternalLiquidity":{"type":"boolean"},"timeEstimate":{"type":"number"},"triggeredByCcm":{"type":"boolean"},"triggeredByFastFill":{"type":"boolean"},"outTxs":{"type":"array","items":{"type":"object","properties":{"fee":{"type":"string","description":"Total fees in wei"},"data":{},"stateChanges":{},"hash":{"type":"string"},"block":{"type":"number"},"type":{"type":"string","description":"The type of transaction, always set to onchain"},"chainId":{"type":"number"},"timestamp":{"type":"number"},"status":{"type":"string","enum":["success","failure"]}}}}}},"orderData":{},"referrer":{"type":"string"},"moonpayId":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}}}},"continuation":{"type":"string"}}}}}}}}},"/requests/metadata":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"requestId":{"type":"string"},"additionalMetadata":{"type":"object","properties":{"moonPayId":{"type":"string","maxLength":44}},"required":["moonPayId"],"additionalProperties":false}},"required":["requestId","additionalMetadata"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}}}}},"/transactions/index":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"chainId":{"type":"string"},"txHash":{"type":"string"},"requestId":{"type":"string"}},"required":["chainId","txHash"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}}}}},"/transactions/single":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"requestId":{"type":"string"},"chainId":{"type":"string"},"tx":{"type":"string"}},"required":["requestId","chainId","tx"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}}}}},"/transactions/deposit-address/reindex":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"chainId":{"type":"number"},"depositAddress":{"type":"string"},"sweep":{"type":"boolean"},"targetChainId":{"type":"number"}},"required":["chainId","depositAddress"]}}},"required":true},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"triggeredCurrencies":{"type":"array","items":{"type":"object","properties":{"currency":{"type":"string"},"symbol":{"type":"string"},"balance":{"type":"string"}}}},"checkedCurrencies":{"type":"number"},"failedCurrencies":{"type":"number"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"503":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}}}}},"/swap-sources":{"get":{"parameters":[{"schema":{"type":"number"},"in":"query","name":"chainId","required":false,"description":"Chain ID to get swap sources for"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"sources":{"type":"array","description":"An array of swap sources","items":{"type":"string"}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Descriptive error message"}}}}}}}}},"/loadforge.txt":{"get":{"responses":{"200":{"description":"Verification string","content":{"application/json":{"schema":{"type":"string","description":"Verification string"}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}}}}},"/conduit/install":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"event":{"type":"string","enum":["INSTALLED","UNINSTALLED","NETWORK_UPDATED","NETWORK_DELETED"]},"id":{"type":"string"},"chain_id":{"type":"number"},"parent_chain_id":{"type":"number"},"type":{"type":"string","enum":["OPTIMISM","ARBITRUM"]},"name":{"type":"string"},"rpc":{"type":"string"},"ws":{"type":"string"},"explorer":{"type":"string"},"logo_url":{"type":"string"},"icon_url":{"type":"string"},"brand_color":{"type":"string"},"native_currency":{"type":"object","properties":{"name":{"type":"string"},"symbol":{"type":"string"},"decimals":{"type":"number"},"contract":{"type":"string"}}},"contracts":{"type":"object"}},"required":["id","event"],"type":"object"}}},"required":true},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-CONDUIT-INTEGRATION-SECRET","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"eta_seconds":{"type":"number"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"failure_reason":{"type":"string"},"code":{"type":"string"},"status":{"type":"string"}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"failure_reason":{"type":"string"},"code":{"type":"string"},"status":{"type":"string"}}}}}}}}},"/prices/rates":{"get":{"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"AVAX":{"type":"number"},"ETH":{"type":"number"},"DEGEN":{"type":"number"},"MATIC":{"type":"number"},"USDC":{"type":"number"},"XAI":{"type":"number"},"SIPHER":{"type":"number"},"TG7":{"type":"number"},"POP":{"type":"number"},"OMI":{"type":"number"},"TOPIA":{"type":"number"},"ANIME":{"type":"number"},"APE":{"type":"number"},"G":{"type":"number"},"G7":{"type":"number"},"POWER":{"type":"number"},"SYND":{"type":"number"}}}}}}}}},"/currencies/v1":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"defaultList":{"type":"boolean","description":"Return default currencies"},"chainIds":{"type":"array","items":{"type":"number"},"description":"Chain IDs to search for currencies"},"term":{"type":"string","description":"Search term for currencies"},"address":{"type":"string","description":"Address of the currency contract"},"currencyId":{"type":"string","description":"ID to search for a currency group"},"tokens":{"type":"array","items":{"type":"string"},"description":"List of token addresses, like: chainId:address"},"verified":{"type":"boolean","description":"Filter verified currencies"},"limit":{"type":"number","description":"Limit the number of results"},"includeAllChains":{"type":"boolean","description":"Include all chains for a currency when filtering by chainId and address"},"useExternalSearch":{"type":"boolean","description":"Uses 3rd party API's to search for a token, in case relay does not have it indexed"},"depositAddressOnly":{"type":"boolean","description":"Returns only currencies supported with deposit address bridging"}}}}}},"responses":{"200":{"description":"List of currencies","content":{"application/json":{"schema":{"type":"array","items":{"type":"array","items":{"type":"object","properties":{"groupID":{"type":"string"},"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"vmType":{"type":"string","enum":["bvm","evm","svm","tvm","tonvm","suivm","hypevm","lvm"]},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}}},"description":"List of currencies"}}}}}}},"/currencies/v2":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"defaultList":{"type":"boolean","description":"Return default currencies"},"chainIds":{"type":"array","items":{"type":"number"},"description":"Chain IDs to search for currencies"},"term":{"type":"string","description":"Search term for currencies"},"address":{"type":"string","description":"Address of the currency contract"},"currencyId":{"type":"string","description":"ID to search for a currency"},"tokens":{"type":"array","items":{"type":"string"},"description":"List of token addresses, like: chainId:address"},"verified":{"type":"boolean","description":"Filter verified currencies"},"limit":{"type":"number","description":"Limit the number of results","default":20,"maximum":100},"includeAllChains":{"type":"boolean","description":"Include all chains for a currency when filtering by chainId and address"},"useExternalSearch":{"type":"boolean","description":"Uses 3rd party API's to search for a token, in case relay does not have it indexed"},"depositAddressOnly":{"type":"boolean","description":"Returns only currencies supported with deposit address bridging"}}}}}},"responses":{"200":{"description":"List of currencies","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"vmType":{"type":"string","enum":["bvm","evm","svm","tvm","tonvm","suivm","hypevm","lvm"]},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"description":"List of currencies"}}}}}}},"/currencies/token/price":{"get":{"parameters":[{"schema":{"type":"string"},"in":"query","name":"address","required":true,"description":"Token address to get price for"},{"schema":{"type":"number"},"in":"query","name":"chainId","required":true,"description":"Chain ID of the token"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"price":{"type":"number","description":"Token price in USD"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}}}}}}}}},"/currencies/token/price/v2":{"get":{"parameters":[{"schema":{"type":"string"},"in":"query","name":"address","required":true,"description":"Token address to get price for"},{"schema":{"type":"number"},"in":"query","name":"chainId","required":true,"description":"Chain ID of the token"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"price":{"type":"string","description":"Token price in USD"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}}}}}}}}},"/currencies/trending":{"get":{"parameters":[{"schema":{"type":"number"},"in":"query","name":"chainId","required":false},{"schema":{"type":"string","enum":["relay24hBuyTxCount","relay24hBuyUsdVolume","coingecko6hTrending"],"default":"relay24hBuyTxCount"},"in":"query","name":"sortBy","required":false},{"schema":{"type":"number","default":10,"maximum":20},"in":"query","name":"limit","required":false}],"responses":{"200":{"description":"List of currencies","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"vmType":{"type":"string","enum":["bvm","evm","svm","tvm","tonvm","suivm","hypevm","lvm"]},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}}}},"description":"List of currencies"}}}}}}},"/chains/{chainId}/currencies/{address}":{"get":{"parameters":[{"schema":{"type":"number"},"in":"path","name":"chainId","required":true},{"schema":{"type":"string"},"in":"path","name":"address","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"number"},"vmType":{"type":"string","enum":["bvm","evm","svm","tvm","tonvm","suivm","hypevm","lvm"]},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"},"verified":{"type":"boolean"},"isNative":{"type":"boolean"}}},"price":{"type":"number"},"marketCap":{"type":"string"},"fdv":{"type":"string"},"liquidity":{"type":"string"},"codexChainName":{"type":"string"},"codexChainShortName":{"type":"string"},"createdAt":{"type":"number"},"socialLinks":{"type":"object","properties":{"website":{"type":"string"},"twitter":{"type":"string"},"coingecko":{"type":"string"},"discord":{"type":"string"}}},"volume":{"type":"object","properties":{"24h":{"type":"object","properties":{"usd":{"type":"number"}}}}},"priceChange":{"type":"object","properties":{"5m":{"type":"string"},"1h":{"type":"string"},"4h":{"type":"string"},"24h":{"type":"string"}}},"pair":{"type":"object","properties":{"address":{"type":"string"},"token0":{"type":"object","properties":{"address":{"type":"string"},"symbol":{"type":"string"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"}}}}},"token1":{"type":"object","properties":{"address":{"type":"string"},"symbol":{"type":"string"},"metadata":{"type":"object","properties":{"logoURI":{"type":"string"}}}}}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Error message"}}}}}}}}},"/chains/{chainId}/currencies/{address}/chart":{"get":{"parameters":[{"schema":{"type":"string","enum":["5M","1H","4H","24H","7D","30D","MAX"],"default":"4H"},"in":"query","name":"timeframe","required":false,"description":"Timeframe for chart data can be either of the following"},{"schema":{"type":"number"},"in":"path","name":"chainId","required":true},{"schema":{"type":"string"},"in":"path","name":"address","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"traders":{"type":"array","items":{"type":"number"}},"transactions":{"type":"array","items":{"type":"number"}},"t":{"type":"array","items":{"type":"number"}},"o":{"type":"array","items":{"type":"number"}},"h":{"type":"array","items":{"type":"number"}},"l":{"type":"array","items":{"type":"number"}},"c":{"type":"array","items":{"type":"number"}},"volume":{"type":"array","items":{"type":"string"}},"buyers":{"type":"array","items":{"type":"number"}},"buys":{"type":"array","items":{"type":"number"}},"buyVolume":{"type":"array","items":{"type":"string"}},"sellers":{"type":"array","items":{"type":"number"}},"sells":{"type":"array","items":{"type":"number"}},"sellVolume":{"type":"array","items":{"type":"string"}},"sumTraders":{"type":"number"},"sumNonUniqueTraders":{"type":"number"},"sumSellers":{"type":"number"},"sumBuyers":{"type":"number"},"sumTransactions":{"type":"number"},"sumSells":{"type":"number"},"sumBuys":{"type":"number"},"sumVolume":{"type":"string"},"sumSellVolume":{"type":"string"},"sumBuyVolume":{"type":"string"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Error message"}}}}}}}}},"/provision/chain":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"chainId":{"type":"number"},"parentChainId":{"type":"number"},"type":{"type":"string","enum":["OPTIMISM","ARBITRUM"]},"name":{"type":"string"},"rpc":{"type":"string"},"ws":{"type":"string"},"explorer":{"type":"string"},"logoUrl":{"type":"string"},"iconurl":{"type":"string"},"brandColor":{"type":"string"},"nativeCurrency":{"type":"object","properties":{"name":{"type":"string"},"symbol":{"type":"string"},"decimals":{"type":"number"},"contract":{"type":"string"}}},"contracts":{"type":"object"}},"required":["id","type","chainId","parentChainId","name","rpc","ws","nativeCurrency","contracts"],"type":"object"}}},"required":true},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-RELAY-INTEGRATION-SECRET","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"etaSeconds":{"type":"number"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"},"status":{"type":"string"}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"},"status":{"type":"string"}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"},"status":{"type":"string"}}}}}}}}},"/sanctioned/{address}":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"address","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"sanctioned":{"type":"boolean"}}}}}}}}},"/wallets/screen":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"wallets":{"type":"array","items":{"properties":{"address":{"type":"string"},"chainId":{"type":"string"}},"type":"object"},"maxItems":10,"minItems":1}},"required":["wallets"],"type":"object"}}},"required":true},"parameters":[{"schema":{"type":"string"},"in":"header","name":"x-api-key","required":true,"description":"Required API key for authentication. Contact the team for getting an API Key"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"wallets":{"type":"array"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}}}}},"/wallets/screen/override":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"wallet":{"type":"string"},"chainId":{"type":"string"},"action":{"type":"string","enum":["ALLOW","BLOCK","NONE"]},"reason":{"type":"string"}},"required":["wallet","action"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}}}}},"/wallets/screen/info":{"get":{"parameters":[{"schema":{"type":"string"},"in":"query","name":"wallet","required":true},{"schema":{"type":"string"},"in":"query","name":"chainId","required":false},{"schema":{"type":"string"},"in":"query","name":"source","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"isBlocked":{"type":"boolean"},"isTrmBlocked":{"type":"boolean","nullable":true},"isHackBountyBlocked":{"type":"boolean"},"isChainalysisBlocked":{"type":"boolean"},"override":{"type":"string"},"reason":{"type":"string","nullable":true}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}}}}},"/withdrawals/attest-deposit":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["chainId","transactionId"],"properties":{"chainId":{"type":"number"},"transactionId":{"type":"string"}}}}},"required":true},"responses":{"200":{"description":"Default Response"}}}},"/withdrawals/request":{"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["chainId","currency","amount","ownerChainId","owner","recipient"],"properties":{"chainId":{"type":"string","minLength":1},"currency":{"type":"string","minLength":1},"amount":{"type":"string","pattern":"^[0-9]+$"},"ownerChainId":{"type":"string","minLength":1},"owner":{"type":"string","minLength":1},"recipient":{"type":"string","minLength":1},"nonce":{"type":"string"},"additionalData":{},"signature":{"type":"string"}}}}},"required":true},"responses":{"200":{"description":"Default Response"}}}},"/withdrawals/status":{"get":{"parameters":[{"schema":{"type":"string"},"in":"query","name":"id","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"transaction":{"type":"object","nullable":true,"additionalProperties":true},"withdrawal":{"type":"object","nullable":true,"additionalProperties":true},"reason":{"type":"string","nullable":true}}}}}}}}}},"servers":[{"url":"https://api.relay.link","description":"Mainnet API"},{"url":"https://api.testnets.relay.link","description":"Testnet API"}]}