Skip to content

The response description for v2/pox in the docs is inaccurate and the type isn't in the types package #1874

Open
@BLuEScioN

Description

@BLuEScioN

The response description for v2/pox in the docs is inaccurate - https://docs.hiro.so/api/get-proof-of-transfer-details
Plus, I don't think the response type is in the types package
I just queried v2/pox and got this
interface PoxInfo { "contract_id": string; "pox_activation_threshold_ustx": 72154348949835, "first_burnchain_block_height": 666050, "current_burnchain_block_height": 831428, "prepare_phase_block_length": 100, "reward_phase_block_length": 2000, "reward_slots": 4000, "rejection_fraction": 25, "total_liquid_supply_ustx": 1443086978996707, "current_cycle": { "id": 78, "min_threshold_ustx": 120000000000, "stacked_ustx": 447348612417993, "is_pox_active": true }, "next_cycle": { "id": 79, "min_threshold_ustx": 100000000000, "min_increment_ustx": 72154348949, "stacked_ustx": 254086305186937, "prepare_phase_start_block_height": 831850, "blocks_until_prepare_phase": 422, "reward_phase_start_block_height": 831950, "blocks_until_reward_phase": 522, "ustx_until_pox_rejection": 360771744749175 }, "min_amount_ustx": 100000000000, "prepare_cycle_length": 100, "reward_cycle_id": 78, "reward_cycle_length": 2100, "rejection_votes_left_required": 360771744749175, "next_reward_cycle_in": 522, "contract_versions": [ { "contract_id": "SP000000000000000000002Q6VF78.pox", "activation_burnchain_block_height": 666050, "first_reward_cycle_id": 0 }, { "contract_id": "SP000000000000000000002Q6VF78.pox-2", "activation_burnchain_block_height": 781552, "first_reward_cycle_id": 56 }, { "contract_id": "SP000000000000000000002Q6VF78.pox-3", "activation_burnchain_block_height": 791551, "first_reward_cycle_id": 60 } ] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions