Skip to main content
POST
/
v2
/
traditional_investing
/
withdraw
Python (SDK)
from compass_api_sdk import CompassAPI


with CompassAPI(
    api_key_auth="<YOUR_API_KEY_HERE>",
) as compass_api:

    res = compass_api.traditional_investing.traditional_investing_withdraw(owner="0x01E62835dd7F52173546A325294762143eE4a882", amount="100.0")

    # Handle response
    print(res)
{
  "typed_data": {},
  "action": {},
  "nonce": 123
}

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Body

application/json

Request to withdraw USDC from HyperEVM traditional investing account to Arbitrum.

owner
string
default:0x01E62835dd7F52173546A325294762143eE4a882
required

The user's EOA address (owner of the traditional investing account)

amount
string
default:100.0
required

USDC amount to withdraw (human-readable, e.g. '500.0')

destination
string | null

Arbitrum destination address (defaults to owner if not specified)

Response

Successful Response

Returned by prepare endpoints — contains EIP-712 typed data for the user to sign.

typed_data
Typed Data · object
required

EIP-712 typed data for wallet signing (domain, types, primaryType, message)

action
Action · object
required

Raw Hyperliquid action (passed back to the execute endpoint)

nonce
integer
required

Timestamp-based nonce used during signing