Block to be mined
GET/mining
Returns the base64 of the block to be mined inbytes and an array of the hash of parents in hex
Request
Query Parameters
address string
Address to send the mined tokens
Responses
- 200
- 503
Success
- application/json
- Schema
- success
Schema
any
Block in bytes and array with hash of parents in hex
{
"parents": [
"0001e298570e37d46f9101bcf903bde67186f26a83d88b9cb196f38b49623457",
"00002b3be4e3876e67b5e090d76dcd71cde1a30ca1e54e38d65717ba131cd22f",
"0002bb171de3490828028ec5eef3325956acb6bcffa6a50466bb9a81d38363c2"
],
"block_bytes": "AAFALAAAAAAAAFw3hyYAAAAAAAAAAgAAAAEAAwAAAeKYVw431G+RAbz5A73mcYbyaoPYi5yxlvOLSWI0VwAAKzvk44duZ7XgkNdtzXHN4aMMoeVOONZXF7oTHNIvAAK7Fx3jSQgoAo7F7vMyWVastrz/pqUEZruagdODY8IAAAfQAAAZdqkUjb8SxMLMIljwVbjaYSHUbiVSjt6IrAAAAAA="
}
Node still syncing
- application/json
- Schema
- error
Schema
any
Node still syncing
{
"reason": "Node still syncing"
}
Loading...