Staking

List related transactions for a position

Returns enriched transaction history for a staking position with cursor-based pagination. Includes in-flight transactions with status pending. The in-flight transaction is always returned first; completed and failed history is ordered by the order parameter.

get/staking/positions/{id}/related_transactions

Request

Path parameters

idstring required

Unique identifier of the staking position.

Query parameters

pageSizeinteger required
Example:10

Number of results per page (minimum: 1, maximum: 100).

pageCursorstring
Example:eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9

Cursor for the next page of results. Use the value from the 'next' field in the previous response.

order'ASC' | 'DESC'
Example:ASC

ASC / DESC ordering for completed/failed history (default DESC). The in-flight transaction is always returned first.

Response

Paginated list of related transactions for the position returned successfully.

nextstring nullable

Cursor for the next page. Use this value in the pageCursor parameter to fetch the next page. Null if no more pages.

Example response

{
  "data": [
    {
      "txId": "b70601f4-d7b1-4795-a8ee-b09cdb4r850d",
      "txHash": "0xabc123...",
      "stakingOperation": "STAKE",
      "timestamp": "2024-01-15T10:30:00.000Z",
      "status": "COMPLETED",
      "amount": "32"
    }
  ],
  "next": "eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9"
}

Changes

No recorded changes to this operation across all 1 revision of this API.