0x Labs debuts ‘gasless’ swap API used by Robinhood, Coinbase Wallet

The new product matches a general shift to a focus on “intents” in DeFi

article-image

0x and Adobe Stock modified by Blockworks

share

DeFi software firm 0x released an application programming interface, or API, that allows exchanges to abstract gas fees away from users. The so-called Tx Relay software was previously used in beta by platforms including Robinhood and Coinbase to enable “gasless swaps.”

Users still pay for gas with 0x’s API, but the software lumps the fee into the trade cost to reduce the number of failed trades. Tx Relay is emblematic of a larger shift from many developers toward intents-based systems that outsource some on-chain actions to protocols.

0x sells APIs focused on decentralized exchange (DEX) infrastructure. The San Francisco-based firm has notable venture ties, raising a $70 million Series B in 2022 led by Greylock with participation from Pantera, Brevan Howard and Coinbase Ventures. 

Robinhood’s crypto wallet began using Tx Relay API as early as March 2023. At the time, 0x said the software would make onboarding easier by obscuring gas fees and protecting users from maximal extractible value (MEV). Arbitrageurs making use of MEV can frontrun users’ transactions to profit off of things like price slippage.  

Matcha, a DEX aggregator built by 0x, also used Tx Relay in its beta phase, as did Coinbase for its wallet. 0x says Matcha was able to reduce failed trades by 85% compared to competitors after rolling out Tx Relay-based “Matcha Auto.”

“Gasless swaps have helped us create a simpler trading experience, where users can focus more on trading and less on network fees,” Coinbase wallet production manager Claudia Haddad said in 0x’s documentation on the API.

DeFi has lately seen a UX-focused shift toward intents-based systems, where users will say what trade they want to execute but not necessarily how the trade should happen. Instead of dealing with wrapped tokens or gas fees, users can tell a protocol to swap one token on one chain for a different token on another chain and let the software handle the rest. 

The marquee DEX Uniswap dipped its toes into intents with the release of UniswapX.  The protocol uses an auction process to execute intent-based gas-free swaps. 

Tx Relay is similar in consequence to intent-based systems, Theo Gonella, 0x’s director of product management, said in a direct message. 

“[I]t’s basically an intent based system with one single solver (0x, which fetches best AMM prices and connects to leading DEX Market Makers),” Gonella wrote. Solvers are the entities that carry out user intents in a blockchain context. 

Intents pare down the number actions users need to take on-chain. Obvious questions emerge as to who is handling the intents and what they do behind the scenes — but many see intents-based systems as a necessity to make crypto user-friendly.

“Almost nothing about the current blockchain UX will be acceptable for broader adoption,” Kevin Weaver, backend engineer at blockchain platform Metropolis, said in a text. “As long as an intent is designed in a way that doesn’t introduce new trust assumptions, I’m a fan of doing whatever we can to smooth out the rough edges.”


Start your day with top crypto insights from David Canellis and Katherine Ross. Subscribe to the Empire newsletter.

Tags

Upcoming Events

Salt Lake City, UT

WED - FRI, OCTOBER 9 - 11, 2024

Pack your bags, anon — we’re heading west! Join us in the beautiful Salt Lake City for the third installment of Permissionless. Come for the alpha, stay for the fresh air. Permissionless III promises unforgettable panels, killer networking opportunities, and mountains […]

recent research

Research report HL cover.jpg

Research

It's increasingly apparent that orderbooks represent the most efficient model for perpetual trading, with the primary obstacle being that the most popular blockchains are ill-suited for hosting a fully onchain orderbook. Hyperliquid is a perpetual trading protocol built on its own L1 that aims to replicate the user experience of centralized exchanges while offering a fully onchain orderbook.

article-image

Consensys filed a lawsuit against the SEC in a Texas court on Thursday

article-image

Marathon Digital’s hash rate target of 50 EH/s by the end of 2025 may be achieved a year sooner than expected, CEO says

article-image

The Algorand Foundation touts the network as first to go after pool of 10 million global developers

article-image

Drive-to-earn DePIN project MapMetrics will slowly transition to the peaq blockchain

article-image

The suit, filed in a Texas court, alleges a regulatory overreach by the SEC

article-image

This is the first crypto-centric announcement from Stripe since May of last year