@@ -2211,6 +2211,71 @@ paths:
2211
2211
summary : Get namespace blobs on height
2212
2212
tags :
2213
2213
- namespace
2214
+ /proposal :
2215
+ get :
2216
+ description : List proposal info
2217
+ operationId : list-proposal
2218
+ parameters :
2219
+ - description : Count of requested entities
2220
+ in : query
2221
+ name : limit
2222
+ schema :
2223
+ maximum : 100
2224
+ type : integer
2225
+ - description : Offset
2226
+ in : query
2227
+ name : offset
2228
+ schema :
2229
+ type : integer
2230
+ - description : " Sort order. Default: desc"
2231
+ in : query
2232
+ name : sort
2233
+ schema :
2234
+ enum :
2235
+ - asc
2236
+ - desc
2237
+ type : string
2238
+ - description : Proposer celestia address
2239
+ in : query
2240
+ name : proposer
2241
+ schema :
2242
+ maxLength : 47
2243
+ minLength : 47
2244
+ type : string
2245
+ - description : Comma-separated proposal status list
2246
+ in : query
2247
+ name : status
2248
+ schema :
2249
+ type : string
2250
+ - description : Comma-separated proposal type list
2251
+ in : query
2252
+ name : type
2253
+ schema :
2254
+ type : string
2255
+ responses :
2256
+ " 200 " :
2257
+ content :
2258
+ application/json :
2259
+ schema :
2260
+ items :
2261
+ $ref : ' #/components/schemas/responses.Proposal'
2262
+ type : array
2263
+ description : OK
2264
+ " 400 " :
2265
+ content :
2266
+ application/json :
2267
+ schema :
2268
+ $ref : ' #/components/schemas/handler.Error'
2269
+ description : Bad Request
2270
+ " 500 " :
2271
+ content :
2272
+ application/json :
2273
+ schema :
2274
+ $ref : ' #/components/schemas/handler.Error'
2275
+ description : Internal Server Error
2276
+ summary : List proposal info
2277
+ tags :
2278
+ - proposal
2214
2279
/rollup :
2215
2280
get :
2216
2281
description : List rollups info
@@ -5021,9 +5086,15 @@ components:
5021
5086
type : object
5022
5087
responses.Enums :
5023
5088
example :
5089
+ proposal_type :
5090
+ - proposal_type
5091
+ - proposal_type
5024
5092
event_type :
5025
5093
- event_type
5026
5094
- event_type
5095
+ proposal_status :
5096
+ - proposal_status
5097
+ - proposal_status
5027
5098
rollup_type :
5028
5099
- rollup_type
5029
5100
- rollup_type
@@ -5059,6 +5130,14 @@ components:
5059
5130
items :
5060
5131
type : string
5061
5132
type : array
5133
+ proposal_status :
5134
+ items :
5135
+ type : string
5136
+ type : array
5137
+ proposal_type :
5138
+ items :
5139
+ type : string
5140
+ type : array
5062
5141
rollup_type :
5063
5142
items :
5064
5143
type : string
@@ -5631,6 +5710,158 @@ components:
5631
5710
additionalProperties :
5632
5711
type : string
5633
5712
type : object
5713
+ responses.Proposal :
5714
+ example :
5715
+ " no " : 1234
5716
+ metadata : metadata
5717
+ yes_voting_power : " 1000000000"
5718
+ abstain : 1234
5719
+ no_with_veto_addrs : 1234
5720
+ changes :
5721
+ - 0
5722
+ - 0
5723
+ created_at : 2023-07-04T03:10:57Z
5724
+ description : Some proposal description
5725
+ title : Proposal title
5726
+ type : param_changed
5727
+ abstain_vals : 1234
5728
+ votes_count : 12354
5729
+ no_addrs : 1234
5730
+ no_with_veto_vals : 1234
5731
+ no_with_veto_voting_power : " 1000000000"
5732
+ id : 321
5733
+ height : 100
5734
+ no_with_veto : 1234
5735
+ abstain_addrs : 1234
5736
+ proposer :
5737
+ celestials :
5738
+ image_url : https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC
5739
+ name : name
5740
+ primary : true
5741
+ status : VERIFIED
5742
+ hash : celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
5743
+ " yes " : 1234
5744
+ deposit_time : 2023-07-04T03:10:57Z
5745
+ activation_time : 2023-07-04T03:10:57Z
5746
+ voting_power : " 1000000000"
5747
+ yes_addrs : 1234
5748
+ abstain_voting_power : " 1000000000"
5749
+ yes_vals : 1234
5750
+ deposit : " 1000000000"
5751
+ no_vals : 1234
5752
+ no_voting_power : " 1000000000"
5753
+ status : active
5754
+ properties :
5755
+ abstain :
5756
+ example : 1234
5757
+ type : integer
5758
+ abstain_addrs :
5759
+ example : 1234
5760
+ type : integer
5761
+ abstain_vals :
5762
+ example : 1234
5763
+ type : integer
5764
+ abstain_voting_power :
5765
+ example : " 1000000000"
5766
+ format : string
5767
+ type : string
5768
+ activation_time :
5769
+ example : 2023-07-04T03:10:57Z
5770
+ format : date-time
5771
+ type : string
5772
+ changes :
5773
+ items :
5774
+ type : integer
5775
+ type : array
5776
+ created_at :
5777
+ example : 2023-07-04T03:10:57Z
5778
+ format : date-time
5779
+ type : string
5780
+ deposit :
5781
+ example : " 1000000000"
5782
+ format : string
5783
+ type : string
5784
+ deposit_time :
5785
+ example : 2023-07-04T03:10:57Z
5786
+ format : date-time
5787
+ type : string
5788
+ description :
5789
+ example : Some proposal description
5790
+ format : string
5791
+ type : string
5792
+ height :
5793
+ example : 100
5794
+ format : int64
5795
+ type : integer
5796
+ id :
5797
+ example : 321
5798
+ format : int64
5799
+ type : integer
5800
+ metadata :
5801
+ example : metadata
5802
+ format : string
5803
+ type : string
5804
+ " no " :
5805
+ example : 1234
5806
+ type : integer
5807
+ no_addrs :
5808
+ example : 1234
5809
+ type : integer
5810
+ no_vals :
5811
+ example : 1234
5812
+ type : integer
5813
+ no_voting_power :
5814
+ example : " 1000000000"
5815
+ format : string
5816
+ type : string
5817
+ no_with_veto :
5818
+ example : 1234
5819
+ type : integer
5820
+ no_with_veto_addrs :
5821
+ example : 1234
5822
+ type : integer
5823
+ no_with_veto_vals :
5824
+ example : 1234
5825
+ type : integer
5826
+ no_with_veto_voting_power :
5827
+ example : " 1000000000"
5828
+ format : string
5829
+ type : string
5830
+ proposer :
5831
+ $ref : ' #/components/schemas/responses.ShortAddress'
5832
+ status :
5833
+ example : active
5834
+ format : string
5835
+ type : string
5836
+ title :
5837
+ example : Proposal title
5838
+ format : string
5839
+ type : string
5840
+ type :
5841
+ example : param_changed
5842
+ format : string
5843
+ type : string
5844
+ votes_count :
5845
+ example : 12354
5846
+ type : integer
5847
+ voting_power :
5848
+ example : " 1000000000"
5849
+ format : string
5850
+ type : string
5851
+ " yes " :
5852
+ example : 1234
5853
+ type : integer
5854
+ yes_addrs :
5855
+ example : 1234
5856
+ type : integer
5857
+ yes_vals :
5858
+ example : 1234
5859
+ type : integer
5860
+ yes_voting_power :
5861
+ example : " 1000000000"
5862
+ format : string
5863
+ type : string
5864
+ type : object
5634
5865
responses.Redelegation :
5635
5866
example :
5636
5867
amount : " 0.1"
@@ -6370,6 +6601,7 @@ components:
6370
6601
name : indexer
6371
6602
total_voting_power : " 312"
6372
6603
total_blobs_size : 56789
6604
+ total_proposals : 56789
6373
6605
id : 321
6374
6606
hash : 652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF
6375
6607
properties :
@@ -6417,6 +6649,10 @@ components:
6417
6649
example : 312
6418
6650
format : string
6419
6651
type : integer
6652
+ total_proposals :
6653
+ example : 56789
6654
+ format : int64
6655
+ type : integer
6420
6656
total_stake :
6421
6657
example : " 312"
6422
6658
format : string
0 commit comments