Skip to main content
POST
Build EIP-712 data the main Hyperliquid wallet must sign to transfer assets between perp DEXes, spot, users, and/or sub-accounts

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
amount
string
required

Amount to send (decimal string, not in wei).

destination
string
required

Destination wallet address.

Example:

"0x1234567890abcdef1234567890abcdef12345678"

destinationDex
enum<string>
required

Destination perp DEX ("" for default USDC perp, "xyz" for trade.xyz).

Available options:
,
xyz,
mkts,
vntl
sourceDex
enum<string>
required

Source perp DEX ("" for default USDC perp, "xyz" for trade.xyz).

Available options:
,
xyz,
mkts,
vntl
token
string
required

Token identifier.

fromSubAccount
default:""

Source sub-account address ("" for the main account).

Available options:

Response

200 - application/json
fee
number
required

Hyperliquid-side fee for the operation (always 0 for sendAsset).

pendingData
object
required

Opaque payload to pass back to the execute endpoint.

signData
object
required

EIP-712 typed data to sign with the main wallet.