Cross Chain Swaps to HyperCore
HyperCore (also known as Hyperliquid) is supported as a destination chain. You can bridge tokens from any supported origin chain into HyperCore; bridging out of HyperCore is not yet supported. HyperCore works much like other supported chains, with one key difference: tokens are identified by 16-byte token IDs instead of standard EVM addresses.
You can identify HyperCore using any of the following:
- Chain name:
hypercore - Alias:
hyperliquid - Chain ID:
999999999992
Steps to Cross Chain Swap Tokens to HyperCore
This guide will walk you through using the /quotes and /status endpoints on 0x’s Cross Chain API to:
- Fetch a quote
- Set allowance
- Sign and send a transaction
- Monitor the status of the cross chain swap
In our example, we will be swapping USDC on Arbitrum to USDC_PERP on HyperCore. Because the origin chain is a standard EVM chain, the signing and submission flow is identical to any other EVM origin — see Get started for more detail on the EVM-specific steps.
0. Prerequisites
Make sure you have:
- A funded Arbitrum wallet
- 0x API key
- An RPC Connection (see Get started for setting up a wallet client with viem)
1. Fetch a Quote
Start by sending a GET request to the 0x /quotes endpoint. The destinationChain is HyperCore, and the buyToken is the 16-byte HyperCore token ID (see Supported tokens below).
The API automatically selects the best available bridge based on your request parameters. HyperCore is currently served by the Across V4 and Relay bridges, and available quotes depend on each bridge’s token coverage.
Example response
2. Set a token allowance
Because the origin chain is an EVM chain, you may need to set a token allowance to 0x’s AllowanceHolder contract. When an allowance is required, it is reported in issues.allowance in the response. Always use the spender value from the response rather than hardcoding an address.
3. Sign and submit a transaction
With the approval in place, construct, sign, and submit the origin-chain transaction from the quote response, exactly as you would for any EVM swap.
4. Monitor the cross chain execution
Finally, monitor execution of the cross chain transaction, including the fill on HyperCore, using the /status endpoint. Pass the origin tx hash and quoteId.
In your application, you might need to monitor the status repeatedly, as the bridging operation might take several seconds or minutes to complete.
For full status lifecycle details, polling intervals, and failure handling, see Tracking Transaction Status and Handling Failures and Recovery.
Supported tokens
HyperCore identifies tokens by 16-byte token IDs (32 hex characters), not by the 20-byte EVM address or 32-byte Solana public key used on other chains. The following tokens are currently supported:
Additional tokens may be available depending on the bridge used. To discover more tokens and their IDs, query the HyperCore API directly:
The response includes a tokens array with a tokenId field for each token. Note that not all tokens are supported by all bridges.
Use token IDs, not system addresses. Elsewhere in the HyperCore ecosystem
you may see “system addresses” — 20-byte addresses (e.g.
0x2000000000000000000000000000000000000020) used internally for transfers
between HyperCore and HyperEVM. These are not token IDs and must not
be passed to the 0x Cross-Chain API. The API handles the mapping between token
IDs and system addresses internally; always pass the 16-byte token ID.
Checking token balances
HyperCore does not expose a JSON-RPC node. Instead, query token balances through the HyperCore API. Note that originAddress and destinationAddress on HyperCore use the standard 20-byte EVM format, and tx hashes are 32-byte EVM-style hashes — only token identifiers use the 16-byte format.
Key differences from EVM, Solana, and Tron
Want to collect fees? See Monetize Your App to learn how to add integrator fees to cross-chain swaps.