Skip to main content
POST
Submit transaction
There is one submit route in the Perps API and no separate submit-hash route. Send exactly one body field: Sending both returns 400 SUBMIT_PAYLOAD_CONFLICT; sending neither fails validation with 400. These are not the Earn field names signedTransaction and hash. A transaction can be submitted once: it must be in status CREATED, otherwise the call returns 400 SUBMIT_ALREADY_PROCESSED. Do not resubmit; poll Get an action for the outcome. Submit transactions in the order returned by Execute an action. Error envelope: Errors and retries.

Authorizations

x-api-key
string
header
required

Path Parameters

transactionId
string
required

Transaction ID from action response (UUID)

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json
signedPayload
string

Signed transaction payload (hex string or signed EIP-712 data). Required if transactionHash is not provided.

Example:

"0x1234567890abcdef..."

transactionHash
string

Transaction hash if already submitted by the user. Required if signedPayload is not provided.

Example:

"0xabcdef1234567890..."

Response

Transaction submitted successfully

Link to view transaction on provider platform

Example:

"https://app.hyperliquid.xyz/exchange"

status
enum<string>
required

Transaction status after submission

Available options:
CREATED,
QUEUED,
BROADCASTED,
CONFIRMED,
FAILED,
NOT_FOUND
Example:

"CONFIRMED"

transactionHash
string

Transaction hash or order ID (undefined for immediate actions)

Example:

"0x1234567890abcdef..."

error
string

Error message if status is FAILED

Example:

"Order rejected: Insufficient margin"

details
object

Additional provider-specific details

Example: