viz-js-lib 0.13.2 → 0.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-frontend/app.js +30 -1
- package/api-frontend/jsonrpc-api-spec.json +685 -0
- package/dist/statistics.html +1 -1
- package/dist/viz-tests.min.js.gz +0 -0
- package/dist/viz.min.js.gz +0 -0
- package/package.json +1 -1
package/api-frontend/app.js
CHANGED
|
@@ -62,7 +62,36 @@ const METHODS = [
|
|
|
62
62
|
{api:"auth_util",method:"check_authority_signature",params:["account_name","level","signatures"]},
|
|
63
63
|
{api:"block_info",method:"get_block_info",params:["start_block_num","count"]},
|
|
64
64
|
{api:"block_info",method:"get_blocks_with_info",params:["start_block_num","count"]},
|
|
65
|
-
{api:"raw_block",method:"get_raw_block",params:["block_num"]}
|
|
65
|
+
{api:"raw_block",method:"get_raw_block",params:["block_num"]},
|
|
66
|
+
{api:"prediction_market_api",method:"get_market",params:["market_id"]},
|
|
67
|
+
{api:"prediction_market_api",method:"list_markets",params:["status","from","limit","show_risky"]},
|
|
68
|
+
{api:"prediction_market_api",method:"list_markets_by_oracle",params:["oracle","from","limit"]},
|
|
69
|
+
{api:"prediction_market_api",method:"list_markets_by_creator",params:["creator","from","limit"]},
|
|
70
|
+
{api:"prediction_market_api",method:"get_market_outcomes",params:["market_id"]},
|
|
71
|
+
{api:"prediction_market_api",method:"get_market_weight_sums",params:["market_id"]},
|
|
72
|
+
{api:"prediction_market_api",method:"get_market_bets",params:["market_id","from","limit"]},
|
|
73
|
+
{api:"prediction_market_api",method:"get_account_positions",params:["account","from","limit"]},
|
|
74
|
+
{api:"prediction_market_api",method:"get_market_liquidity",params:["market_id","from","limit"]},
|
|
75
|
+
{api:"prediction_market_api",method:"get_market_full",params:["market_id","account"]},
|
|
76
|
+
{api:"prediction_market_api",method:"get_account_leverage_positions",params:["account","from","limit"]},
|
|
77
|
+
{api:"prediction_market_api",method:"get_market_leverage_positions",params:["market_id","from","limit"]},
|
|
78
|
+
{api:"prediction_market_api",method:"get_creator_ban",params:["account"]},
|
|
79
|
+
{api:"prediction_market_api",method:"get_leverage_quote",params:["market_id","outcome_index","collateral"]},
|
|
80
|
+
{api:"prediction_market_api",method:"get_leverage_close_preview",params:["position_id"]},
|
|
81
|
+
{api:"prediction_market_api",method:"get_leverage_convert_preview",params:["position_id"]},
|
|
82
|
+
{api:"prediction_market_api",method:"get_oracle",params:["owner"]},
|
|
83
|
+
{api:"prediction_market_api",method:"list_oracles",params:["from","limit"]},
|
|
84
|
+
{api:"prediction_market_api",method:"get_dispute",params:["market_id"]},
|
|
85
|
+
{api:"prediction_market_api",method:"get_dispute_votes",params:["market_id"]},
|
|
86
|
+
{api:"prediction_market_api",method:"get_lazy_pool"},
|
|
87
|
+
{api:"prediction_market_api",method:"get_lazy_deposit",params:["account"]},
|
|
88
|
+
{api:"prediction_market_api",method:"get_lazy_allocations",params:["from","limit"]},
|
|
89
|
+
{api:"prediction_market_api",method:"get_market_lazy_allocation",params:["market_id"]},
|
|
90
|
+
{api:"prediction_market_api",method:"get_pm_chain_properties"},
|
|
91
|
+
{api:"prediction_market_api",method:"get_market_meta",params:["market_id"]},
|
|
92
|
+
{api:"prediction_market_api",method:"list_markets_by_category",params:["category","from","limit","jurisdiction","subcategory","tag","sort"]},
|
|
93
|
+
{api:"prediction_market_api",method:"get_market_categories"},
|
|
94
|
+
{api:"prediction_market_api",method:"get_market_kline",params:["market_id","from","limit"]},
|
|
66
95
|
];
|
|
67
96
|
|
|
68
97
|
// ─── Derived structures ─────────────────────────────────────────────────────
|