Skip to content

Why are deploy_hashes and transfer_hashes no longer present in the chain_get_block response? #96

Answered by devendran-m
devendran-m asked this question in Q&A
Discussion options

You must be logged in to vote

In the new Condor 2.0 format, deploy_hashes and transfer_hashes are no longer present. Instead, transaction hashes are now returned under the .result.block_with_signatures.block.Version2.body.transactions path.

Please refer to the below example for details. Additionally, you can also refer to the Postman Collection here for more details.

P.S. - Answer / Explanation based on the details shared by @rafal-ch in a Slack conversation.

Request;

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "chain_get_block",
  "params": [{
      "Hash": "4e1e54840377c2be91edfa23b83ed4c06fecebedc7261a831fe57be8a23a9459"
  }]
}

Response;

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "api_version": "2…

Replies: 1 comment

Comment options

devendran-m
Aug 5, 2024
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by sczembor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
json-rpc Issues with the json-rpc
1 participant