List all staking operations

Fetch a list of all staking operations.

GET
/public/network/staking/operations

Query Parameters

id?string

Filter resources by their unique identifier

autocomplete?string

Search term for autocomplete functionality

limit?integer

How many items to return at one time (max 100)

Formatint64
next?string

Pagination token for retrieving the next page of results

order?string

Sort order for the results (ascending or descending)

Value in"asc" | "desc"
sortBy?string

Field name to sort the results by

address?string

Address involved in the staking operation.

tx_hash?string

Transaction hash of the deposit.

type?string

Type of staking operation.

Value in"stake" | "unstake" | "reward" | "fee_dispatch" | "other"
when_created[$gt]?string

Filter objects created after this date and time

Formatdate-time
when_created[$gte]?string

Filter objects created after this date and time

Formatdate-time
when_created[$lt]?string

Filter objects created before this date and time

Formatdate-time
when_created[$lte]?string
Formatdate-time

Response Body

application/json

application/json

application/json

curl -X GET "https://api-testnet.dual.network/public/network/staking/operations"
{
  "operations": [
    {
      "id": "string",
      "address": "string",
      "amount": "string",
      "tx_hash": "string",
      "type": "stake",
      "when_created": "2019-08-24T14:15:22Z"
    }
  ],
  "next": "string"
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}