-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo_config.json
114 lines (114 loc) · 2.26 KB
/
demo_config.json
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"timeout_ms": 2000,
"period_ms": 10000,
"concurrency": 32,
"endpoints": [
{
"url": "https://rpc.mainnet.near.org"
},
{
"url": "https://archival-rpc.mainnet.near.org"
},
{
"url": "https://beta.rpc.mainnet.near.org"
},
{
"url": "https://free.rpc.fastnear.com"
}
],
"payloads": [
{
"name": "status",
"data": null
},
{
"name": "gas_price",
"data": {
"jsonrpc": "2.0",
"method": "gas_price",
"params": [
null
],
"id": "0"
}
},
{
"name": "validators",
"data": {
"jsonrpc": "2.0",
"method": "validators",
"params": {
"latest": null
},
"id": "0"
}
},
{
"name": "final_block",
"data": {
"jsonrpc": "2.0",
"method": "block",
"params": {
"finality": "final"
},
"id": "0"
}
},
{
"name": "query_fc_epoch_optimistic",
"data": {
"jsonrpc": "2.0",
"method": "query",
"params": {
"finality": "optimistic",
"request_type": "call_function",
"account_id": "epoch.berryclub.ek.near",
"method_name": "e",
"args_base64": "e30="
},
"id": "0"
}
},
{
"name": "query_fc_epoch_final",
"data": {
"jsonrpc": "2.0",
"method": "query",
"params": {
"finality": "final",
"request_type": "call_function",
"account_id": "epoch.berryclub.ek.near",
"method_name": "e",
"args_base64": "e30="
},
"id": "0"
}
},
{
"name": "query_account_final",
"data": {
"jsonrpc": "2.0",
"method": "query",
"params": {
"finality": "final",
"request_type": "view_account",
"account_id": "game.hot.tg"
},
"id": "0"
}
},
{
"name": "query_account_optimistic",
"data": {
"jsonrpc": "2.0",
"method": "query",
"params": {
"finality": "optimistic",
"request_type": "view_account",
"account_id": "game.hot.tg"
},
"id": "0"
}
}
]
}