private/staking/get-stake-history
POSTGet stake/unstake request history/private/staking/get-stake-history
Request
Body
required
Request id (echoed in response)
Must be "private/staking/get-stake-history"
Your API key (only required for private REST)
HMAC-SHA256 signature in hex (only required for private REST)
Current timestamp in milliseconds, e.g. "1771761038000".
params objectrequired
Staking instrument name, e.g. SOL.staked
Start time in Unix format (inclusive), ms or ns. Default: end_time - 30 days. Min: end_time - 180 days.
End time in Unix format (inclusive), ms or ns. Default: current system timestamp.
Max number of requests returned. Default: 20. Max: 500.
Schema
- Array [
- Possible values:
- ➖ NEW: Request created
- ➖ PENDING: In progress
- ➖ PENDING_WITHDRAWAL: Withdrawal pending
- ➖ PENDING_UNSTAKING: Unstaking pending
- ➖ STAKED: Staked
- ➖ COMPLETED: Completed
- ➖ REJECTED: Rejected
- Possible values by operations:
- ➖ private/staking/stake: NEW, PENDING, STAKED, COMPLETED, REJECTED
- ➖ private/staking/unstake: NEW, PENDING, PENDING_WITHDRAWAL, PENDING_UNSTAKING, STAKED, COMPLETED, REJECTED
- ➖ private/staking/get-open-stake: NEW, PENDING, PENDING_WITHDRAWAL, PENDING_UNSTAKING, STAKED
- ➖ private/staking/get-stake-history: COMPLETED, REJECTED
- ]
Echoed request id
Method invoked
0 = success; non-zero indicates error (reason code).
result object
data object[]
Staking instrument name, e.g. SOL.staked
Underlying instrument name, e.g. SOL
Cycle id
Request id
Possible values: [NEW, PENDING, PENDING_WITHDRAWAL, PENDING_UNSTAKING, STAKED, COMPLETED, REJECTED]
Account id
Stake/unstake quantity. For yield-bearing instruments, in terms of original staked token. After unstaking, shows amount received (e.g. TON for TSTON.staked).
Possible values: [STAKE, UNSTAKE]
STAKE or UNSTAKE
Request creation timestamp in milliseconds in Unix time format.
Present when code !== 0.
Present when code !== 0.