Where are transfer hashes located in the new format? #100
Unanswered
devendran-m
asked this question in
Q&A
Replies: 2 comments 1 reply
-
A new transaction of type transfer, for instance, sent using 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": "37800a4502f86de16d4c9a7941ae3b926bca9771601115e8451aece6c6b7d462"
}]
} Response: {
"jsonrpc": "2.0",
"id": 1,
"result": {
"api_version": "2.0.0",
"block_with_signatures": {
"block": {
"Version2": {
"hash": "37800a4502f86de16d4c9a7941ae3b926bca9771601115e8451aece6c6b7d462",
"header": {
"parent_hash": "40eb247c28426444786001a2948612a31e90c80635b68d0f472e69bc88fc146c",
"state_root_hash": "d33d572c4f6dd5f8ada1f27e9e5e3e5013ba76c2ddff7db1d8ae3ef1bb12a57a",
"body_hash": "7dd2f575616ca17b7b887a2dd578311144f99471fc1aae677d1c78bf719d88ba",
"random_bit": true,
"accumulated_seed": "0dce24c1eeb7e66bff70875a26dea1f187b693e3040b4ae098fd0ec359017791",
"era_end": null,
"timestamp": "2024-07-10T02:50:29.893Z",
"era_id": 234,
"height": 102664,
"protocol_version": "2.0.1",
"proposer": "0140afe8f752e5ff100e0189c080bc207e8805b3e5e82f792ec608de2f11f39f6c",
"current_gas_price": 1,
"last_switch_block_hash": "3fe6e0469c3676219c72f63a074351af3269849e7d9b8dabe110be5973ef1ed1"
},
"body": {
"transactions": {
"0": [
{
"Version1": "0d0587e1d5838dad219db97eaae9e877b830c6c9113d16cfbc987fe86c81513a"
}
]
},
"rewarded_signatures": [
[
240
],
[
0
],
[
0
]
]
}
}
},
"proofs": [
{
"public_key": "01032146b0b9de01e26aaec7b0d1769920de94681dbd432c3530bfe591752ded6c",
"signature": "013efe672715e932c90947e51c627073381306bdd469ef5ffd61b40267763d1f685ea8c50fa16d208407d99794faf070c1cd7b22855c1740460bc6e4753307ee02"
},
{
"public_key": "0126d4637eb0c0769274f03a696df1112383fa621c9f73f57af4c5c0fbadafa8cf",
"signature": "01ffa29fd981a32695d95cbea8c51b9a0b3d65edca19ec0451b1ed74e957caf976712b383d73bbfa44adc5be2b2e2ce0f87a8bd6cb666e43fcaf56ed2491e03007"
},
{
"public_key": "0140afe8f752e5ff100e0189c080bc207e8805b3e5e82f792ec608de2f11f39f6c",
"signature": "01371645c623929d658bbe8fe847a990b2820ba6eddeb5d8197d45b1f1eb0b9504874306808946c48c4265b05d958fba5767e0b1963c56afbaa5458defccc4500e"
},
{
"public_key": "017536433a73f7562526f3e9fcb8d720428ae2d28788a9909f3c6f637a9d848a4b",
"signature": "019af9196c7ec4396fc67b88fc6691d816df9a3219156f514f9e6ea7e3e0506367d6736f41f58e32578eb2b925e65472ad1bb817de6e67106a5e1de31282f3da05"
}
]
}
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
@devendran-m Can you take a look at this? The "Request" section calls the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Where are transfer hashes located in the new format of the JSON RPC response?
Beta Was this translation helpful? Give feedback.
All reactions