List Staking Event History
List Staking Event History
POSThttps://api.gemini.com/v1/staking/history
Returns all staking deposits, redemptions, and interest accruals for the account.
POST
curl --request POST \
--url https://api.gemini.com/v1/staking/history \
--header 'Content-Type: application/json' \
--header 'X-GEMINI-APIKEY: <string>' \
--header 'X-GEMINI-PAYLOAD: <string>' \
--header 'X-GEMINI-SIGNATURE: <string>' \
--data '
{
"request": "/v1/staking/history",
"nonce": "<nonce>",
"account": "primary",
"since": "2022-11-01T00:00:00.000Z",
"until": "2022-11-03T00:00:00.000Z",
"limit": 50
}
'Roles
The API key you use to access this endpoint must have the Trader, Fund Manager, or Auditor role assigned. See Roles for more information.
How to iterate through all transactions
- Initial request: POST to with a JSON payload includingCodeset toCodeand aCodeofCode.Code
- The response is sorted by descending — the last element has the lowestCode. Call itCode.Code
- Send a second request with set toCode,CodestillCode, andCodeofCode.Code
- Repeat using the last element's timestamp minus one as the new value.Code
- Continue until an empty list is returned.
Headers
Request Body
Responses
Staking transaction history
Last modified on