1"use strict";(globalThis.webpackChunksentinel_docs=globalThis.webpackChunksentinel_docs||[]).push([[8451],{17417(n,e,t){t.r(e),t.d(e,{assets:()=>u,contentTitle:()=>i,default:()=>c,frontMatter:()=>r,metadata:()=>a,toc:()=>h});const a=JSON.parse('{"id":"commands/query/authz","title":"Authz","description":"Querying commands for the authz module.","source":"@site/docs/sentinel-hub/commands/query/authz.md","sourceDirName":"commands/query","slug":"/commands/query/authz","permalink":"/sentinel-hub/commands/query/authz","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":3,"frontMatter":{"title":"Authz","sidebar_position":3},"sidebar":"tutorialSidebar","previous":{"title":"Auth","permalink":"/sentinel-hub/commands/query/auth"},"next":{"title":"Bank","permalink":"/sentinel-hub/commands/query/bank"}}');var s=t(74848),o=t(28453);const r={title:"Authz",sidebar_position:3},i=void 0,u={},h=[{value:"Query Authz Grants",id:"query-authz-grants",level:2},{value:"Query Authz Grants by Grantee",id:"query-authz-grants-by-grantee",level:2},{value:"Query Authz Grants by Granter",id:"query-authz-grants-by-granter",level:2}];function l(n){const e={code:"code",h2:"h2",p:"p",pre:"pre",...(0,o.R)(),...n.components},{Details:t}=e;return t||function(n,e){throw new Error("Expected "+(e?"component":"object")+" `"+n+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(e.p,{children:"Querying commands for the authz module."}),"\n",(0,s.jsx)(e.h2,{id:"query-authz-grants",children:"Query Authz Grants"}),"\n",(0,s.jsx)(e.p,{children:"Retrieve grants for a granter-grantee pair and optionally a msg-type-url."}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-bash",children:"sentinelhub query auth grants [granter_address] [grantee_address] [msg_type_url]? \\\n --node https://rpc.sentinel.co:443\n"})}),"\n",(0,s.jsxs)(t,{children:[(0,s.jsx)("summary",{children:"Example Output"}),(0,s.jsx)("p",{children:(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-bash",children:'grants:\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.authz.v1beta1.MsgGrant\n expiration: "2123-01-31T07:07:17Z"\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.authz.v1beta1.MsgRevoke\n expiration: "2123-01-31T07:07:24Z"\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.bank.v1beta1.MsgSend\n expiration: "2123-01-31T07:06:56Z"\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward\n expiration: "2123-01-31T07:06:23Z"\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission\n expiration: "2123-01-31T07:06:34Z"\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.feegrant.v1beta1.MsgGrantAllowance\n expiration: "2123-01-31T07:07:38Z"\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.feegrant.v1beta1.MsgRevokeAllowance\n expiration: "2123-01-31T07:07:45Z"\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.gov.v1beta1.MsgVote\n expiration: "2123-01-31T07:06:41Z"\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.slashing.v1beta1.MsgUnjail\n expiration: "2123-01-31T07:07:03Z"\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.staking.v1beta1.MsgDelegate\n expiration: "2123-01-31T07:06:04Z"\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.staking.v1beta1.MsgEditValidator\n expiration: "2123-01-31T07:06:48Z"\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.staking.v1beta1.MsgUndelegate\n expiration: "2123-01-31T07:07:09Z"\npagination:\n next_key: null\n total: "0"\n'})})})]}),"\n",(0,s.jsx)(e.h2,{id:"query-authz-grants-by-grantee",children:"Query Authz Grants by Grantee"}),"\n",(0,s.jsx)(e.p,{children:"Retrieve authorization grants granted to a grantee."}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-bash",children:"sentinelhub query auth grants-by-grantee [grantee_address] \\\n --node https://rpc.sentinel.co:443\n"})}),"\n",(0,s.jsxs)(t,{children:[(0,s.jsx)("summary",{children:"Example Output"}),(0,s.jsx)("p",{children:(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-bash",children:"No example available\n"})})})]}),"\n",(0,s.jsx)(e.h2,{id:"query-authz-grants-by-granter",children:"Query Authz Grants by Granter"}),"\n",(0,s.jsx)(e.p,{children:"Retrieve authorization grants granted by granter."}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-bash",children:"sentinelhub query auth grants-by-granter [granter_address] \\\n --node https://rpc.sentinel.co:443\n"})}),"\n",(0,s.jsxs)(t,{children:[(0,s.jsx)("summary",{children:"Example Output"}),(0,s.jsx)("p",{children:(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-bash",children:'grants:\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.gov.v1beta1.MsgVote\n expiration: "2123-09-30T17:51:13Z"\n grantee: sent10eykchznjdn8jdlwaj5v9wvlmdsp6kxxdu277c\n granter: sent15pfdlwkue3xlpzzemxtq9aunynjzy9ke3nnjdx\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.authz.v1beta1.MsgGrant\n expiration: "2123-01-31T07:07:17Z"\n grantee: sent1js8h76lxsl92qpqmsgd04u52aaqp82pr0zjget\n granter: sent15pfdlwkue3xlpzzemxtq9aunynjzy9ke3nnjdx\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.authz.v1beta1.MsgRevoke\n expiration: "2123-01-31T07:07:24Z"\n grantee: sent1js8h76lxsl92qpqmsgd04u52aaqp82pr0zjget\n granter: sent15pfdlwkue3xlpzzemxtq9aunynjzy9ke3nnjdx\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.bank.v1beta1.MsgSend\n expiration: "2123-01-31T07:06:56Z"\n grantee: sent1js8h76lxsl92qpqmsgd04u52aaqp82pr0zjget\n granter: sent15pfdlwkue3xlpzzemxtq9aunynjzy9ke3nnjdx\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward\n expiration: "2123-01-31T07:06:23Z"\n grantee: sent1js8h76lxsl92qpqmsgd04u52aaqp82pr0zjget\n granter: sent15pfdlwkue3xlpzzemxtq9aunynjzy9ke3nnjdx\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission\n expiration: "2123-01-31T07:06:34Z"\n grantee: sent1js8h76lxsl92qpqmsgd04u52aaqp82pr0zjget\n granter: sent15pfdlwkue3xlpzzemxtq9aunynjzy9ke3nnjdx\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.feegrant.v1beta1.MsgGrantAllowance\n expiration: "2123-01-31T07:07:38Z"\n grantee: sent1js8h76lxsl92qpqmsgd04u52aaqp82pr0zjget\n granter: sent15pfdlwkue3xlpzzemxtq9aunynjzy9ke3nnjdx\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.feegrant.v1beta1.MsgRevokeAllowance\n expiration: "2123-01-31T07:07:45Z"\n grantee: sent1js8h76lxsl92qpqmsgd04u52aaqp82pr0zjget\n granter: sent15pfdlwkue3xlpzzemxtq9aunynjzy9ke3nnjdx\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.gov.v1beta1.MsgVote\n expiration: "2123-01-31T07:06:41Z"\n grantee: sent1js8h76lxsl92qpqmsgd04u52aaqp82pr0zjget\n granter: sent15pfdlwkue3xlpzzemxtq9aunynjzy9ke3nnjdx\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.slashing.v1beta1.MsgUnjail\n expiration: "2123-01-31T07:07:03Z"\n grantee: sent1js8h76lxsl92qpqmsgd04u52aaqp82pr0zjget\n granter: sent15pfdlwkue3xlpzzemxtq9aunynjzy9ke3nnjdx\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.staking.v1beta1.MsgDelegate\n expiration: "2123-01-31T07:06:04Z"\n grantee: sent1js8h76lxsl92qpqmsgd04u52aaqp82pr0zjget\n granter: sent15pfdlwkue3xlpzzemxtq9aunynjzy9ke3nnjdx\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.staking.v1beta1.MsgEditValidator\n expiration: "2123-01-31T07:06:48Z"\n grantee: sent1js8h76lxsl92qpqmsgd04u52aaqp82pr0zjget\n granter: sent15pfdlwkue3xlpzzemxtq9aunynjzy9ke3nnjdx\n- authorization:\n \'@type\': /cosmos.authz.v1beta1.GenericAuthorization\n msg: /cosmos.staking.v1beta1.MsgUndelegate\n expiration: "2123-01-31T07:07:09Z"\n grantee: sent1js8h76lxsl92qpqmsgd04u52aaqp82pr0zjget\n granter: sent15pfdlwkue3xlpzzemxtq9aunynjzy9ke3nnjdx\npagination:\n next_key: null\n total: "0"\n'})})})]})]})}function c(n={}){const{wrapper:e}={...(0,o.R)(),...n.components};return e?(0,s.jsx)(e,{...n,children:(0,s.jsx)(l,{...n})}):l(n)}},28453(n,e,t){t.d(e,{R:()=>r,x:()=>i});var a=t(96540);const s={},o=a.createContext(s);function r(n){const e=a.useContext(o);return a.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function i(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(s):n.components||s:r(n.components),a.createElement(o.Provider,{value:e},n.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.