diff --git a/Makefile b/Makefile index d2f75138b79..ef40281f797 100644 --- a/Makefile +++ b/Makefile @@ -167,6 +167,7 @@ docs: @echo @echo "=========== Generate Complete ============" @echo +.PHONY: docs protoVer=v0.2 protoImageName=tendermintdev/sdk-proto-gen:$(protoVer) diff --git a/client/docs/config.json b/client/docs/config.json index 30662cb74b5..dce7013b055 100644 --- a/client/docs/config.json +++ b/client/docs/config.json @@ -7,26 +7,26 @@ }, "apis": [ { - "url": "../../tmp-swagger-gen/osmosis/gamm/v1beta1/query.swagger.json", + "url": "../../tmp-swagger-gen/osmosis/epochs/query.swagger.json", "operationIds": { "rename": { - "Params": "GAMMParams" + "Params": "EpochsParams" } } }, { - "url": "../../tmp-swagger-gen/osmosis/epochs/query.swagger.json", + "url": "../../tmp-swagger-gen/osmosis/gamm/v1beta1/query.swagger.json", "operationIds": { "rename": { - "Params": "EpochsParams" + "Params": "GAMMParams" } } }, { - "url": "../../tmp-swagger-gen/osmosis/pool-incentives/v1beta1/query.swagger.json", + "url": "../../tmp-swagger-gen/osmosis/incentives/query.swagger.json", "operationIds": { "rename": { - "Params": "PoolIncentivesParams" + "Params": "IncentivesParams" } } }, @@ -39,26 +39,44 @@ } }, { - "url": "../../tmp-swagger-gen/osmosis/incentives/query.swagger.json", + "url": "../../tmp-swagger-gen/osmosis/mint/v1beta1/query.swagger.json", "operationIds": { "rename": { - "Params": "IncentivesParams" + "Params": "MintParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/osmosis/pool-incentives/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "LockableDurations": "PoolLockableDurations", + "Params": "PoolIncentivesParams" } } }, { - "url": "../../tmp-swagger-gen/osmosis/claim/v1beta1/query.swagger.json", + "url": "../../tmp-swagger-gen/osmosis/superfluid/query.swagger.json", "operationIds": { "rename": { - "Params": "ClaimParams" + "Params": "SuperfluidParams" } } }, { - "url": "../../tmp-swagger-gen/osmosis/mint/v1beta1/query.swagger.json", + "url": "../../tmp-swagger-gen/osmosis/tokenfactory/v1beta1/query.swagger.json", "operationIds": { "rename": { - "Params": "MintParams" + "Params": "TokenfactoryParams" + } + } + }, + { + "url": "../../tmp-swagger-gen/osmosis/txfees/v1beta1/query.swagger.json", + "operationIds": { + "rename": { + "Params": "TxFeesParams", + "BaseDenom": "TxFeesBaseDenom" } } }, @@ -71,100 +89,106 @@ } }, { - "url": "../../tmp-swagger-gen/cosmos/bank/v1beta1/query.swagger.json", + "url": "../../tmp-swagger-gen/cosmos/authz/v1beta1/query.swagger.json", "operationIds": { "rename": { - "Params": "BankParams" + "Params": "AuthzParams" } } }, { - "url": "../../tmp-swagger-gen/cosmos/distribution/v1beta1/query.swagger.json", + "url": "../../tmp-swagger-gen/cosmos/bank/v1beta1/query.swagger.json", "operationIds": { "rename": { - "Params": "DistributionParams" + "Params": "BankParams" } } }, { - "url": "../../tmp-swagger-gen/cosmos/evidence/v1beta1/query.swagger.json", + "url": "../../tmp-swagger-gen/cosmos/base/tendermint/v1beta1/query.swagger.json", "operationIds": { "rename": { - "Params": "EvidenceParams" + "Params": "BaseParams" } } }, { - "url": "../../tmp-swagger-gen/cosmos/gov/v1beta1/query.swagger.json", + "url": "../../tmp-swagger-gen/cosmos/distribution/v1beta1/query.swagger.json", "operationIds": { "rename": { - "Params": "GovParams" + "Params": "DistributionParams" } } }, { - "url": "../../tmp-swagger-gen/cosmos/params/v1beta1/query.swagger.json", + "url": "../../tmp-swagger-gen/cosmos/evidence/v1beta1/query.swagger.json", "operationIds": { "rename": { - "Params": "Params" + "Params": "EvidenceParams" } } }, { - "url": "../../tmp-swagger-gen/cosmos/slashing/v1beta1/query.swagger.json", + "url": "../../tmp-swagger-gen/cosmos/feegrant/v1beta1/query.swagger.json", "operationIds": { "rename": { - "Params": "SlashingParams" + "Params": "FeegrantParams" } } }, { - "url": "../../tmp-swagger-gen/cosmos/staking/v1beta1/query.swagger.json", + "url": "../../tmp-swagger-gen/cosmos/gov/v1beta1/query.swagger.json", "operationIds": { "rename": { - "Params": "StakingParams", - "Pool": "StakingPool", - "DelegatorValidators": "StakingDelegatorValidators" + "Params": "GovParams" } } }, { - "url": "../../tmp-swagger-gen/cosmos/upgrade/v1beta1/query.swagger.json", + "url": "../../tmp-swagger-gen/cosmos/mint/v1beta1/query.swagger.json", "operationIds": { "rename": { - "Params": "UpgradeParams" + "Params": "CosmosMintParams" } } }, { - "url": "../../tmp-swagger-gen/ibc/core/channel/v1/query.swagger.json", + "url": "../../tmp-swagger-gen/cosmos/params/v1beta1/query.swagger.json", "operationIds": { "rename": { - "Params": "IBCChannelParams" + "Params": "Params" } } }, { - "url": "../../tmp-swagger-gen/ibc/core/client/v1/query.swagger.json", + "url": "../../tmp-swagger-gen/cosmos/slashing/v1beta1/query.swagger.json", "operationIds": { "rename": { - "Params": "IBCClientParams" + "Params": "SlashingParams" } } }, { - "url": "../../tmp-swagger-gen/ibc/core/connection/v1/query.swagger.json", + "url": "../../tmp-swagger-gen/cosmos/staking/v1beta1/query.swagger.json", "operationIds": { "rename": { - "Params": "IBCConnectionParams" + "Params": "StakingParams", + "Pool": "StakingPool", + "DelegatorValidators": "StakingDelegatorValidators" } } }, { - "url": "../../tmp-swagger-gen/ibc/applications/transfer/v1/query.swagger.json", + "url": "../../tmp-swagger-gen/cosmos/tx/v1beta1/service.swagger.json", + "dereference": { + "circular": "ignore" + } + }, + { + "url": "../../tmp-swagger-gen/cosmos/upgrade/v1beta1/query.swagger.json", "operationIds": { "rename": { - "Params": "IBCTransferParams" + "Params": "UpgradeParams" } } } diff --git a/client/docs/package.json b/client/docs/package.json index c38bc57fabb..baf109a506a 100644 --- a/client/docs/package.json +++ b/client/docs/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "redoc-cli": "^0.9.12", - "swagger-combine": "^1.3.0", + "swagger-combine": "^1.4.0", "swagger2openapi": "^7.0.3" } } diff --git a/client/docs/static/openapi/index.html b/client/docs/static/openapi/index.html index 68c0a07abd1..368811ac057 100644 --- a/client/docs/static/openapi/index.html +++ b/client/docs/static/openapi/index.html @@ -146,6 +146,8 @@ data-styled.g9[id="sc-fujyUd"]{content:"dmdCWO,"}/*!sc*/ .kWxjDZ{font-family:Montserrat,sans-serif;font-weight:400;font-size:1.57143em;line-height:1.6em;color:black;}/*!sc*/ data-styled.g10[id="sc-pNWxx"]{content:"kWxjDZ,"}/*!sc*/ +.eCIxyj{color:#ffffff;}/*!sc*/ +data-styled.g12[id="sc-kEqYlL"]{content:"eCIxyj,"}/*!sc*/ .hAFWNc{border-bottom:1px solid rgba(38,50,56,0.3);margin:1em 0 1em 0;color:rgba(38,50,56,0.5);font-weight:normal;text-transform:uppercase;font-size:0.929em;line-height:20px;}/*!sc*/ data-styled.g13[id="sc-iqAbSa"]{content:"hAFWNc,"}/*!sc*/ .hzAFMi{cursor:pointer;margin-left:-20px;padding:0;line-height:1;width:20px;display:inline-block;outline:0;}/*!sc*/ @@ -159,7 +161,8 @@ .jlUNTT polygon{fill:#d41f1c;}/*!sc*/ .hFuYxn{height:20px;width:20px;vertical-align:middle;float:right;-webkit-transition:-webkit-transform 0.2s ease-out;-webkit-transition:transform 0.2s ease-out;transition:transform 0.2s ease-out;-webkit-transform:rotateZ(0);-ms-transform:rotateZ(0);transform:rotateZ(0);}/*!sc*/ .hFuYxn polygon{fill:white;}/*!sc*/ -data-styled.g15[id="sc-dIsAE"]{content:"hlNMKC,zIEmD,jlUNTT,hFuYxn,"}/*!sc*/ +.dWXhZG{height:18px;width:18px;vertical-align:middle;-webkit-transition:-webkit-transform 0.2s ease-out;-webkit-transition:transform 0.2s ease-out;transition:transform 0.2s ease-out;-webkit-transform:rotateZ(-90deg);-ms-transform:rotateZ(-90deg);transform:rotateZ(-90deg);}/*!sc*/ +data-styled.g15[id="sc-dIsAE"]{content:"hlNMKC,zIEmD,jlUNTT,hFuYxn,dWXhZG,"}/*!sc*/ .bfyodq{border-left:1px solid #a4a4c6;box-sizing:border-box;position:relative;padding:10px 10px 10px 0;}/*!sc*/ tr:first-of-type > .sc-hBMVcZ,tr.last > .bfyodq{border-left-width:0;background-position:top left;background-repeat:no-repeat;background-size:1px 100%;}/*!sc*/ tr:first-of-type > .sc-hBMVcZ{background-image:linear-gradient( to bottom, transparent 0%, transparent 22px, #a4a4c6 22px, #a4a4c6 100% );}/*!sc*/ @@ -182,6 +185,21 @@ .buVWLu .sc-dIvqjp,.buVWLu .sc-dIvqjp .sc-dIvqjp .sc-dIvqjp,.buVWLu .sc-dIvqjp .sc-dIvqjp .sc-dIvqjp .sc-dIvqjp .sc-dIvqjp{margin:1em;margin-right:0;background:#fafafa;}/*!sc*/ .buVWLu .sc-dIvqjp .sc-dIvqjp,.buVWLu .sc-dIvqjp .sc-dIvqjp .sc-dIvqjp .sc-dIvqjp,.buVWLu .sc-dIvqjp .sc-dIvqjp .sc-dIvqjp .sc-dIvqjp .sc-dIvqjp .sc-dIvqjp{background:#ffffff;}/*!sc*/ data-styled.g24[id="sc-hHEjAm"]{content:"buVWLu,"}/*!sc*/ +.diVOEA{margin-left:10px;text-transform:none;font-size:0.929em;color:black;}/*!sc*/ +data-styled.g43[id="sc-jcwofb"]{content:"diVOEA,"}/*!sc*/ +.ceoCql > ul{list-style:none;padding:0;margin:0;margin:0 -5px;}/*!sc*/ +.ceoCql > ul > li{padding:5px 10px;display:inline-block;background-color:#11171a;border-bottom:1px solid rgba(0,0,0,0.5);cursor:pointer;text-align:center;outline:none;color:#b3b3b3;margin:0 5px 5px 5px;border:1px solid #07090b;border-radius:5px;min-width:60px;font-size:0.9em;font-weight:bold;}/*!sc*/ +.ceoCql > ul > li.react-tabs__tab--selected{color:#333333;background:#ffffff;}/*!sc*/ +.ceoCql > ul > li.react-tabs__tab--selected:focus{outline:auto;}/*!sc*/ +.ceoCql > ul > li:only-child{-webkit-flex:none;-ms-flex:none;flex:none;min-width:100px;}/*!sc*/ +.ceoCql > ul > li.tab-success{color:#1d8127;}/*!sc*/ +.ceoCql > ul > li.tab-redirect{color:#ffa500;}/*!sc*/ +.ceoCql > ul > li.tab-info{color:#87ceeb;}/*!sc*/ +.ceoCql > ul > li.tab-error{color:#d41f1c;}/*!sc*/ +.ceoCql > .react-tabs__tab-panel{background:#11171a;}/*!sc*/ +.ceoCql > .react-tabs__tab-panel > div,.ceoCql > .react-tabs__tab-panel > pre{padding:20px;margin:0;}/*!sc*/ +.ceoCql > .react-tabs__tab-panel > div > pre{padding:0;}/*!sc*/ +data-styled.g44[id="sc-carGAA"]{content:"ceoCql,"}/*!sc*/ .cOZQxS code[class*='language-'],.cOZQxS pre[class*='language-']{text-shadow:0 -0.1em 0.2em black;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;}/*!sc*/ @media print{.cOZQxS code[class*='language-'],.cOZQxS pre[class*='language-']{text-shadow:none;}}/*!sc*/ .cOZQxS pre[class*='language-']{padding:1em;margin:0.5em 0;overflow:auto;}/*!sc*/ @@ -201,6 +219,11 @@ .cOZQxS .token.entity{cursor:help;}/*!sc*/ .cOZQxS .token.deleted{color:red;}/*!sc*/ data-styled.g46[id="sc-iBzFoy"]{content:"cOZQxS,"}/*!sc*/ +.kizJoo{opacity:0.4;-webkit-transition:opacity 0.3s ease;transition:opacity 0.3s ease;text-align:right;}/*!sc*/ +.kizJoo:focus-within{opacity:1;}/*!sc*/ +.kizJoo > button{background-color:transparent;border:0;color:inherit;padding:2px 10px;font-family:Roboto,sans-serif;font-size:14px;line-height:1.5em;cursor:pointer;outline:0;}/*!sc*/ +.kizJoo > button:hover,.kizJoo > button:focus{background:rgba(255,255,255,0.1);}/*!sc*/ +data-styled.g47[id="sc-efHXLn"]{content:"kizJoo,"}/*!sc*/ .ps{overflow:hidden !important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto;}/*!sc*/ .ps__rail-x{display:none;opacity:0;-webkit-transition:background-color .2s linear,opacity .2s linear;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0px;position:absolute;}/*!sc*/ .ps__rail-y{display:none;opacity:0;-webkit-transition:background-color .2s linear,opacity .2s linear;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute;}/*!sc*/ @@ -292,12 +315,50 @@ .gecBYU a:visited{color:#32329f;}/*!sc*/ .gecBYU a:hover{color:#6868cf;}/*!sc*/ data-styled.g54[id="sc-ArjOu"]{content:"gecBYU,"}/*!sc*/ +.eQwAZu{position:relative;}/*!sc*/ +data-styled.g55[id="sc-khIgXV"]{content:"eQwAZu,"}/*!sc*/ +.hwFewY:hover > .sc-efHXLn{opacity:1;}/*!sc*/ +data-styled.g60[id="sc-iNiQeE"]{content:"hwFewY,"}/*!sc*/ +.bFlCqe{font-family:Courier,monospace;font-size:13px;white-space:pre;contain:content;overflow-x:auto;}/*!sc*/ +.bFlCqe .redoc-json > .collapser{display:none;}/*!sc*/ +.bFlCqe .callback-function{color:gray;}/*!sc*/ +.bFlCqe .collapser:after{content:'-';cursor:pointer;}/*!sc*/ +.bFlCqe .collapsed > .collapser:after{content:'+';cursor:pointer;}/*!sc*/ +.bFlCqe .ellipsis:after{content:' … ';}/*!sc*/ +.bFlCqe .collapsible{margin-left:2em;}/*!sc*/ +.bFlCqe .hoverable{padding-top:1px;padding-bottom:1px;padding-left:2px;padding-right:2px;border-radius:2px;}/*!sc*/ +.bFlCqe .hovered{background-color:rgba(235,238,249,1);}/*!sc*/ +.bFlCqe .collapser{padding-right:6px;padding-left:6px;}/*!sc*/ +.bFlCqe ul{list-style-type:none;padding:0px;margin:0px 0px 0px 26px;}/*!sc*/ +.bFlCqe li{position:relative;display:block;}/*!sc*/ +.bFlCqe .hoverable{display:inline-block;}/*!sc*/ +.bFlCqe .selected{outline-style:solid;outline-width:1px;outline-style:dotted;}/*!sc*/ +.bFlCqe .collapsed > .collapsible{display:none;}/*!sc*/ +.bFlCqe .ellipsis{display:none;}/*!sc*/ +.bFlCqe .collapsed > .ellipsis{display:inherit;}/*!sc*/ +.bFlCqe .collapser{position:absolute;top:1px;left:-1.5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none;}/*!sc*/ +data-styled.g61[id="sc-jffIyK"]{content:"bFlCqe,"}/*!sc*/ +.gasyRS{padding:0.9em;background-color:rgba(38,50,56,0.4);margin:0 0 10px 0;display:block;font-family:Montserrat,sans-serif;font-size:0.929em;line-height:1.5em;}/*!sc*/ +data-styled.g62[id="sc-eJoaVz"]{content:"gasyRS,"}/*!sc*/ +.bbKFgY{font-family:Montserrat,sans-serif;font-size:12px;position:absolute;z-index:1;top:-11px;left:12px;font-weight:600;color:rgba(255,255,255,0.4);}/*!sc*/ +data-styled.g63[id="sc-oefIU"]{content:"bbKFgY,"}/*!sc*/ +.bqSAvT{position:relative;}/*!sc*/ +data-styled.g64[id="sc-hhIhEF"]{content:"bqSAvT,"}/*!sc*/ +.fhUivV{margin-top:15px;}/*!sc*/ +data-styled.g67[id="sc-gGLyOc"]{content:"fhUivV,"}/*!sc*/ +.Hlvtr button{background-color:transparent;border:0;outline:0;font-size:13px;font-family:Courier,monospace;cursor:pointer;padding:0;color:#333333;}/*!sc*/ +.Hlvtr button:focus{font-weight:600;}/*!sc*/ +.Hlvtr .sc-dIsAE{height:1.1em;width:1.1em;}/*!sc*/ +.Hlvtr .sc-dIsAE polygon{fill:#808080;}/*!sc*/ +data-styled.g68[id="sc-ckTRkR"]{content:"Hlvtr,"}/*!sc*/ .ffLJSh{vertical-align:middle;font-size:13px;line-height:20px;}/*!sc*/ data-styled.g69[id="sc-fbIXFq"]{content:"ffLJSh,"}/*!sc*/ .lmAzvs{color:rgba(128,128,128,0.8);}/*!sc*/ data-styled.g70[id="sc-FRqcf"]{content:"lmAzvs,"}/*!sc*/ .hftVBq{color:#808080;}/*!sc*/ data-styled.g71[id="sc-fXazxj"]{content:"hftVBq,"}/*!sc*/ +.SmIsP{color:#808080;word-break:break-word;}/*!sc*/ +data-styled.g72[id="sc-dvXXZy"]{content:"SmIsP,"}/*!sc*/ .cRaJfP{vertical-align:middle;font-size:13px;line-height:20px;}/*!sc*/ data-styled.g73[id="sc-TtZHJ"]{content:"cRaJfP,"}/*!sc*/ .bfDxeF{color:#d41f1c;font-size:0.9em;font-weight:normal;margin-left:20px;line-height:1;}/*!sc*/ @@ -305,9 +366,6 @@ .dYpOEw{border-radius:2px;background-color:rgba(51,51,51,0.05);color:rgba(51,51,51,0.9);padding:0 5px;border:1px solid rgba(51,51,51,0.1);font-family:Courier,monospace;}/*!sc*/ .sc-eKYRpg + .sc-eKYRpg{margin-left:0;}/*!sc*/ data-styled.g78[id="sc-eKYRpg"]{content:"dYpOEw,"}/*!sc*/ -.hDztXq{border-radius:2px;background-color:rgba(142,142,220,0.05);color:rgba(50,50,159,0.9);margin:0 5px;padding:0 5px;border:1px solid rgba(50,50,159,0.1);font-family:Courier,monospace;}/*!sc*/ -.sc-kHWWFa + .sc-kHWWFa{margin-left:0;}/*!sc*/ -data-styled.g80[id="sc-kHWWFa"]{content:"hDztXq,"}/*!sc*/ .bCtQK{margin-top:0;margin-bottom:0.5em;}/*!sc*/ data-styled.g86[id="sc-fuIRbl"]{content:"bCtQK,"}/*!sc*/ .htVLwM{border:1px solid #32329f;color:#32329f;font-weight:normal;margin-left:0.5em;padding:4px 8px 4px;display:inline-block;-webkit-text-decoration:none;text-decoration:none;cursor:pointer;}/*!sc*/ @@ -356,7 +414,8 @@ .lbxURJ:focus{box-shadow:inset 0 2px 2px rgba(0,0,0,0.45),0 2px 0 rgba(128,128,128,0.25);}/*!sc*/ data-styled.g107[id="sc-xGAYn"]{content:"lbxURJ,"}/*!sc*/ .fDdIiv{font-size:0.929em;line-height:20px;background-color:#6bbd5b;color:#ffffff;padding:3px 10px;text-transform:uppercase;font-family:Montserrat,sans-serif;margin:0;}/*!sc*/ -data-styled.g108[id="sc-dWBSoC"]{content:"fDdIiv,"}/*!sc*/ +.gyWLOi{font-size:0.929em;line-height:20px;background-color:#248fb2;color:#ffffff;padding:3px 10px;text-transform:uppercase;font-family:Montserrat,sans-serif;margin:0;}/*!sc*/ +data-styled.g108[id="sc-dWBSoC"]{content:"fDdIiv,gyWLOi,"}/*!sc*/ .hnNwwi{position:absolute;width:100%;z-index:100;background:#fafafa;color:#263238;box-sizing:border-box;box-shadow:0px 0px 6px rgba(0,0,0,0.33);overflow:hidden;border-bottom-left-radius:4px;border-bottom-right-radius:4px;-webkit-transition:all 0.25s ease;transition:all 0.25s ease;visibility:hidden;-webkit-transform:translateY(-50%) scaleY(0);-ms-transform:translateY(-50%) scaleY(0);transform:translateY(-50%) scaleY(0);}/*!sc*/ data-styled.g109[id="sc-jHcYrh"]{content:"hnNwwi,"}/*!sc*/ .gtKCCj{padding:10px;}/*!sc*/ @@ -373,6 +432,8 @@ data-styled.g116[id="sc-ljslrt"]{content:"fcVGze,"}/*!sc*/ .bBmAHf{-webkit-backface-visibility:hidden;backface-visibility:hidden;contain:content;overflow:hidden;}/*!sc*/ data-styled.g128[id="sc-eXuzZk"]{content:"bBmAHf,"}/*!sc*/ +.eokZKJ{margin-bottom:30px;}/*!sc*/ +data-styled.g129[id="sc-iGkqGz"]{content:"eokZKJ,"}/*!sc*/ .gHivHp{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:20px;height:20px;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;color:#32329f;}/*!sc*/ data-styled.g130[id="sc-irKEWy"]{content:"gHivHp,"}/*!sc*/ .hVKzgS{width:260px;background-color:#fafafa;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-backface-visibility:hidden;backface-visibility:hidden;height:100vh;position:-webkit-sticky;position:sticky;position:-webkit-sticky;top:0;}/*!sc*/ @@ -405,32 +466,38 @@ -

Osmosis - gRPC Gateway docs (1.0.0)

Download OpenAPI specification:Download

A REST interface for state queries, legacy transactions

-

Query

NumPools

Responses

Query

CurrentEpoch provide current epoch of specified identifier

query Parameters
identifier
string

Responses

EpochInfos provide running epochInfos

Responses

NumPools

Responses

Pools

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key @@ -459,45 +530,138 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

Per Pool gRPC Endpoints

path Parameters
poolId
required
string <uint64>

Responses

Per Pool gRPC Endpoints

path Parameters
pool_id
required
string <uint64>

Responses

PoolParams

path Parameters
poolId
required
string <uint64>

Responses

PoolParams

path Parameters
pool_id
required
string <uint64>

Responses

SpotPrice

path Parameters
poolId
required
string <uint64>
query Parameters
tokenInDenom
string
tokenOutDenom
string
withSwapFee
boolean

Responses

SpotPrice defines a gRPC query handler that returns the spot price given +a base denomination and a quote denomination.

path Parameters
pool_id
required
string <uint64>
query Parameters
base_asset_denom
string
quote_asset_denom
string

Responses

PoolAssets

path Parameters
poolId
required
string <uint64>

Responses

TotalPoolLiquidity

path Parameters
pool_id
required
string <uint64>

Responses

TotalShare

path Parameters
poolId
required
string <uint64>

Responses

TotalShares

path Parameters
pool_id
required
string <uint64>

Responses

TotalLiquidity

Responses

TotalLiquidity

Responses

Estimate the swap.

path Parameters
poolId
required
string <uint64>
query Parameters
sender
string
tokenIn
string

Responses

Estimate the swap.

path Parameters
pool_id
required
string <uint64>
query Parameters
sender
string
token_in
string

Responses

EstimateSwapExactAmountOut

path Parameters
poolId
required
string <uint64>
query Parameters
sender
string
tokenOut
string

Responses

EstimateSwapExactAmountOut

path Parameters
pool_id
required
string <uint64>
query Parameters
sender
string
token_out
string

Responses

CurrentEpoch provide current epoch of specified identifier

query Parameters
identifier
string

Responses

ActiveGauges returns active gauges

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

+

Responses

EpochInfos provide running epochInfos

Responses

ActiveGaugesPerDenom returns active gauges by denom

query Parameters
denom
string

Desired denom when querying active gagues.

+
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

+

Responses

GaugeByID returns gauges by their respective ID

path Parameters
id
required
string <uint64>

Gague ID being queried

+

Responses

Gauges returns both upcoming and active gauges

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

+

Responses

DistrInfo

Responses

LockableDurations returns lockable durations that are valid to distribute +incentives for

Responses

GaugeIds takes the pool id and returns the matching gauge ids and durations

path Parameters
pool_id
required
string <uint64>

Responses

ModuleDistributedCoins returns coins that are distributed by the module so +far

Responses

IncentivizedPools

Responses

ModuleToDistributeCoins returns coins that are going to be distributed

Responses

RewardsEst returns an estimate of the rewards from now until a specified +time in the future The querier either provides an address or a set of locks +for which they want to find the associated rewards

path Parameters
owner
required
string

Address that is being queried for future estimated rewards

+
query Parameters
lock_ids
Array of strings <uint64>

Lock IDs included in future reward estimation.

+
end_epoch
string <int64>

Upper time limit of reward estimation +Lower limit is current epoch.

+

Responses

LockableDurations

Responses

Returns scheduled gauges that have not yet occured

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

+

Responses

UpcomingGaugesPerDenom returns scheduled gauges that have not yet occured +by denom

query Parameters
denom
string

Filter for upcoming gagues that match specific denom.

+
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

+

Responses

PoolIncentivesParams

Responses

Return a locked coins that can't be withdrawn

path Parameters
owner
required
string

Responses

Return a locked coins that can't be withdrawn

path Parameters
owner
required
string

Responses

Returns account locked records with a specific duration

path Parameters
owner
required
string
query Parameters
duration
string

Responses

Returns account locked records with longer duration

path Parameters
owner
required
string
query Parameters
duration
string

Responses

Returns account locked records with longer duration

path Parameters
owner
required
string
query Parameters
duration
string

Responses

Returns account's locked records for a denom with longer duration

path Parameters
owner
required
string
query Parameters
duration
string
denom
string

Responses

Returns lock record by id

path Parameters
lock_id
required
string <uint64>

Responses

Return full balance of the module

Responses

Returns total locked per denom with longer past given time

query Parameters
denom
string
duration
string

Responses

Return full balance of the module

Responses

Return locked balance of the module

Responses

returns active gauges

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +

Returns synthetic lockups by native lockup id

path Parameters
lock_id
required
string <uint64>

Responses

EpochProvisions returns the current minting epoch provisions value.

Responses

Params returns the total set of minting parameters.

Responses

DistrInfo returns the pool's matching gauge ids and weights.

Responses

ExternalIncentiveGauges returns external incentive gauges.

Responses

GaugeIds takes the pool id and returns the matching gauge ids and durations

path Parameters
pool_id
required
string <uint64>

Responses

IncentivizedPools returns currently incentivized pools

Responses

LockableDurations returns lock durations for pools.

Responses

Params returns pool incentives params.

Responses

Returns all registered superfluid assets.

Responses

Returns all superfluid intermediary accounts.

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. @@ -531,15 +717,63 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

returns Gauge by id

path Parameters
id
required
string <uint64>

Responses

Returns the total amount of osmo superfluidly staked. +Response is denominated in uosmo.

Responses

Returns the osmo equivalent multiplier used in the most recent epoch.

query Parameters
denom
string

Responses

Returns superfluid asset type, whether if it's a native asset or an lp +share.

query Parameters
denom
string

Responses

Returns intermediary account connected to a superfluid staked lock by id

path Parameters
lock_id
required
string <uint64>

Responses

Returns the amount of a specific denom delegated to a specific validator +This is labeled an estimate, because the way it calculates the amount can +lead rounding errors from the true delegated amount

query Parameters
validator_address
string
denom
string

Responses

Params returns the total set of superfluid parameters.

Responses

Returns the coins superfluid delegated for the delegator, validator, denom +triplet

query Parameters
delegator_address
string
validator_address
string
denom
string

Responses

Returns all the delegated superfluid poistions for a specific delegator.

path Parameters
delegator_address
required
string

Responses

Returns all the superfluid positions of a specific denom delegated to one +validator

query Parameters
validator_address
string
denom
string

Responses

Returns all the undelegating superfluid poistions for a specific delegator.

path Parameters
delegator_address
required
string
query Parameters
denom
string

Responses

Returns the specified delegations for a specific delegator

path Parameters
delegator_address
required
string

Responses

DenomAuthorityMetadata defines a gRPC query method for fetching +DenomAuthorityMetadata for a particular denom.

path Parameters
denom
required
string

Responses

DenomsFromCreator defines a gRPC query method for fetching all +denominations created by a specific admin/creator.

path Parameters
creator
required
string

Responses

Params defines a gRPC query method that returns the tokenfactory module's +parameters.

Responses

Returns a list of all base denom tokens and their corresponding pools.

Responses

returns gauges both upcoming and active

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +

Returns the poolID for a specified denom input.

path Parameters
denom
required
string

Responses

FeeTokens returns a list of all the whitelisted fee tokens and their +corresponding pools. It does not include the BaseDenom, which has its own +query endpoint

Responses

DenomSpotPrice returns all spot prices by each registered token denom.

query Parameters
denom
string

Responses

Accounts returns all the existing accounts

Since: cosmos-sdk 0.43

+
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. @@ -547,21 +781,23 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

returns coins that are distributed by module so far

Responses

Account returns account details based on address.

path Parameters
address
required
string

address defines the address to query for.

+

Responses

returns coins that is going to be distributed

Responses

ModuleAccounts returns all the existing module accounts.

Responses

RewardsEst returns an estimate of the rewards at a future specific time. -The querier either provides an address or a set of locks -for which they want to find the associated rewards.

path Parameters
owner
required
string
query Parameters
lock_ids
Array of strings <uint64>
end_epoch
string <int64>

Responses

Params queries all parameters.

Responses

returns scheduled gauges

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +

Returns list of `Authorization`, granted to the grantee by the granter.

query Parameters
granter
string
grantee
string
msg_type_url
string

Optional, msg_type_url, when set, will query only grants matching given msg type.

+
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. @@ -569,32 +805,15 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

ClaimRecord

path Parameters
address
required
string

Responses

ClaimableForAction

path Parameters
address
required
string
action
required
string
Enum: "ActionAddLiquidity" "ActionSwap" "ActionVote" "ActionDelegateStake"

Responses

ModuleAccountBalance

Responses

ClaimParams

Responses

TotalClaimable

path Parameters
address
required
string

Responses

EpochProvisions current minting epoch provisions value.

Responses

Params returns the total set of minting parameters.

Responses

Account returns account details based on address.

path Parameters
address
required
string

address defines the address to query for.

-

Responses

Params queries all parameters.

Responses

AllBalances queries the balance of all coins for a single account.

path Parameters
address
required
string

address is the address to query balances for.

+

AllBalances queries the balance of all coins for a single account.

path Parameters
address
required
string

address is the address to query balances for.

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

@@ -603,17 +822,22 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

Balance queries the balance of a single coin for a single account.

path Parameters
address
required
string

address is the address to query balances for.

-
denom
required
string

denom is the coin denom to query balances for.

+

Balance queries the balance of a single coin for a single account.

path Parameters
address
required
string

address is the address to query balances for.

+
query Parameters
denom
string

denom is the coin denom to query balances for.

Responses

DenomsMetadata queries the client metadata for all registered coin denominations.

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +

BaseDenom queries for a base denomination given a denom that can either be +the base denom itself or a metadata denom unit that maps to the base denom.

query Parameters
denom
string

Responses

DenomsMetadata queries the client metadata for all registered coin denominations.

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. @@ -621,10 +845,12 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

DenomsMetadata queries the client metadata of a given coin denomination.

path Parameters
denom
required
string

denom is the coin denom to query the metadata for.

@@ -632,12 +858,45 @@

Params queries the parameters of x/bank module.

Responses

TotalSupply queries the total supply of all coins.

Responses

TotalSupply queries the total supply of all coins.

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

+

Responses

SupplyOf queries the supply of a single coin.

path Parameters
denom
required
string

denom is the coin denom to query balances for.

Responses

CommunityPool queries the community pool coins.

Responses

TotalSupplyWithoutOffset queries the total supply of all coins.

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

+

Responses

SupplyOf queries the supply of a single coin.

path Parameters
denom
required
string

denom is the coin denom to query balances for.

+

Responses

CommunityPool queries the community pool coins.

Responses

DelegationTotalRewards queries the total rewards accrued by a each validator.

path Parameters
delegator_address
required
string

delegator_address defines the delegator address to query for.

@@ -672,10 +931,12 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

AllEvidence queries all evidence.

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin @@ -686,16 +947,38 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

Evidence queries evidence based on evidence hash.

path Parameters
evidence_hash
required
string <byte>

evidence_hash defines the hash of the requested evidence.

Responses

Params queries all parameters of the gov module.

path Parameters
params_type
required
string

params_type defines which parameters to query for, can be one of "voting", +

Allowance returns fee granted to the grantee by the granter.

path Parameters
granter
required
string

granter is the address of the user granting an allowance of their funds.

+
grantee
required
string

grantee is the address of the user being granted an allowance of another user's funds.

+

Responses

Allowances returns all the grants for address.

path Parameters
grantee
required
string
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +querying the next page most efficiently. Only one of offset or key +should be set.

+
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. +It is less efficient than using key. Only one of offset or key should +be set.

+
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. +If left empty it will default to a value to be set by each app.

+
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +a count of the total number of items available for pagination in UIs. +count_total is only respected when offset is used. It is ignored when key +is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

+

Responses

Params queries all parameters of the gov module.

path Parameters
params_type
required
string

params_type defines which parameters to query for, can be one of "voting", "tallying" or "deposit".

Responses

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

Proposal queries proposal details based on ProposalID.

path Parameters
proposal_id
required
string <uint64>

proposal_id defines the unique id of the proposal.

@@ -741,10 +1026,12 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

Deposit queries single deposit information based proposalID, depositAddr.

path Parameters
proposal_id
required
string <uint64>

proposal_id defines the unique id of the proposal.

@@ -763,17 +1050,25 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

Vote queries voted information based on proposalID, voterAddr.

path Parameters
proposal_id
required
string <uint64>

proposal_id defines the unique id of the proposal.

voter
required
string

voter defines the oter address for the proposals.

Responses

Params queries a specific parameter of a module, given its subspace and +

AnnualProvisions current minting annual provisions value.

Responses

Inflation returns the current minting inflation value.

Responses

Params returns the total set of minting parameters.

Responses

Params queries a specific parameter of a module, given its subspace and key.

query Parameters
subspace
string

subspace defines the module to query the parameter for.

key
string

key defines the key of the parameter in the subspace.

Responses

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

SigningInfo queries the signing info of given cons address

path Parameters
cons_address
required
string

cons_address is the address to query signing info of

@@ -806,10 +1103,12 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

Redelegations queries redelegations of given address.

path Parameters
delegator_addr
required
string

delegator_addr defines the delegator address to query for.

@@ -823,10 +1122,12 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

DelegatorUnbondingDelegations queries all unbonding delegations of a given @@ -839,10 +1140,12 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

DelegatorValidators queries all validators info for given delegator @@ -855,10 +1158,12 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

DelegatorValidator queries validator info for given delegator validator @@ -882,10 +1187,12 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

Validator queries validator info for given validator address.

path Parameters
validator_addr
required
string

validator_addr defines the validator address to query for.

@@ -900,10 +1207,12 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

Delegation queries delegate info for given validator delegator pair.

path Parameters
validator_addr
required
string

validator_addr defines the validator address to query for.

@@ -924,10 +1233,12 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

AppliedPlan queries a previously applied upgrade plan by its name.

path Parameters
name
required
string

name is the name of the applied plan to query for.

@@ -935,51 +1246,30 @@

CurrentPlan queries the current upgrade plan.

Responses

UpgradedConsensusState queries the consensus state that will serve +

ModuleVersions queries the list of module versions from state.

Since: cosmos-sdk 0.43

+
query Parameters
module_name
string

module_name is a field to query a specific module +consensus version from state. Leaving this empty will +fetch the full list of module versions from state.

+

Responses

UpgradedConsensusState queries the consensus state that will serve as a trusted kernel for the next version of this chain. It will only be stored at the last height of this chain. -UpgradedConsensusState RPC not supported with legacy querier

path Parameters
last_height
required
string <int64>

last height of the current chain must be sent in request +UpgradedConsensusState RPC not supported with legacy querier +This rpc is deprecated now that IBC has its own replacement +(https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54)

path Parameters
last_height
required
string <int64>

last height of the current chain must be sent in request as this is the height under which next consensus state is stored

Responses

Channels queries all the IBC channels of a chain.

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin -querying the next page most efficiently. Only one of offset or key -should be set.

-
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. -It is less efficient than using key. Only one of offset or key should -be set.

-
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. -If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include -a count of the total number of items available for pagination in UIs. -count_total is only respected when offset is used. It is ignored when key -is set.

-

Responses

Channel queries an IBC Channel.

path Parameters
channel_id
required
string

channel unique identifier

-
port_id
required
string

port unique identifier

-

Responses

Service

GetLatestBlock returns the latest block.

Responses

ChannelClientState queries for the client state for the channel associated -with the provided channel identifiers.

path Parameters
channel_id
required
string

channel unique identifier

-
port_id
required
string

port unique identifier

-

Responses

GetBlockByHeight queries block for given height.

path Parameters
height
required
string <int64>

Responses

ChannelConsensusState queries for the consensus state for the channel -associated with the provided channel identifiers.

path Parameters
channel_id
required
string

channel unique identifier

-
port_id
required
string

port unique identifier

-
revision_number
required
string <uint64>

revision number of the consensus state

-
revision_height
required
string <uint64>

revision height of the consensus state

-

Responses

GetNodeInfo queries the current node info.

Responses

NextSequenceReceive returns the next receive sequence for a given channel.

path Parameters
channel_id
required
string

channel unique identifier

-
port_id
required
string

port unique identifier

-

Responses

GetSyncing queries node syncing.

Responses

PacketAcknowledgements returns all the packet acknowledgements associated -with a channel.

path Parameters
channel_id
required
string

channel unique identifier

-
port_id
required
string

port unique identifier

-
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +

GetLatestValidatorSet queries latest validator-set.

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. @@ -987,21 +1277,15 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

PacketAcknowledgement queries a stored packet acknowledgement hash.

path Parameters
channel_id
required
string

channel unique identifier

-
port_id
required
string

port unique identifier

-
sequence
required
string <uint64>

packet sequence

-

Responses

PacketCommitments returns all the packet commitments hashes associated -with a channel.

path Parameters
channel_id
required
string

channel unique identifier

-
port_id
required
string

port unique identifier

-
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +

GetValidatorSetByHeight queries validator-set at a given height.

path Parameters
height
required
string <int64>
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. @@ -1009,98 +1293,21 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

Responses

UnreceivedAcks returns all the unreceived IBC acknowledgements associated with a -channel and sequences.

path Parameters
channel_id
required
string

channel unique identifier

-
port_id
required
string

port unique identifier

-
packet_ack_sequences
required
Array of strings <uint64> non-empty

list of acknowledgement sequences

-

Responses

UnreceivedPackets returns all the unreceived IBC packets associated with a -channel and sequences.

path Parameters
channel_id
required
string

channel unique identifier

-
port_id
required
string

port unique identifier

-
packet_commitment_sequences
required
Array of strings <uint64> non-empty

list of packet sequences

-

Responses

PacketCommitment queries a stored packet commitment hash.

path Parameters
channel_id
required
string

channel unique identifier

-
port_id
required
string

port unique identifier

-
sequence
required
string <uint64>

packet sequence

-

Responses

Simulate simulates executing a transaction for estimating gas usage.

Request Body schema: application/json
object (cosmos.tx.v1beta1.Tx)

Tx is the standard type used for broadcasting transactions.

+
tx_bytes
string <byte>

tx_bytes is the raw transaction.

+

Since: cosmos-sdk 0.43

+

Responses

PacketReceipt queries if a given packet sequence has been received on the queried chain

path Parameters
channel_id
required
string

channel unique identifier

-
port_id
required
string

port unique identifier

-
sequence
required
string <uint64>

packet sequence

-

Responses

ConnectionChannels queries all the channels associated with a connection -end.

path Parameters
connection
required
string

connection unique identifier

-
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin -querying the next page most efficiently. Only one of offset or key -should be set.

-
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. -It is less efficient than using key. Only one of offset or key should -be set.

-
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. -If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include -a count of the total number of items available for pagination in UIs. -count_total is only respected when offset is used. It is ignored when key -is set.

-

Responses

ClientParams queries all parameters of the ibc client.

Responses

ClientStates queries all the IBC light clients of a chain.

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin -querying the next page most efficiently. Only one of offset or key -should be set.

-
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. -It is less efficient than using key. Only one of offset or key should -be set.

-
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. -If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include -a count of the total number of items available for pagination in UIs. -count_total is only respected when offset is used. It is ignored when key -is set.

-

Responses

ClientState queries an IBC light client.

path Parameters
client_id
required
string

client state unique identifier

-

Responses

ConsensusStates queries all the consensus state associated with a given -client.

path Parameters
client_id
required
string

client identifier

-
query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin -querying the next page most efficiently. Only one of offset or key -should be set.

-
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. -It is less efficient than using key. Only one of offset or key should -be set.

-
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. -If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include -a count of the total number of items available for pagination in UIs. -count_total is only respected when offset is used. It is ignored when key -is set.

-

Responses

ConsensusState queries a consensus state associated with a client state at -a given height.

path Parameters
client_id
required
string

client identifier

-
revision_number
required
string <uint64>

consensus state revision number

-
revision_height
required
string <uint64>

consensus state revision height

-
query Parameters
latest_height
boolean

latest_height overrrides the height field and queries the latest stored -ConsensusState.

-

Responses

ClientConnections queries the connection paths associated with a client -state.

path Parameters
client_id
required
string

client identifier associated with a connection

-

Responses

Connections queries all the IBC connections of a chain.

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin +

Request samples

Content type
application/json
{
  • "tx":
    {
    },
  • "tx_bytes": "string"
}

GetTxsEvent fetches txs by event.

query Parameters
events
Array of strings

events is the list of transaction event type.

+
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. @@ -1108,45 +1315,38 @@ be set.

pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include +

pagination.count_total
boolean

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

+
pagination.reverse
boolean

reverse is set to true if results are to be returned in the descending order.

+

Since: cosmos-sdk 0.43

+
order_by
string
Default: "ORDER_BY_UNSPECIFIED"
Enum: "ORDER_BY_UNSPECIFIED" "ORDER_BY_ASC" "ORDER_BY_DESC"
    +
  • ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case.
  • +
  • ORDER_BY_ASC: ORDER_BY_ASC defines ascending order
  • +
  • ORDER_BY_DESC: ORDER_BY_DESC defines descending order
  • +

Responses

Connection queries an IBC connection end.

path Parameters
connection_id
required
string

connection unique identifier

-

Responses

ConnectionClientState queries the client state associated with the -connection.

path Parameters
connection_id
required
string

connection identifier

-

Responses

ConnectionConsensusState queries the consensus state associated with the -connection.

path Parameters
connection_id
required
string

connection identifier

-
revision_number
required
string <uint64>
revision_height
required
string <uint64>

Responses

DenomTraces queries all denomination traces.

query Parameters
pagination.key
string <byte>

key is a value returned in PageResponse.next_key to begin -querying the next page most efficiently. Only one of offset or key -should be set.

-
pagination.offset
string <uint64>

offset is a numeric offset that can be used when key is unavailable. -It is less efficient than using key. Only one of offset or key should -be set.

-
pagination.limit
string <uint64>

limit is the total number of results to be returned in the result page. -If left empty it will default to a value to be set by each app.

-
pagination.count_total
boolean

count_total is set to true to indicate that the result set should include -a count of the total number of items available for pagination in UIs. -count_total is only respected when offset is used. It is ignored when key -is set.

-

Responses

BroadcastTx broadcast transaction.

Request Body schema: application/json
tx_bytes
string <byte>

tx_bytes is the raw transaction.

+
mode
string
Default: "BROADCAST_MODE_UNSPECIFIED"
Enum: "BROADCAST_MODE_UNSPECIFIED" "BROADCAST_MODE_BLOCK" "BROADCAST_MODE_SYNC" "BROADCAST_MODE_ASYNC"

BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.

+
    +
  • BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering
  • +
  • BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for +the tx to be committed in a block.
  • +
  • BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for +a CheckTx execution response only.
  • +
  • BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns +immediately.
  • +
+

Responses

DenomTrace queries a denomination trace information.

path Parameters
hash
required
string

hash (in hex format) of the denomination trace information.

+

Request samples

Content type
application/json
{
  • "tx_bytes": "string",
  • "mode": "BROADCAST_MODE_UNSPECIFIED"
}

GetTx fetches a tx by hash.

path Parameters
hash
required
string

hash is the tx hash to query, encoded as a hex string.

Responses

Params queries all parameters of the ibc-transfer module.

Responses

+