Stacks PoX-5

PoX-5 staking data: stakes, signers, bonds

Every print from the pox-5 contract, decoded and filterable by staker, signer, bond or reward cycle. One key, one call.

Every row is an index you can check, not one you have to trust. Check it yourself →

1$curl "https://api.secondlayer.tools/v1/index/pox5/events?topic=stake-update&limit=1&fields=block_height,staker,amount_ustx,unlock_cycle" \
2 -H "Authorization: Bearer sk-sl_…"
200response.jsonjson
1{
2 "events": [{
3 "cursor": "9333163:59",
4 "block_height": 9333163,
5 "topic": "stake-update",
6 "staker": "SP3EP7SQFX61NZY44QSAEESZJMQ9YV9QWRY4YAP9A",
7 "amount_ustx": "1004900000",
8 "unlock_cycle": 243
9 }],
10 "next_cursor": "9333163:59"
11}
Webhooks· push

Get pushed instead

PoX-5 has no trigger of its own: it is a print event on the pox-5 contract. Narrow it to your signers with print fields.

webhook.tsts
1import { trigger } from "@secondlayer/sdk";
2
3await sl.webhooks.create({
4 name: "pox5-prints",
5 url: "https://my-app.com/webhook",
6 triggers: [
7 trigger.printEvent({ contractId: "SP000000000000000000002Q6VF78.pox-5" }),
8 ],
9});