---
title: "POST /get_producer_schedule"
method: POST
path: "/get_producer_schedule"
---

# POST /get_producer_schedule

`POST /get_producer_schedule`

Retrieves the current producer schedule from the blockchain, which includes the list of active producers and their respective rotation schedule.

## Response `200`

OK

- object
  - `active` ProducerSchedule — A json object that encapsulates the list of producers schedule and its version.
    - `version` integer — The version of the producers schedule list. Version is an integer subsequently incremented.
    - `producers` object[] — The list of producers.
      - `producer_name` string — The name of the producer.
      - `authority` object[] — Array that has as first element the version of the authority json objects and then the objects themselves.
        - `threshold` integer — The threshold value for the producer's authority.
        - `keys` object[] — An array of producers keys definition.
          - `key` string — The public key associated with the producer.
          - `weight` integer — The weight of the key in the producer's authority.
  - `pending` ProducerSchedule — A json object that encapsulates the list of producers schedule and its version.
    - `version` integer — The version of the producers schedule list. Version is an integer subsequently incremented.
    - `producers` object[] — The list of producers.
      - `producer_name` string — The name of the producer.
      - `authority` object[] — Array that has as first element the version of the authority json objects and then the objects themselves.
        - `threshold` integer — The threshold value for the producer's authority.
        - `keys` object[] — An array of producers keys definition.
          - `key` string — The public key associated with the producer.
          - `weight` integer — The weight of the key in the producer's authority.
  - `proposed` ProducerSchedule — A json object that encapsulates the list of producers schedule and its version.
    - `version` integer — The version of the producers schedule list. Version is an integer subsequently incremented.
    - `producers` object[] — The list of producers.
      - `producer_name` string — The name of the producer.
      - `authority` object[] — Array that has as first element the version of the authority json objects and then the objects themselves.
        - `threshold` integer — The threshold value for the producer's authority.
        - `keys` object[] — An array of producers keys definition.
          - `key` string — The public key associated with the producer.
          - `weight` integer — The weight of the key in the producer's authority.

---

[API](https://skmtc.net/worldwide-asset-exchange/apis/chain-api.md) · [All operations](https://skmtc.net/worldwide-asset-exchange/apis/chain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/worldwide-asset-exchange/chain-api/revisions/5bfa22186461/schema)
