Mining
Used by stackers to validate a proposed Stacks block from a miner.
This API endpoint requires a basic Authorization header.
Body
anyOptional
Responses
202
Block proposal has been accepted for processing. The result will be returned via the event observer.
application/json
400
Endpoint not enabled.
401
Unauthorized.
429
There is an ongoing proposal validation being processed, the new request cannot be accepted until the prior request has been processed.
application/json
post
POST /v3/block_proposal HTTP/1.1
Host: stacks.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 928
{
"block": "00000000000000001f00000000000927c08fb5ae5bf80e39e4168f6a3fddb0407a069d21ee68465e6856393254d2a66194f44bb01070666d5effcfb2436e209a75878fe80a04b4258a8cd34ab97c38a8dde331a2a509dd7e4b90590726866172cc138c18e80567737667f55d3f9817ce4714c91d1adfd36101141829dc0b5ea0c4944668c0005ddb6f9e2718f60014f21932a42a36ffaf58e88e77b217b2af366c15dd59e6b136ca773729832dcfc5875ec0830d04012dd5a4fa77a196646ea2b356289116fd02558c034b62d63f8a65bdd20d7ffc3fec6c266cd974be776a9e92759b90f288dcc2525b6b6bd5622c5f02e0922440e9ad1095c19b4467fd94566caa9755669d8e0000000180800000000400f64081ae6209dce9245753a4f764d6f168aae1af00000000000000000000000000000064000041dbcc7391991c1a18371eb49b879240247a3ec7f281328f53976c1218ffd65421dbb101e59370e2c972b29f48dc674b2de5e1b65acbd41d5d2689124d42c16c01010000000000051a346048df62be3a52bb6236e11394e8600229e27b000000000000271000000000000000000000000000000000000000000000000000000000000000000000",
"chain_id": 2147483648
}
{
"message": "Block proposal is processing, result will be returned via the event observer",
"result": "Accepted"
}
Used to get stacker and signer set information for a given cycle.
This will only return information for cycles started in Epoch-2.5 where PoX-4 was active and subsequent cycles.
Path parameters
cycle_numberintegerRequired
reward cycle number
Responses
200
Information for the given reward cycle
application/json
400
Could not fetch the given reward set
application/json
get
GET /v3/stacker_set/{cycle_number} HTTP/1.1
Host: stacks.nownodes.io
Accept: */*
{
"stacker_set": {
"rewarded_addresses": [
{
"Standard": [
{
"bytes": "dc5f18421006ee2b98ab972edfa7268a981e3f00",
"version": 26
},
"SerializeP2PKH"
]
}
],
"signers": [
{
"signing_key": "02d0a27e4f1bf186b4391eecfcc4d4a0d403684ad089b477b8548a69dd6378bf26",
"slots": 1,
"stacked_amt": 2143020000000000
}
],
"start_cycle_state": {
"missed_reward_slots": []
}
}
}