{
"BlockID": "27c0be6aba42ae4641c95d9a920399f689450f94388a7ac26c11188eb3b689b0", // Hex of latest block template hash
"DifficultyTargetHex": "000000000000673b615ce18c1f9ddc322745eb8fb6f55b1debefc4bbbaf7db8a", // Hex of the current difficulty target
"ExtraNonces": [1], // extra nonces in the block reward metadata
"Headers": [[1,2,3]], // bytes of the headers of the block
"LatestBlockTemplateStats": {
"TxnCount": 0, // Number of transactions in the block template
"FailingTxnError": "You good", // Reason why the final transaction failed to add. If no error, "You good" returned.
"FailingTxnHash": "Nada", // Hash of final transaction tatempted to be put into the block that failed. If no error, "Nada" returned.
"FailingTxnMinutesSinceAdded": 0, // Time since the failing transaction was added to the mempool
"FailingTxnOriginalTimeAdded": "2021-12-07T16:22:47.018211613Z" // The time of the first block in which the failed transaction was added.
}
}
...coming soon! See comments in sample response for descriptions for now.
{
// Response
}
Submit Block
POST/api/v0/submit-block
Submits block to be processed by node's block producer
Extra data nonce to be used in the block reward transaction
BlockID*
String
ID of block to be looked up from the block producer
{
"IsMainChain": true, // If true, this is a block for the mainchain. If false, this is a block for testnet.
"IsOrphan": false, // If true, this is an orphan block. If false, this block is not an orphan.
}
...coming soon! See comments in sample response for descriptions for now.