For the complete documentation index, see llms.txt. This page is also available as Markdown.

Transfer HYPE tokens from SPOT to STAKING balance

Transfer HYPE tokens from SPOT to STAKING balance

post
/api/v1/hyperliquid/{network}/staking/transfer

Transfer HYPE tokens from SPOT to STAKING balance on the Hyperliquid network. Required to delegate HYPE tokens for staking rewards.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
networkstring · enumRequired

The Hyperliquid network to use

Example: mainnetPossible values:
Body
amountnumber · min: 0.1 · max: 9007199254740991Required

HYPE amount to transfer

Example: 10
delegatorAddressstringRequired

Delegator Hyperliquid address

Example: 0x80f0cd23da5bf3a0101110cfd0f89c8a69a1384e
Responses
200

OK

application/json
errorobject · nullableRequiredDefault: null
resultone ofRequired
post/api/v1/hyperliquid/{network}/staking/transfer
POST /api/v1/hyperliquid/{network}/staking/transfer HTTP/1.1
Host: api.p2p.org
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 77

{
  "amount": 10,
  "delegatorAddress": "0x80f0cd23da5bf3a0101110cfd0f89c8a69a1384e"
}
{
  "result": {},
  "error": {}
}

Last updated