Execution Quotes

POST /v2/perp-transfer-quotes/hyperliquid

Quotes the Relay v2 Spot USDC-to-Solana leg of a withdrawal for the authenticated user's linked Hyperliquid account. For a perps withdrawal, the client must first complete the same-amount perps_to_spot transfer through /v2/perp-transfers/hyperliquid. The response then contains two ordered EIP-712 payloads; the client signs the nonce mapping first and the sendAsset action second.

Request

  • Base URL
    https://api.arbital.xyz (the document declares no server; this is the origin it was published from)
  • URL
    https://api.arbital.xyz/v2/perp-transfer-quotes/hyperliquid
  • Auth
    HTTP bearer

Request body

exact_output_usdc_atomicstring required

Exact Solana USDC output in 6-decimal atomic units. The value must be at least 5000000 (5 USDC).

operation'hyperliquid_perps_withdrawal' required
slippage_bpsinteger required

Example request

{
  "slippage_bps": 50
}

Response

A server-bound Hyperliquid-to-Solana quote and ordered signing payloads

destination_asset'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v' required
destination_chain_id'792703809' required
destination_decimals6 required
exact_input_atomicstring required
expected_output_atomicstring required
minimum_output_atomicstring required
operation'hyperliquid_perps_withdrawal' required
request_idstring required
slippage_bpsinteger required
source_asset'0x6d1e7cde53ba9467b783cb7c530ce054' required
source_chain_id'1337' required
source_decimals8 required

Changes

No recorded changes to this operation across all 1 revision of this API.