TEE Perp Trading

Submit a client-built, manager-signed cancel package through Nitro.

Nonce reservation happens here; no preparation request is required.

post/v1/tee-perp/cancels/submit-prepared

Request

  • Base URL: https://testnet-api.hypercall.xyz
  • URL: https://testnet-api.hypercall.xyz/v1/tee-perp/cancels/submit-prepared
  • Auth: none declared

Request body

accountstring required

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

apiWalletstring

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

apiWalletKeyVersionstring nullable
authenticationSignaturestring required
managerstring required

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

managerSignaturestring required
nonceReservationRequestIdstring required
preparedRequeststring required
requestIdstring required
timestampinteger required

Example request

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

Response

Same-call prepared TEE cancel submission result

accountstring required

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

apiWalletstring required

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

cloidstring required
directiveIdstring required
engineSeqstring nullable
errorCode'engine_admission_rejected' | 'duplicate_directive' | 'trading_unavailable' | 'execution_unavailable' | 'authorization_failed' | 'invalid_request' | 'wallet_not_admitted' | 'wallet_admission_mismatch' | 'wallet_admission_unavailable' | 'parent_credentials_unavailable' | 'parent_kms_request_invalid' | 'enclave_unavailable' | 'enclave_kms_request_invalid' | 'enclave_wallet_unavailable' | 'enclave_clock_unavailable' | 'enclave_policy_rejected' | 'enclave_authorization_rejected' | 'enclave_wallet_mismatch' | 'enclave_intent_expired' | 'enclave_intent_ttl_exceeded' | 'enclave_signing_failed' | 'enclave_attestation_failed' | 'enclave_response_invalid' | 'parent_response_invalid' | 'signed_request_invalid' | 'internal_unavailable' | 'venue_rejected' | 'builder_not_approved' | 'submission_outcome_unknown'

Stable, non-sensitive failure classification returned to TEE perp clients.

messagestring nullable
stage'accepted' | 'rejected' | 'not_submitted' | 'unknown' required
venueResponseHashstring nullable

Example response

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

Changes

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