Skip to main content

1. Prepare the transaction

Retrieve an unsignedTransaction object from the relevant API endpoint, e.g., /staking/transfer, /staking/delegate, /staking/undelegate, /staking/withdraw.

2. Sign the transaction

Use the P2P Signer SDK to sign the unsigned data following protocol specific configuration.

3. Send the transaction

Broadcast the signed transaction to the Hyperliquid network by sending a POST request to /api/v1/hyperliquid/{network}/transaction/send. Example request (for testnet network):
  • signedTransaction — signed transaction in the hexadecimal format which needs to be broadcasted to the network.
Example response:
  • createdAt — timestamp of the transaction in the ISO 8601 format.
  • network — network name.

Related topics

Staking API reference