Developers Forum for XinFin XDC Network

Liam
Liam

Posted on • Updated on

[Informative] How to check latest committed block on apothem network

Announcing the Release of Consensue Version 2: Streamlined Transaction Confirmations on Testnet

🚀 Exciting news for all Testnet owners and transaction submitters! With the launch of Consensue Version 2, the wait for transaction confirmations is now significantly reduced. You can immediately start using the new API to check the status of your transactions. Say goodbye to the lengthy delay of 100 blocks for final confirmation.

🔒 Key Highlight: Once a block is confirmed in Consensue Version 2, it's irreversible, ensuring the finality and security of your transactions. Our enhanced protocol confirms blocks in just 6 seconds, with a new block generated every 2 seconds. This rapid confirmation process means you can trust that your transactions are finalized swiftly and securely.

💡 Remember, with Consensue Version 2, efficiency and security go hand in hand, making your Testnet experience smoother and more reliable.

Start experiencing the power of faster, safer transactions today!

curl --location 'https://erpc.apothem.network/' \
--header 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","method":"XDPoS_getV2BlockByNumber","params":["committed"],"id":1}'
Enter fullscreen mode Exit fullscreen mode
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "Hash": "0x6bd92e34d9d62dbf1d243f685c4c85a0ec7b317b5cdcd94e8e7fce630bf30d97",
        "Round": 704193,
        "Number": 57528223,
        "ParentHash": "0x9c6ca11cdea959bac1671a707987f265ed918f873d69c3be9d9bd4d7c2152927",
        "Committed": true,
        "Miner": "0x0000000000000000000000009594884daf2acde67e89095702459b06dd60c302",
        "Timestamp": 1701689336,
        "EncodedRLP": "xxx",
        "Error": ""
    }
}
Enter fullscreen mode Exit fullscreen mode

Discussion (1)

Collapse
gzliudan profile image
Daniel Liu • Edited on

Is there document for all new APIs ?