cDeposit payload - Staking Deposits
Decode Hyperliquid `cDeposit` payloads for staking deposits, returned through Dwellir's read-only L1 gRPC API.
Read-only action reference
Dwellir's Hyperliquid gRPC API returns this decoded action payload through
StreamBlocks and
GetBlock. It does not submit or execute this action.
Submit supported user write actions through Hyperliquid's native
POST /exchange
endpoint.
The decoded cDeposit payload records native tokens moving from a user's spot account into staking for delegation to validators.
How to Read It
The action body gives you the raw native-token amount in wei. The surrounding signed-action envelope carries the signature and nonce, while the paired resps.Full entry tells you whether the staking transfer succeeded on chain.
Sample Data
{
"signature": {
"r": "0x3cbb47f1325d3c32177e669cd16b34c284382c9f14baaa6aab8378c2fd5f8a6",
"s": "0x36c7707a539f353132f68255a1f96defb18fcc946af9e5fbb065104c0e537d6d",
"v": 28
},
"action": {
"type": "cDeposit",
"signatureChainId": "0xa4b1",
"hyperliquidChain": "Mainnet",
"wei": 783683,
"nonce": 1768148050528
},
"nonce": 1768148050528
}View this transaction on Hypurrscan
Field Reference
Envelope Fields
| Field | Type | Description |
|---|---|---|
signature | object | ECDSA signature for the signed action |
nonce | number | Replay-protection nonce used for ordering and uniqueness |
Action Fields
| Field | Type | Description |
|---|---|---|
type | string | Always "cDeposit" |
signatureChainId | string | Chain identifier used during signing |
hyperliquidChain | string | Target Hyperliquid environment, such as Mainnet |
wei | number | Raw native-token amount transferred into staking, in wei |
Processing Guidance
- Treat
weias a raw integer amount. Convert it with the asset metadata your application already trusts before rendering it to users. - Do not mark the staking deposit as successful from the action payload alone. Join the action to its response in
resps.Fulland confirm the response status. - Keep the nonce when indexing. It is useful for deduplication, timeline ordering, and replay protection analysis.
- Pair
cDepositwith later tokenDelegate payloads when reconstructing a user's staking activity.
Common Use Cases
Staking Funding Monitoring
Track native tokens moving from spot balances into staking before validator delegation.
Delegation Timeline Analysis
Combine staking deposits with later delegation payloads to reconstruct changes in staked balances.
Related Action Payloads
- cWithdraw for transfers from staking back to spot
- tokenDelegate for validator delegation changes
- StreamBlocks for block and response pairing