Deposit USDC to perpetual trading account
Prepare a USDC deposit from Arbitrum via EIP-2612 Permit.
Returns EIP-712 typed data for the user to sign off-chain (no gas needed). Compass does NOT broadcast the bridge tx — the integrator’s own sponsor wallet calls batchedDepositWithPermit on the HL Bridge2 contract on Arbitrum after the user signs. See api_docs/v2/Products/Perpetual-Trading.mdx “Deposit USDC” section for the bridge-broadcast code.
Body
Request to deposit USDC from Arbitrum into the user's perpetual trading account.
Response
Successful Response
EIP-2612 permit data the user signs to authorize a USDC bridge deposit.
After signing, submit the signature to /v2/perpetual_trading/deposit/sponsor_prepare to get a ready-to-broadcast Arbitrum tx that calls Bridge2.batchedDepositWithPermit. The integrator's sponsor wallet broadcasts that tx — Compass does not broadcast.
EIP-712 typed data for the USDC permit — user signs this off-chain.
USDC amount in raw 6-decimal units. Pass this and the signature to /deposit/sponsor_prepare.
Address that will be credited on Hyperliquid (equals the deposit owner EOA — HL keys accounts by EVM address).