Skip to main content

Build Priority Funding Deposit REST API Endpoint

Build a priority funding deposit action (cDeposit). Moves spot HYPE to undelegated staking balance to fund transaction priority fees. Returns EIP-712 typed data to sign.

Updated on
May 19, 2026
info

Exchange API calls do not consume Quicknode API credits. Transactions through this endpoint are appended with a builder fee. See hyperliquidapi.com for a full breakdown. To white-label with your own builder code, contact us.


Body Parameters

action
object
REQUIRED

cDeposit action object

type
string

Must be "cDeposit"

wei
integer

Amount to deposit in wei (8 decimals). 100000 wei = 0.001 HYPE.

Returns

hash
string

Hash to sign with wallet (0x-prefixed hex string)

nonce
integer

Unique nonce for this action (timestamp in milliseconds)

action
object

Wire-format cDeposit action with hyperliquidChain and signatureChainId injected

type
string

"cDeposit"

wei
integer

Amount in wei

hyperliquidChain
string

"Mainnet" or "Testnet"

signatureChainId
string

Chain ID in hex (e.g. "0xa4b1" for Arbitrum)

nonce
integer

Nonce injected into action

actionType
string

"cDeposit"

typedData
object

Full EIP-712 typed data object for signing. Contains domain, types (HyperliquidTransaction:CDeposit), primaryType, and message.

domain
object

EIP-712 domain: name, version, chainId, verifyingContract

types
object

EIP-712 type definitions for HyperliquidTransaction:CDeposit

primaryType
string

"HyperliquidTransaction:CDeposit"

message
object

The message to sign: hyperliquidChain, wei, nonce

nextStep
string

Instructions for next step: sign the hash with private key, then POST /exchange with action, nonce, and signature (r, s, v)

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free