UNPKG

1.43 kBJSONView Raw
1[
2 {
3 "path": "/",
4 "method": "get",
5 "handler": "system.api.helloworld"
6 },
7 {
8 "path": "/message",
9 "method": "post",
10 "handler": "system.api.message"
11 },
12 {
13 "path": "/openAccount",
14 "method": "post",
15 "handler": "blockchain.accounts.open"
16 },
17 {
18 "path": "/transaction",
19 "method": "put",
20 "handler": "blockchain.transactions.addTransaction"
21 },
22 {
23 "path": "/transactions",
24 "method": "get",
25 "handler": "blockchain.transactions.getTransactions"
26 },
27 {
28 "path": "/blocks/get",
29 "method": "get",
30 "handler": "blockchain.blocks.getBlock"
31 },
32 {
33 "path": "/blocks",
34 "method": "get",
35 "handler": "blockchain.blocks.getBlocks"
36 },
37 {
38 "path": "/blocks/after",
39 "method": "get",
40 "handler": "blockchain.blocks.getBlocksAfter"
41 },
42 {
43 "path": "/blocks/height",
44 "method": "get",
45 "handler": "blockchain.blocks.getHeight"
46 },
47 {
48 "path": "/blocks/common",
49 "method": "get",
50 "handler": "blockchain.blocks.findCommon"
51 },
52 {
53 "path": "/blocks/count",
54 "method": "get",
55 "handler": "blockchain.blocks.count"
56 },
57 {
58 "path": "/withdrawal",
59 "method": "post",
60 "handler": "contracts.withdrawaltransfer.withdrawal"
61 },
62 {
63 "path": "/delegates",
64 "method": "put",
65 "handler": "blockchain.delegates.addDelegates"
66 },
67 {
68 "path": "/tokens",
69 "method": "put",
70 "handler": "blockchain.token.addToken"
71 },
72 {
73 "path": "/tokens",
74 "method": "get",
75 "handler": "blockchain.token.getTokens"
76 }
77]
\No newline at end of file