@ -76,21 +76,4 @@ Stacking is a built-in capability of PoX and is realized through a set of action
Stacking is implemented as a smart contract using Clarity. On the testnet, you can always find the Stacking contract by this contract identifier: `ST000000000000000000002AMW42H.pox`.
Stacking is implemented as a smart contract using Clarity. On the testnet, you can always find the Stacking contract by this contract identifier: `ST000000000000000000002AMW42H.pox`.
You can examine the contract sources ([`pox.clar`](https://github.com/blockstack/stacks-blockchain/blob/master/src/chainstate/stacks/boot/pox.clar)), but here is a summary of important methods:
-> Check out the [PoX contract reference](#todo) for more details
| `get-reward-set-size` | Reward cycle | Number of addresses | ✅ | Get the size of the reward set |
| `get-total-ustx-stacked` | Reward cycle | Amount of microstacks | ✅ | Get amount stacked |
| `get-reward-set-pox-address` | Reward cycle | Tuple/None | ✅ | Get list of reward addresses and amount stacked |
| `get-stacking-minimum` | | | ✅ | Minimum number of microstacks to participate in Stacking |
| `get-pox-info` | | Object | ✅ | Get PoX parameters, including cycle id, length, block height, and more. Also available in [Stacks Blockchain API](https://blockstack.github.io/stacks-blockchain-api/#operation/get_pox_info) |
| **Stacking** |
| `can-stack-stx` | BTC address, amount, starting cycle, locking cycles | True/Error | ✅ | Check if stacking participation is possible |
| `get-stacker-info` | Stacks Address | | ✅ | Get stacking details for a specific stacker |
| **Rejection** |
| `get-pox-rejection` | Stacks Address | Tuple/None | ✅ | Get rejection vote for Stacking address |
| `is-pox-active` | Reward cycle | True/False | ✅ | Get PoX rejection status for a reward cycle. Also available in [Stacks Blockchain API](https://blockstack.github.io/stacks-blockchain-api/#operation/get_pox_info) |
| `reject-pox` | | True | | Reject Stacking for this reward cycle. Sender votes all its microstacks for rejection |