Signer Metrics API (v0.4.6)

Download OpenAPI specification:Download

Welcome to the API reference overview for the Signer Metrics API.

Status

Service status endpoints

API Status

Displays the status of the API and its current workload

Responses

Response samples

Content type
application/json
{
  • "server_version": "signer-metrics-api v0.0.1 (master:a1b2c3)",
  • "status": "ready",
  • "chain_tip": {
    }
}

Signers

PoX Cycle Signers

List of signers for a given PoX cycle

path Parameters
cycle_number
required
integer

PoX cycle number

query Parameters
limit
required
integer
Default: 100

Number of results to return (default: 100)

offset
required
integer
Default: 0

Number of results to skip (default: 0)

Responses

Response samples

Content type
application/json
{
  • "total": 0,
  • "limit": 0,
  • "offset": 0,
  • "results": [
    ]
}

PoX Cycle Signer

Get stats for a specific signer in a given PoX cycle

path Parameters
cycle_number
required
integer

PoX cycle number

signer_id
required
string

Signer public key (hex encoded)

Responses

Response samples

Content type
application/json
{
  • "signer_key": "string",
  • "weight": 0,
  • "weight_percentage": 0,
  • "stacked_amount": "string",
  • "stacked_amount_percent": 0,
  • "stacked_amount_rank": 0,
  • "proposals_accepted_count": 0,
  • "proposals_rejected_count": 0,
  • "proposals_missed_count": 0,
  • "average_response_time_ms": 0
}

Blocks

Aggregated signer information for most recent blocks

Aggregated signer information for most recent blocks

query Parameters
limit
required
integer
Default: 100

Number of results to return

offset
required
integer
Default: 0

Number of results to skip

Responses

Response samples

Content type
application/json
{
  • "total": 0,
  • "limit": 0,
  • "offset": 0,
  • "results": [
    ]
}