-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbulk_operations_json_format_description.js
More file actions
60 lines (59 loc) · 2.2 KB
/
bulk_operations_json_format_description.js
File metadata and controls
60 lines (59 loc) · 2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
var test = {
"message": { // signed json
"post_data_to_blockchain": [
{ // server request handler method (create user, create profile etc.)
"message": { // signed users json
"param1": "value", // method parameter: parameter value
"param2": "value",
"txid": null,
"error": null,
"response": null
},
"signature": "signature", // users signature
"public_key": "public_key", // users public key
},
{
"message": {
"param1": "value", // method parameter: parameter value
"param2": "value",
"txid": null,
"error": null,
"response": null
},
"signature": "signature", // users signature
"public_key": "public_key",
},
],
"update_description": [{
"message": // signed users json
{
"param1": "value", // method parameter: parameter value
"param2": "value",
"txid": null,
"error": null,
"response": null
},
"signature": "signature", // users signature
"public_key": "public_key",
}
],
"send": [{
"message":{
"input": "address1", // sender addresses
"output": "address2", // receiver addresses
"amount": "value",
"coinid": "coinid", // blockchain type
"txid": null, // txid will filled with response
"error": null,
"response": null
},
"signature": "signature", // users signature
"public_key": "public_key", // users public key
}
],
},
"decimal": 8,
"signature": "signature",
"public_key": "public key",
"callbackURL": "some_url" // PMES backend reply send to this endpoint
}