Deserialize Payload

Deserialize Payload | des-payload.js​

This file is under the utility/tool and it is for deserializing xvexec data (vaccount action data).
Example:
deserializeVactionPayload('dappaccoun.t', '6136465e000000002a00000000000000aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e90600000000000000008090d9572d3ccdcd002370ae375c19feaa49e0d336557df8aa49010000000000000004454f5300000000026869', 'https://mainnet.eos.dfuse.io')
returns
1
{
2
"payload":{
3
"expiry":"1581659745",
4
"nonce":"42",
5
"chainid":"ACA376F206B8FC25A6ED44DBDC66547C36C6C33E3A119FFBEAEF943642F0E906",
6
"action":{
7
"account":"",
8
"action_name":"transfervacc",
9
"authorization":[
10
​
11
],
12
"action_data":"70AE375C19FEAA49E0D336557DF8AA49010000000000000004454F5300000000026869"
13
}
14
},
15
"deserializedAction":{
16
"payload":{
17
"vaccount":"dapjwaewayrb",
18
"to":"dapjkzepavdy",
19
"quantity":"0.0001 EOS",
20
"memo":"hi"
21
}
22
}
23
}
Copied!
Copy link