TEE API Wallets

Allocate the account's TEE API wallet and return its approval payload.

post/v1/tee-api-wallet/approval-request

Request

  • Base URL: https://testnet-api.hypercall.xyz
  • URL: https://testnet-api.hypercall.xyz/v1/tee-api-wallet/approval-request
  • Auth: none declared

Request body

accountstring required

Ethereum wallet address serialized as a checksummed 0x-prefixed hex string.

managerstring required

Ethereum wallet address serialized as a checksummed 0x-prefixed hex string.

signaturestring required

Manager signature over Hypercall's timestamped authentication message.

timestampinteger required

Unix timestamp in seconds included in the EIP-191 authentication message.

Example request

{
  "account": "0x1234567890abcdef1234567890abcdef12345678",
  "manager": "0x1234567890abcdef1234567890abcdef12345678"
}

Response

TEE API wallet identity and EIP-712 approval payload

apiWalletAddressstring required

Ethereum wallet address serialized as a checksummed 0x-prefixed hex string.

apiWalletNamestring required

Stable name registered for the API wallet on HyperLiquid.

expiresAtMsinteger required

Last Unix millisecond at which the signed approval may be submitted.

issuedAtMsinteger required

Server issuance time encoded into nonce, as Unix milliseconds.

noncestring required

Nonce included in the EIP-712 approval payload. Copy it without modification.

teeWalletIdstring required

Opaque TEE wallet identity. Echo this value when submitting the signature.

typedDataobject required

EIP-712 payload for the account manager to sign.

Example response

{
  "apiWalletAddress": "0x1234567890abcdef1234567890abcdef12345678",
  "expiresAtMs": 1785672300000,
  "issuedAtMs": 1785672000000,
  "nonce": "18446744073709551615",
  "teeWalletId": "0x2222222222222222222222222222222222222222222222222222222222222222"
}

Changes

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