Metacenter

GET /bonds/order

Bond payout order for a reward cycle.

curl "https://metacenter.0xo.in/api/bonds/order?cycle=143"

cycle defaults to the current cycle. The order comes from get-bond-payout-order.

Live response

GET https://metacenter.0xo.in/api/bonds/order · read at block 976,724
{
  "cycle": 147,
  "bonding_period": {
    "length_blocks": 25200,
    "new_period_every_blocks": 4200,
    "concurrent_max": 6,
    "note": "a bonding period runs 25,200 Bitcoin blocks (about 6 months) and a new one opens every 4,200 blocks (about a month), so at most 6 run at once"
  },
  "order": {
    "value": [
      {
        "position": 0,
        "bond_index": 1,
        "stx_value_ratio": "310237",
        "target_rate_bps": "300",
        "shares_sats": "22506212689",
        "target_per_interval_sats": "13503727",
        "term": {
          "period_start_burn_height": 966350,
          "l1_unlock_burn_height": 990500,
          "term_blocks": 24150,
          "elapsed_blocks": 10374,
          "remaining_blocks": 13776,
          "remaining_intervals": 13,
          "read_at_burn_height": 976724
        }
      },
      {
        "position": 1,
        "bond_index": 3,
        "stx_value_ratio": "275260",
        "target_rate_bps": "300",
        "shares_sats": "100510990000",
        "target_per_interval_sats": "60306594",
        "term": {
          "period_start_burn_height": 974750,
          "l1_unlock_burn_height": 998900,
          "term_blocks": 24150,
          "elapsed_blocks": 1974,
          "remaining_blocks": 22176,
          "remaining_intervals": 21,
          "read_at_burn_height": 976724
        }
      },
      "… 1 more"
    ],
    "unit": "bonds",
    "provenance": "onchain",
    "source": "SP2Q3XVGTTA4CW3E2AHFZPAGQ0HM9QPHTTBJTQGJY.pox5-reader::get-bond-payout-order(u147) via coverage-cache::refresh at burn height 975801",
    "note": "descending stx-value-ratio, ties to the lower bond index; flat per-token within a bond"
  }
}
Edit on GitHub

On this page