From 0acc0047e738e2383ac015c55fdbc61060a2595f Mon Sep 17 00:00:00 2001 From: "joshcs.eth" <46639943+jcstein@users.noreply.github.com> Date: Tue, 10 Oct 2023 13:21:25 -0400 Subject: [PATCH] chore: remove custom api component and pages, use node-rpc-docs.celestia.org instead --- README.md | 148 - docs/developers/node-api.md | 2 +- docs/developers/node-tutorial.mdx | 2 +- docs/developers/overview.md | 2 +- docs/developers/submit-data.md | 6 +- sidebars.js | 2 +- src/components/ApiComponent.jsx | 272 - src/components/ApiComponent.module.css | 20 - src/components/CustomVersionSelector.css | 96 - src/components/CustomVersionSelector.jsx | 29 - src/openrpc-spec/openrpc-v0.11.0-rc11.json | 8418 ---------------- src/openrpc-spec/openrpc-v0.11.0-rc12.json | 8445 ---------------- src/openrpc-spec/openrpc-v0.11.0-rc13.json | 8445 ---------------- ...nrpc-v0.11.0-rc8-arabica-improvements.json | 8414 ---------------- src/openrpc-spec/openrpc-v0.11.0-rc8.json | 8554 ----------------- src/pages/api/v0.11.0-rc11.js | 27 - src/pages/api/v0.11.0-rc12.js | 27 - src/pages/api/v0.11.0-rc13.js | 27 - .../api/v0.11.0-rc8-arabica-improvements.js | 27 - src/pages/api/v0.11.0-rc8.js | 27 - src/theme/Layout/index.js | 7 +- src/theme/Navbar/Content/index.js | 5 - .../Navbar/MobileSidebar/PrimaryMenu/index.js | 6 - 23 files changed, 9 insertions(+), 42999 deletions(-) delete mode 100644 src/components/ApiComponent.jsx delete mode 100644 src/components/ApiComponent.module.css delete mode 100644 src/components/CustomVersionSelector.css delete mode 100644 src/components/CustomVersionSelector.jsx delete mode 100644 src/openrpc-spec/openrpc-v0.11.0-rc11.json delete mode 100644 src/openrpc-spec/openrpc-v0.11.0-rc12.json delete mode 100644 src/openrpc-spec/openrpc-v0.11.0-rc13.json delete mode 100644 src/openrpc-spec/openrpc-v0.11.0-rc8-arabica-improvements.json delete mode 100644 src/openrpc-spec/openrpc-v0.11.0-rc8.json delete mode 100644 src/pages/api/v0.11.0-rc11.js delete mode 100644 src/pages/api/v0.11.0-rc12.js delete mode 100644 src/pages/api/v0.11.0-rc13.js delete mode 100644 src/pages/api/v0.11.0-rc8-arabica-improvements.js delete mode 100644 src/pages/api/v0.11.0-rc8.js diff --git a/README.md b/README.md index 5d7f620cc13..193b7bc7e8a 100644 --- a/README.md +++ b/README.md @@ -62,151 +62,3 @@ GIT_USER= yarn deploy ``` If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch. - -## API documentation versioning - -In order to version the API docs, you will need to do a few things. - -1. change into the `docs/` repository - -2. Replace `your-new-version` with your desired version of `celestia-node`. - -3. In `docs/src/theme/Navbar/Content/index.js` add your new version to line 55: - -Change this: - -```js -const versions = ["v0.11.0-rc8"]; -``` - -To this: - -```js -const versions = ["your-new-version", "v0.11.0-rc8"]; -``` - -4. Do the same thing in `docs/src/theme/Navbar/MobileSidebar/PrimaryMenu/index.js` on line 24: - -```js -const versions = ["your-new-version", "v0.11.0-rc8"]; -``` - -5. Next, you'll need to update the API page and links. - -In `docs/developers/node-api.md`, edit line 11: - -```md -[the API's documentation](/api/v0.11.0-rc13). -``` - -Change the above to: - -```md -[the API's documentation](/api/your-new-version). -``` - -6. In the `docs/developers/node-tutorial.mdx` page, - -Change this: - -```md -## RPC CLI guide - -This section of the tutorial will teach you how to interact with a -Celestia node's -[RPC (Remote Procedure Call) API](/api/v0.11.0-rc8). -``` - -To this: - -```md -## RPC CLI guide - -This section of the tutorial will teach you how to interact with a -Celestia node's -[RPC (Remote Procedure Call) API](/api/your-new-version). -``` - -7. Change the path in the `docs/developers/overview.md` page. - -Change this: - -```md -- [Node API docs](/api/v0.11.0-rc8) -``` - -To this: - -```md -- [Node API docs](/api/your-new-version) -``` - -8. Next, change the linked API in `sidebars.js` - -Change this: - -```json - { - "type": "link", - "label": "Celestia Node API", - "href": "/api/v0.11.0-rc8" - }, -``` - -To this: - -```json - { - "type": "link", - "label": "Celestia Node API", - "href": "/api/your-new-version" - }, -``` - -9. Lastly, generate or copy the final openrpc.json for the version that you are using. - -```bash -git clone https://github.com/celestia-node.git -cd celestia-node -git checkout tags/your-new-version -make openrpc-gen | pbcopy -``` - -Paste that into `docs/src/openrpc-spec/openrpc-your-new-version.json` -and remove the first line of output from the terminal. - -10. Duplicate `docs/src/pages/api/v0.11.0-rc8.js` and change the name of the new version to `docs/src/pages/api/your-new-version.js`. Change the import in the newly named file to what you created above: - -```js -import(`@site/src/openrpc-spec/openrpc-your-new-version.json`); -``` - -11. Lastly, update the `docs/developers/submit-data.md` to reflect the new version: - -Change this: - -```md -### RPC to a celestia-node - -Using the JSON RPC API, submit data using the following methods: - -- [blob.Submit](/api/v0.11.0-rc8/#blob.Submit) -- [state.SubmitPayForBlob](/api/v0.11.0-rc8/#state.SubmitPayForBlob) - -Learn more in the [celestia-node API docs](/api/v0.11.0-rc8). -``` - -To this: - -```md -### RPC to a celestia-node - -Using the JSON RPC API, submit data using the following methods: - -- [blob.Submit](/api/your-new-version/#blob.Submit) -- [state.SubmitPayForBlob](/api/your-new-version/#state.SubmitPayForBlob) - -Learn more in the [celestia-node API docs](/api/your-new-version). -``` - -12. Start your newly versioned site to reflect the latest versioning changes! diff --git a/docs/developers/node-api.md b/docs/developers/node-api.md index a71d2658460..b9769ea4b1c 100644 --- a/docs/developers/node-api.md +++ b/docs/developers/node-api.md @@ -8,7 +8,7 @@ description: An overview of the Celestia Node API. The Celestia Node API is made for interacting with `celestia-node`. There are two ways in which a user and developer can interact with the API, the RPC API and the Gateway API. View -[the API's documentation](/api/v0.11.0-rc13). +[the API's documentation](https://node-rpc-docs.celestia.org/). ## RPC API diff --git a/docs/developers/node-tutorial.mdx b/docs/developers/node-tutorial.mdx index 866581a0296..26895f0b631 100644 --- a/docs/developers/node-tutorial.mdx +++ b/docs/developers/node-tutorial.mdx @@ -1187,7 +1187,7 @@ With your wallet funded, you can move on to the next step. This section of the tutorial will teach you how to interact with a Celestia node's -[RPC (Remote Procedure Call) API](/api/v0.11.0-rc13). +[RPC (Remote Procedure Call) API](https://node-rpc-docs.celestia.org/). First, you will need to [install and run `celestia-node`](#setting-up-dependencies) if you have not already. Open up another terminal window in order to begin querying the API. diff --git a/docs/developers/overview.md b/docs/developers/overview.md index 191af7fcf54..1457e6eb2ec 100644 --- a/docs/developers/overview.md +++ b/docs/developers/overview.md @@ -18,7 +18,7 @@ It includes: - [Celestia app](../../developers/celestia-app-wallet/) - [Celestia node](../../developers/celestia-node-key/) - [Overview of the Celestia node API](../../developers/node-api/) - - [Node API docs](/api/v0.11.0-rc12) + - [Node API docs](https://node-rpc-docs.celestia.org/) - [How to use the Celestia node RPC API](../../developers/node-tutorial/) - Learn [Celestia node API](../../developers/prompt-scavenger/) with a game - [Deploying rollups on Celestia](../../developers/rollup-overview/) diff --git a/docs/developers/submit-data.md b/docs/developers/submit-data.md index a84f6fc3b2d..4261f491a56 100644 --- a/docs/developers/submit-data.md +++ b/docs/developers/submit-data.md @@ -274,9 +274,9 @@ func DemoSubmitData(grpcAddr string, kr keyring.Keyring) error { Using the JSON RPC API, submit data using the following methods: -- [blob.Submit](/api/v0.11.0-rc13/#blob.Submit) -- [state.SubmitPayForBlob](/api/v0.11.0-rc13/#state.SubmitPayForBlob) +- [blob.Submit](https://node-rpc-docs.celestia.org/#blob.Submit) +- [state.SubmitPayForBlob](https://node-rpc-docs.celestia.org/#state.SubmitPayForBlob) -Learn more in the [celestia-node API docs](/api/v0.11.0-rc13). +Learn more in the [celestia-node API docs](https://node-rpc-docs.celestia.org/). diff --git a/sidebars.js b/sidebars.js index ceebac0e36c..c2aeded7c0f 100644 --- a/sidebars.js +++ b/sidebars.js @@ -318,7 +318,7 @@ const sidebars = { { "type": "link", "label": "Celestia Node API", - "href": "/api/v0.11.0-rc13" + "href": "https://node-rpc-docs.celestia.org/" }, { type: "category", diff --git a/src/components/ApiComponent.jsx b/src/components/ApiComponent.jsx deleted file mode 100644 index 5ef2c126b1d..00000000000 --- a/src/components/ApiComponent.jsx +++ /dev/null @@ -1,272 +0,0 @@ -import React, { useEffect, useState, useRef } from 'react'; -import styles from './ApiComponent.module.css'; -import { CopyToClipboard } from 'react-copy-to-clipboard'; - -function ApiComponent({ openrpcData }) { - const [modules, setModules] = useState({}); - const [hoveredHeader, setHoveredHeader] = useState(null); - const [copiedText, setCopiedText] = useState(null); - const [currentHash, setCurrentHash] = useState(window.location.hash); - const version = openrpcData.info.version; - const description = openrpcData.info.description; - const headingRefs = useRef({}); - const [searchTerm, setSearchTerm] = useState(""); - - useEffect(() => { - setModules(organizeByModule(openrpcData.methods)); - }, [openrpcData]); - - useEffect(() => { - const handleHashChange = () => setCurrentHash(window.location.hash); - window.addEventListener('hashchange', handleHashChange); - return () => window.removeEventListener('hashchange', handleHashChange); - }, []); - - useEffect(() => { - const hash = window.location.hash; - if (hash && headingRefs.current[hash]) { - headingRefs.current[hash].scrollIntoView({ behavior: 'smooth' }); - } - }, [headingRefs, modules]); - - function organizeByModule(methods) { - let modules = {}; - methods.forEach(method => { - let moduleName = method.name.split(".")[0]; - if (!modules[moduleName]) { - modules[moduleName] = []; - } - modules[moduleName].push(method); - }); - return modules; - } - - function getRequestExample(method) { - return JSON.stringify({ - id: 1, - jsonrpc: "2.0", - method: method.name, - params: method.params.map((p) => p.schema.examples[0]), - }, null, 2); - } - - function getResponseExample(method) { - return JSON.stringify({ - id: 1, - jsonrpc: "2.0", - result: method.result.schema.examples, - }, null, 2); - } - - function handleHashClick(e, id) { - e.preventDefault(); - navigator.clipboard.writeText(window.location.origin + window.location.pathname + '#' + id); - window.location.hash = id; - } - - return ( -
- {/* Sidebar */} -
-
-
-

API Version: {version}

-
- setSearchTerm(e.target.value)} - style={{ - width: '100%', - padding: '10px', - marginTop: '1em', - fontSize: '1em', - border: '1px solid #ccc', - borderRadius: '4px', - }} - /> - {searchTerm && - - } -
-
-
-

Modules & methods

- -
-
-
- - {/* Main content */} -
-

Celestia Node API

-

API Version: {version}

-

{description}

-

Always check which network is compatible with the API version you are using in the changelog. You can find the latest releases here.

-
- {/* Loop through the modules */} - {Object.entries(modules) - .filter(([moduleName, methods]) => - moduleName.toLowerCase().includes(searchTerm.toLowerCase()) || - methods.some(method => method.name.toLowerCase().includes(searchTerm.toLowerCase())) - ) - .map(([moduleName, methods]) => ( -
- {/* Larger Heading for Module with anchor link */} -

setHoveredHeader(moduleName)} - onMouseLeave={() => setHoveredHeader(null)} - style={{ textTransform: 'uppercase' }} - ref={el => headingRefs.current['#' + moduleName.toLowerCase()] = el} - > - {moduleName} - {hoveredHeader === moduleName && - handleHashClick(e, moduleName.toLowerCase())} - style={{ marginLeft: '10px', textDecoration: 'none' }} - > - # - - } -

-
- - {/* Loop through the methods inside each module */} - {methods.filter(method => method.name.toLowerCase().includes(searchTerm.toLowerCase())).map((method) => ( -
- {/* Linked Heading for Method */} -

setHoveredHeader(method.name)} - onMouseLeave={() => setHoveredHeader(null)} - ref={el => headingRefs.current['#' + method.name] = el} - > - {method.name.split(".")[1]} - {hoveredHeader === method.name && - handleHashClick(e, method.name)} - style={{ marginLeft: '10px', textDecoration: 'none' }} - > - # - - } -

- - {/* Display method signature */} -

{method.summary}

-
-
Method: {method.name}
-
- Parameters: - {method.params.length > 0 ? ( -
    - {method.params.map((param, index) => ( -
  • - {param.name}: {param.description} -
  • - ))} -
- ) : ( - No parameters for this method. - )} -
-
- Returns: - {Object.keys(modules).includes(method.result.name) ? - {method.result.name} : - {method.result.name} - } -
-
Perms: {method.description.split(":")[1].trim()}
-
-
- {/* Display Request and Response */} -
-

Request

- setCopiedText(getRequestExample(method))}> -
{getRequestExample(method)}
-
- {copiedText === getRequestExample(method) && Copied.} -

Response

- setCopiedText(getResponseExample(method))}> -
{getResponseExample(method)}
-
- {copiedText === getResponseExample(method) && Copied.} -
-
-
- ))} -
- ))} - {Object.entries(modules) - .filter(([moduleName, methods]) => - moduleName.toLowerCase().includes(searchTerm.toLowerCase()) || - methods.some(method => method.name.toLowerCase().includes(searchTerm.toLowerCase())) - ).length === 0 &&

👀 No modules or methods found.

} -
-
- ); - } - - export default ApiComponent; \ No newline at end of file diff --git a/src/components/ApiComponent.module.css b/src/components/ApiComponent.module.css deleted file mode 100644 index 37e9ebdcc81..00000000000 --- a/src/components/ApiComponent.module.css +++ /dev/null @@ -1,20 +0,0 @@ -@media (max-width: 996px) { - .sidebar { - display: none; - } -} - -@media (min-width: 997px) { - .hideOnLargeScreens { - display: none; - } -} - -.heading:before { - content: ""; - display: block; - height: 20px; - margin-top: -20px; - visibility: hidden; - pointer-events: none; -} \ No newline at end of file diff --git a/src/components/CustomVersionSelector.css b/src/components/CustomVersionSelector.css deleted file mode 100644 index aea0436f9d9..00000000000 --- a/src/components/CustomVersionSelector.css +++ /dev/null @@ -1,96 +0,0 @@ -/* Styles for the CustomVersionSelector component */ -.custom-version-selector { - display: inline-block; - font-size: 1em; - color: inherit; - font-family: "Ruberoid", sans-serif; - font-weight: 700; -} - -/* Styles for the select element inside the CustomVersionSelector component */ -.custom-version-selector select { - border: none; - background: none; - font-size: 1em; - color: inherit; - font-family: "Ruberoid", sans-serif; - font-weight: 700; - text-align-last: right; /* Right align text when viewport width is more than 996px */ - appearance: none; - padding-right: 1.5em; - background: url('data:image/svg+xml;utf8,') no-repeat; - background-position: calc(100% - 10px) 50%, 0 0; - background-size: 1em auto, 100%; - width: auto; -} - -[data-theme='dark'] .custom-version-selector select { - background: url('data:image/svg+xml;utf8,') no-repeat; - background-position: calc(100% - 10px) 50%, 0 0; - background-size: 1em auto, 100%; -} - -.custom-version-selector select:hover { - padding-right: 1.5em; - background: url('data:image/svg+xml;utf8,') no-repeat; - background-position: calc(100% - 10px) 50%, 0 0; - background-size: 1em auto, 100%; - color: var(--ifm-link-color); - transition: color var(--ifm-transition-fast) var(--ifm-transition-timing-default); -} - -[data-theme='dark'] .custom-version-selector select:hover { - background: url('data:image/svg+xml;utf8,') no-repeat; - background-position: calc(100% - 10px) 50%, 0 0; - background-size: 1em auto, 100%; -} - -@media (max-width: 996px) { - /* Left align text when viewport width is 996px or less */ - .custom-version-selector select { - text-align-last: left; - } -} - -/* Styles for the CustomVersionSelector component on screens with a max-width of 996px */ -@media (max-width: 996px) { - .custom-version-selector { - font-family: "Inter", sans-serif; - font-weight: 500; - } - - /* Styles for the select element inside the CustomVersionSelector component on screens with a max-width of 996px */ - .custom-version-selector select { - font-family: "Inter", sans-serif; - font-weight: 500; - } -} - -/* Styles for the CustomVersionSelector component when it's in the header */ -.custom-version-selector-header { - font-family: "Ruberoid", sans-serif; - font-weight: 700; -} - -/* Styles for the CustomVersionSelector component when it's in the menu */ -.custom-version-selector-menu { - font-family: "Inter", sans-serif; - font-weight: 500; -} - -/* Hide the CustomVersionSelector component in the header on screens with a max-width of 996px */ -@media (max-width: 996px) { - .custom-version-selector-header { - display: none; - } -} - -[data-theme='light'] .custom-version-selector select { - color: var(--ifm-menu-color); -} - -@media (min-width: 997px) { - [data-theme='light'] .custom-version-selector select { - color: var(--ifm-navbar-link-color); - } -} \ No newline at end of file diff --git a/src/components/CustomVersionSelector.jsx b/src/components/CustomVersionSelector.jsx deleted file mode 100644 index 8a7c22cc1c8..00000000000 --- a/src/components/CustomVersionSelector.jsx +++ /dev/null @@ -1,29 +0,0 @@ -import React, { useState, useEffect } from 'react'; -import './CustomVersionSelector.css'; // Import the CSS file - -function CustomVersionSelector({ className, versions }) { - const currentVersion = window.location.pathname.split('/')[2]; - const [selectedVersion, setSelectedVersion] = useState(`/api/${currentVersion}`); - - useEffect(() => { - setSelectedVersion(`/api/${window.location.pathname.split('/')[2]}`); - }, [window.location.pathname]); - - // Sort versions so that the current version comes first - const sortedVersions = [...versions].sort((a, b) => (a === currentVersion ? -1 : b === currentVersion ? 1 : 0)); - - return ( -
- -
- ); -} - -export default CustomVersionSelector; \ No newline at end of file diff --git a/src/openrpc-spec/openrpc-v0.11.0-rc11.json b/src/openrpc-spec/openrpc-v0.11.0-rc11.json deleted file mode 100644 index 88a8d304571..00000000000 --- a/src/openrpc-spec/openrpc-v0.11.0-rc11.json +++ /dev/null @@ -1,8418 +0,0 @@ -{ - "openrpc": "1.2.6", - "info": { - "title": "Celestia Node API", - "description": "The Celestia Node API is the collection of RPC methods that can be used to interact with the services provided by Celestia Data Availability Nodes.", - "version": "v0.11.0-rc11" - }, - "externalDocs": { - "description": "Celestia Node GitHub", - "url": "https://github.com/celestiaorg/celestia-node" - }, - "methods": [ - { - "name": "blob.Get", - "description": "Auth level: read", - "summary": "Get retrieves the blob by commitment under the given namespace and height.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*blob.Blob", - "description": "*blob.Blob", - "summary": "", - "schema": { - "examples": [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ], - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L45" - } - }, - { - "name": "blob.GetAll", - "description": "Auth level: read", - "summary": "GetAll returns all blobs under the given namespaces and height.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespaces", - "description": "[]share.Namespace", - "summary": "", - "schema": { - "examples": [ - [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]*blob.Blob", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "blob": { - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L54" - } - }, - { - "name": "blob.GetProof", - "description": "Auth level: read", - "summary": "GetProof retrieves proofs in the given namespaces at the given height by commitment.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*blob.Proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "start": 0, - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "leaf_hash": null, - "is_max_namespace_id_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L58" - } - }, - { - "name": "blob.Included", - "description": "Auth level: read", - "summary": "Included checks whether a blob's given commitment(Merkle subtree root) is included at\ngiven height and under the namespace.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "start": 0, - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "leaf_hash": null, - "is_max_namespace_id_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L67" - } - }, - { - "name": "blob.Submit", - "description": "Auth level: write", - "summary": "Submit sends Blobs and reports the height in which they were included.\nAllows sending multiple Blobs atomically synchronously.\nUses default wallet registered on the Node.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "blobs", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "blob": { - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "uint64", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L41" - } - }, - { - "name": "daser.SamplingStats", - "description": "Auth level: read", - "summary": "SamplingStats returns the current statistics over the DA sampling process.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "das.SamplingStats", - "description": "das.SamplingStats", - "summary": "", - "schema": { - "examples": [ - { - "head_of_sampled_chain": 1092, - "head_of_catchup": 34101, - "network_head_height": 470292, - "workers": [ - { - "job_type": "catchup", - "current": 1093, - "from": 1002, - "to": 1101 - }, - { - "job_type": "catchup", - "current": 33343, - "from": 33302, - "to": 33401 - }, - { - "job_type": "catchup", - "current": 34047, - "from": 34002, - "to": 34101 - }, - { - "job_type": "catchup", - "current": 1327, - "from": 1302, - "to": 1401 - }, - { - "job_type": "catchup", - "current": 1197, - "from": 1102, - "to": 1201 - }, - { - "job_type": "catchup", - "current": 1408, - "from": 1402, - "to": 1501 - } - ], - "concurrency": 6, - "catch_up_done": false, - "is_running": true - } - ], - "additionalProperties": false, - "properties": { - "catch_up_done": { - "type": "boolean" - }, - "concurrency": { - "type": "integer" - }, - "failed": { - "patternProperties": { - ".*": { - "type": "integer" - } - }, - "type": "object" - }, - "head_of_catchup": { - "type": "integer" - }, - "head_of_sampled_chain": { - "type": "integer" - }, - "is_running": { - "type": "boolean" - }, - "network_head_height": { - "type": "integer" - }, - "workers": { - "items": { - "additionalProperties": false, - "properties": { - "current": { - "type": "integer" - }, - "error": { - "type": "string" - }, - "from": { - "type": "integer" - }, - "job_type": { - "type": "string" - }, - "to": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/das/das.go#L28" - } - }, - { - "name": "daser.WaitCatchUp", - "description": "Auth level: read", - "summary": "WaitCatchUp blocks until DASer finishes catching up to the network head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/das/das.go#L32" - } - }, - { - "name": "fraud.Get", - "description": "Auth level: read", - "summary": "Get fetches fraud proofs from the disk by its type.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "proofType", - "description": "fraud.ProofType", - "summary": "", - "schema": { - "examples": [ - "badencodingv0.1" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]Proof", - "description": "[]Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "proof_type": "badencodingv0.1", - "data": "ChJiYWQgZW5jb2RpbmcgcHJvb2YQKg==" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/fraud/fraud.go#L39" - } - }, - { - "name": "fraud.Subscribe", - "description": "Auth level: public", - "summary": "Subscribe allows to subscribe on a Proof pub sub topic by its type.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "proofType", - "description": "fraud.ProofType", - "summary": "", - "schema": { - "examples": [ - "badencodingv0.1" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "\u003c-chan Proof", - "description": "\u003c-chan Proof", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/fraud/fraud.go#L35" - } - }, - { - "name": "header.GetByHash", - "description": "Auth level: public", - "summary": "GetByHash returns the header of the given hash from the node's header store.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "hash", - "description": "libhead.Hash", - "summary": "", - "schema": { - "examples": [ - "07" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L71" - } - }, - { - "name": "header.GetByHeight", - "description": "Auth level: public", - "summary": "GetByHeight returns the ExtendedHeader at the given height if it is\ncurrently available.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "u", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L83" - } - }, - { - "name": "header.GetVerifiedRangeByHeight", - "description": "Auth level: public", - "summary": "GetVerifiedRangeByHeight returns the given range [from:to) of ExtendedHeaders\nfrom the node's header store and verifies that the returned headers are\nadjacent to each other.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "from", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "to", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]*header.ExtendedHeader", - "description": "[]*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L75" - } - }, - { - "name": "header.LocalHead", - "description": "Auth level: read", - "summary": "LocalHead returns the ExtendedHeader of the chain head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L91" - } - }, - { - "name": "header.NetworkHead", - "description": "Auth level: public", - "summary": "NetworkHead provides the Syncer's view of the current network head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L103" - } - }, - { - "name": "header.Subscribe", - "description": "Auth level: public", - "summary": "Subscribe to recent ExtendedHeaders from the network.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "\u003c-chan *header.ExtendedHeader", - "description": "\u003c-chan *header.ExtendedHeader", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L107" - } - }, - { - "name": "header.SyncState", - "description": "Auth level: read", - "summary": "SyncState returns the current state of the header Syncer.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "sync.State", - "description": "sync.State", - "summary": "", - "schema": { - "examples": [ - { - "id": 42, - "height": 42, - "from_height": 42, - "to_height": 42, - "from_hash": "07", - "to_hash": "07", - "start": "0001-01-01T00:00:00Z", - "end": "0001-01-01T00:00:00Z", - "error": "string value" - } - ], - "additionalProperties": false, - "properties": { - "end": { - "format": "date-time", - "type": "string" - }, - "error": { - "type": "string" - }, - "from_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "from_height": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "id": { - "type": "integer" - }, - "start": { - "format": "date-time", - "type": "string" - }, - "to_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "to_height": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L95" - } - }, - { - "name": "header.SyncWait", - "description": "Auth level: read", - "summary": "SyncWait blocks until the header Syncer is synced to network head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L99" - } - }, - { - "name": "header.WaitForHeight", - "description": "Auth level: read", - "summary": "WaitForHeight blocks until the header at the given height has been processed\nby the store or context deadline is exceeded.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "u", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L87" - } - }, - { - "name": "node.AuthNew", - "description": "Auth level: admin", - "summary": "AuthNew signs and returns a new token with the given permissions.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "perms", - "description": "[]auth.Permission", - "summary": "", - "schema": { - "examples": [ - [ - "admin" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "string", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L49" - } - }, - { - "name": "node.AuthVerify", - "description": "Auth level: admin", - "summary": "AuthVerify returns the permissions assigned to the given token.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "token", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]auth.Permission", - "description": "[]auth.Permission", - "summary": "", - "schema": { - "examples": [ - [ - "admin" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L45" - } - }, - { - "name": "node.Info", - "description": "Auth level: admin", - "summary": "Info returns administrative information about the node.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "Info", - "description": "Info", - "summary": "", - "schema": { - "examples": [ - { - "type": 3, - "api_version": "string value" - } - ], - "additionalProperties": false, - "properties": { - "api_version": { - "type": "string" - }, - "type": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L37" - } - }, - { - "name": "node.LogLevelSet", - "description": "Auth level: admin", - "summary": "LogLevelSet sets the given component log level to the given level.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "name", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "level", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L41" - } - }, - { - "name": "p2p.BandwidthForPeer", - "description": "Auth level: admin", - "summary": "BandwidthForPeer returns a Stats struct with bandwidth metrics associated with the given peer.ID.\nThe metrics returned include all traffic sent / received for the peer, regardless of protocol.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" - }, - "TotalIn": { - "type": "integer" - }, - "TotalOut": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L274" - } - }, - { - "name": "p2p.BandwidthForProtocol", - "description": "Auth level: admin", - "summary": "BandwidthForProtocol returns a Stats struct with bandwidth metrics associated with the given\nprotocol.ID.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "proto", - "description": "protocol.ID", - "summary": "", - "schema": { - "examples": [ - "/celestia/mocha/ipfs/bitswap" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" - }, - "TotalIn": { - "type": "integer" - }, - "TotalOut": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L278" - } - }, - { - "name": "p2p.BandwidthStats", - "description": "Auth level: admin", - "summary": "BandwidthStats returns a Stats struct with bandwidth metrics for all\ndata sent/received by the local peer, regardless of protocol or remote\npeer IDs.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" - }, - "TotalIn": { - "type": "integer" - }, - "TotalOut": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L270" - } - }, - { - "name": "p2p.BlockPeer", - "description": "Auth level: admin", - "summary": "BlockPeer adds a peer to the set of blocked peers.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "p", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L246" - } - }, - { - "name": "p2p.ClosePeer", - "description": "Auth level: admin", - "summary": "ClosePeer closes the connection to a given peer.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L234" - } - }, - { - "name": "p2p.Connect", - "description": "Auth level: admin", - "summary": "Connect ensures there is a connection between this host and the peer with\ngiven peer.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "pi", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] - } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" - }, - "ID": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L230" - } - }, - { - "name": "p2p.Connectedness", - "description": "Auth level: admin", - "summary": "Connectedness returns a state signaling connection capabilities.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "network.Connectedness", - "description": "network.Connectedness", - "summary": "", - "schema": { - "examples": [ - 1 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L238" - } - }, - { - "name": "p2p.Info", - "description": "Auth level: admin", - "summary": "Info returns address information about the host.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "peer.AddrInfo", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] - } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" - }, - "ID": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L218" - } - }, - { - "name": "p2p.IsProtected", - "description": "Auth level: admin", - "summary": "IsProtected returns whether the given peer is protected.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L266" - } - }, - { - "name": "p2p.ListBlockedPeers", - "description": "Auth level: admin", - "summary": "ListBlockedPeers returns a list of blocked peers.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "[]peer.ID", - "description": "[]peer.ID", - "summary": "", - "schema": { - "examples": [ - [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L254" - } - }, - { - "name": "p2p.NATStatus", - "description": "Auth level: admin", - "summary": "NATStatus returns the current NAT status.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "network.Reachability", - "description": "network.Reachability", - "summary": "", - "schema": { - "examples": [ - 2 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L242" - } - }, - { - "name": "p2p.PeerInfo", - "description": "Auth level: admin", - "summary": "PeerInfo returns a small slice of information Peerstore has on the\ngiven peer.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "peer.AddrInfo", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] - } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" - }, - "ID": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L226" - } - }, - { - "name": "p2p.Peers", - "description": "Auth level: admin", - "summary": "Peers returns connected peers.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "[]peer.ID", - "description": "[]peer.ID", - "summary": "", - "schema": { - "examples": [ - [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L222" - } - }, - { - "name": "p2p.Protect", - "description": "Auth level: admin", - "summary": "Protect adds a peer to the list of peers who have a bidirectional\npeering agreement that they are protected from being trimmed, dropped\nor negatively scored.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L258" - } - }, - { - "name": "p2p.PubSubPeers", - "description": "Auth level: admin", - "summary": "PubSubPeers returns the peer IDs of the peers joined on\nthe given topic.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "topic", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]peer.ID", - "description": "[]peer.ID", - "summary": "", - "schema": { - "examples": [ - [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L286" - } - }, - { - "name": "p2p.ResourceState", - "description": "Auth level: admin", - "summary": "ResourceState returns the state of the resource manager.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "rcmgr.ResourceManagerStat", - "description": "rcmgr.ResourceManagerStat", - "summary": "", - "schema": { - "examples": [ - { - "System": { - "NumStreamsInbound": 4, - "NumStreamsOutbound": 13, - "NumConnsInbound": 0, - "NumConnsOutbound": 13, - "NumFD": 7, - "Memory": 4456448 - }, - "Transient": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "Services": { - "libp2p.autonat": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "libp2p.identify": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - } - }, - "Protocols": { - "/celestia/arabica-3/ipfs/bitswap/1.2.0": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 4, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/celestia/arabica-3/kad/1.0.0": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 4, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/floodsub/1.0.0": { - "NumStreamsInbound": 2, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/ipfs/id/1.0.0": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 1, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/meshsub/1.1.0": { - "NumStreamsInbound": 2, - "NumStreamsOutbound": 4, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - } - }, - "Peers": { - "\u0000$\u0008\u0001\u0012 \ufffd-\ufffd\ufffd\u0026\ufffd\ufffdY\ufffdk\ufffd\u000e\u0011\ufffdS\ufffdRM\u0013\ufffd\u0015\ufffd\ufffd$\ufffd\ufffd\ufffd\ufffd*\ufffd\u0002W": { - "NumStreamsInbound": 1, - "NumStreamsOutbound": 3, - "NumConnsInbound": 0, - "NumConnsOutbound": 3, - "NumFD": 3, - "Memory": 1048576 - } - } - } - ], - "additionalProperties": false, - "properties": { - "Peers": { - "patternProperties": { - ".*": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Protocols": { - "patternProperties": { - ".*": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Services": { - "patternProperties": { - ".*": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "System": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - }, - "Transient": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L282" - } - }, - { - "name": "p2p.UnblockPeer", - "description": "Auth level: admin", - "summary": "UnblockPeer removes a peer from the set of blocked peers.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "p", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L250" - } - }, - { - "name": "p2p.Unprotect", - "description": "Auth level: admin", - "summary": "Unprotect removes a peer from the list of peers who have a bidirectional\npeering agreement that they are protected from being trimmed, dropped\nor negatively scored, returning a bool representing whether the given\npeer is protected or not.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L262" - } - }, - { - "name": "share.GetEDS", - "description": "Auth level: public", - "summary": "GetEDS gets the full EDS identified by the given root.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "root", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*rsmt2d.ExtendedDataSquare", - "description": "*rsmt2d.ExtendedDataSquare", - "summary": "", - "schema": { - "examples": [ - { - "data_square": [ - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" - ], - "codec": "Leopard" - } - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L80" - } - }, - { - "name": "share.GetShare", - "description": "Auth level: public", - "summary": "GetShare gets a Share by coordinates in EDS.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "dah", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "row", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "col", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "share.Share", - "description": "share.Share", - "summary": "", - "schema": { - "examples": [ - "Ynl0ZSBhcnJheQ==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L76" - } - }, - { - "name": "share.GetSharesByNamespace", - "description": "Auth level: public", - "summary": "GetSharesByNamespace gets all shares from an EDS within the given namespace.\nShares are returned in a row-by-row order if the namespace spans multiple rows.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "root", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "share.NamespacedShares", - "description": "share.NamespacedShares", - "summary": "", - "schema": { - "examples": [ - [ - { - "shares": [ - "Ynl0ZSBhcnJheQ==" - ], - "proof": { - "start": 0, - "end": 0, - "nodes": null, - "leaf_hash": null, - "is_max_namespace_id_ignored": false - } - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "proof": { - "additionalProperties": false, - "type": "object" - }, - "shares": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L84" - } - }, - { - "name": "share.ProbabilityOfAvailability", - "description": "Auth level: public", - "summary": "ProbabilityOfAvailability calculates the probability of the data square\nbeing available based on the number of samples collected.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "float64", - "description": "float64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "number" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L72" - } - }, - { - "name": "share.SharesAvailable", - "description": "Auth level: public", - "summary": "SharesAvailable subjectively validates if Shares committed to the given Root are available on\nthe Network.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "root", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L68" - } - }, - { - "name": "state.AccountAddress", - "description": "Auth level: read", - "summary": "AccountAddress retrieves the address of the node's account/signer\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "state.Address", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L166" - } - }, - { - "name": "state.Balance", - "description": "Auth level: read", - "summary": "Balance retrieves the Celestia coin balance for the node's account/signer\nand verifies it against the corresponding block's AppHash.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "42" - } - ], - "additionalProperties": false, - "properties": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L260" - } - }, - { - "name": "state.BalanceForAddress", - "description": "Auth level: public", - "summary": "BalanceForAddress retrieves the Celestia coin balance for the given address and verifies\nthe returned balance against the corresponding block's AppHash.\n\nNOTE: the balance returned is the balance reported by the block right before\nthe node's current head (head-1). This is due to the fact that for block N, the block's\n`AppHash` is the result of applying the previous block's transaction list.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "addr", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "42" - } - ], - "additionalProperties": false, - "properties": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L174" - } - }, - { - "name": "state.BeginRedelegate", - "description": "Auth level: write", - "summary": "BeginRedelegate sends a user's delegated tokens to a new validator for redelegation.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "srcValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "dstValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L212" - } - }, - { - "name": "state.CancelUnbondingDelegation", - "description": "Auth level: write", - "summary": "CancelUnbondingDelegation cancels a user's pending undelegation from a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "valAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "height", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L201" - } - }, - { - "name": "state.Delegate", - "description": "Auth level: write", - "summary": "Delegate sends a user's liquid tokens to a validator for delegation.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L232" - } - }, - { - "name": "state.IsStopped", - "description": "Auth level: public", - "summary": "IsStopped checks if the Module's context has been stopped\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L170" - } - }, - { - "name": "state.QueryDelegation", - "description": "Auth level: public", - "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "valAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*types.QueryDelegationResponse", - "description": "*types.QueryDelegationResponse", - "summary": "", - "schema": { - "examples": [ - { - "delegation_response": { - "delegation": { - "delegator_address": "string value", - "validator_address": "string value", - "shares": "0" - }, - "balance": { - "denom": "string value", - "amount": "42" - } - } - } - ], - "additionalProperties": false, - "properties": { - "delegation_response": { - "additionalProperties": false, - "properties": { - "balance": { - "additionalProperties": false, - "properties": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } - }, - "type": "object" - }, - "delegation": { - "additionalProperties": false, - "properties": { - "delegator_address": { - "type": "string" - }, - "shares": { - "additionalProperties": false, - "type": "object" - }, - "validator_address": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L242" - } - }, - { - "name": "state.QueryRedelegations", - "description": "Auth level: public", - "summary": "QueryRedelegations retrieves the status of the redelegations between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "srcValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "dstValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*types.QueryRedelegationsResponse", - "description": "*types.QueryRedelegationsResponse", - "summary": "", - "schema": { - "examples": [ - { - "redelegation_responses": [ - { - "redelegation": { - "delegator_address": "string value", - "validator_src_address": "string value", - "validator_dst_address": "string value", - "entries": [ - { - "creation_height": 42, - "completion_time": "0001-01-01T00:00:00Z", - "initial_balance": "42", - "shares_dst": "0" - } - ] - }, - "entries": [ - { - "redelegation_entry": { - "creation_height": 42, - "completion_time": "0001-01-01T00:00:00Z", - "initial_balance": "42", - "shares_dst": "0" - }, - "balance": "42" - } - ] - } - ], - "pagination": { - "next_key": "Ynl0ZSBhcnJheQ==", - "total": 42 - } - } - ], - "additionalProperties": false, - "properties": { - "pagination": { - "additionalProperties": false, - "properties": { - "next_key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - }, - "redelegation_responses": { - "items": { - "additionalProperties": false, - "properties": { - "entries": { - "items": { - "additionalProperties": false, - "properties": { - "balance": { - "additionalProperties": false, - "type": "object" - }, - "redelegation_entry": { - "additionalProperties": false, - "properties": { - "completion_time": { - "format": "date-time", - "type": "string" - }, - "creation_height": { - "type": "integer" - }, - "initial_balance": { - "additionalProperties": false, - "type": "object" - }, - "shares_dst": { - "additionalProperties": false, - "type": "object" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - }, - "redelegation": { - "additionalProperties": false, - "properties": { - "delegator_address": { - "type": "string" - }, - "entries": { - "items": { - "additionalProperties": false, - "properties": { - "completion_time": { - "format": "date-time", - "type": "string" - }, - "creation_height": { - "type": "integer" - }, - "initial_balance": { - "additionalProperties": false, - "type": "object" - }, - "shares_dst": { - "additionalProperties": false, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - }, - "validator_dst_address": { - "type": "string" - }, - "validator_src_address": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L253" - } - }, - { - "name": "state.QueryUnbonding", - "description": "Auth level: public", - "summary": "QueryUnbonding retrieves the unbonding status between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "valAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*types.QueryUnbondingDelegationResponse", - "description": "*types.QueryUnbondingDelegationResponse", - "summary": "", - "schema": { - "examples": [ - { - "unbond": { - "delegator_address": "string value", - "validator_address": "string value", - "entries": [ - { - "creation_height": 42, - "completion_time": "0001-01-01T00:00:00Z", - "initial_balance": "42", - "balance": "42" - } - ] - } - } - ], - "additionalProperties": false, - "properties": { - "unbond": { - "additionalProperties": false, - "properties": { - "delegator_address": { - "type": "string" - }, - "entries": { - "items": { - "additionalProperties": false, - "properties": { - "balance": { - "additionalProperties": false, - "type": "object" - }, - "completion_time": { - "format": "date-time", - "type": "string" - }, - "creation_height": { - "type": "integer" - }, - "initial_balance": { - "additionalProperties": false, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - }, - "validator_address": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L246" - } - }, - { - "name": "state.SubmitPayForBlob", - "description": "Auth level: write", - "summary": "SubmitPayForBlob builds, signs and submits a PayForBlob transaction.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "blobs", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "blob": { - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L192" - } - }, - { - "name": "state.SubmitTx", - "description": "Auth level: write", - "summary": "SubmitTx submits the given transaction/message to the\nCelestia network and blocks until the tx is included in\na block.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "tx", - "description": "state.Tx", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L188" - } - }, - { - "name": "state.Transfer", - "description": "Auth level: write", - "summary": "Transfer sends the given amount of coins from default wallet of the node to the given account\naddress.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "to", - "description": "state.AccAddress", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLimit", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L178" - } - }, - { - "name": "state.Undelegate", - "description": "Auth level: write", - "summary": "Undelegate undelegates a user's delegated tokens, unbonding them from the current validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L222" - } - } - ] -} \ No newline at end of file diff --git a/src/openrpc-spec/openrpc-v0.11.0-rc12.json b/src/openrpc-spec/openrpc-v0.11.0-rc12.json deleted file mode 100644 index 9c4ce865412..00000000000 --- a/src/openrpc-spec/openrpc-v0.11.0-rc12.json +++ /dev/null @@ -1,8445 +0,0 @@ -{ - "openrpc": "1.2.6", - "info": { - "title": "Celestia Node API", - "description": "The Celestia Node API is the collection of RPC methods that can be used to interact with the services provided by Celestia Data Availability Nodes.", - "version": "v0.11.0-rc12" - }, - "externalDocs": { - "description": "Celestia Node GitHub", - "url": "https://github.com/celestiaorg/celestia-node" - }, - "methods": [ - { - "name": "blob.Get", - "description": "Auth level: read", - "summary": "Get retrieves the blob by commitment under the given namespace and height.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*blob.Blob", - "description": "*blob.Blob", - "summary": "", - "schema": { - "examples": [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ], - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L45" - } - }, - { - "name": "blob.GetAll", - "description": "Auth level: read", - "summary": "GetAll returns all blobs under the given namespaces and height.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespaces", - "description": "[]share.Namespace", - "summary": "", - "schema": { - "examples": [ - [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]*blob.Blob", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "blob": { - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L54" - } - }, - { - "name": "blob.GetProof", - "description": "Auth level: read", - "summary": "GetProof retrieves proofs in the given namespaces at the given height by commitment.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*blob.Proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "start": 0, - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "leaf_hash": null, - "is_max_namespace_id_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L58" - } - }, - { - "name": "blob.Included", - "description": "Auth level: read", - "summary": "Included checks whether a blob's given commitment(Merkle subtree root) is included at\ngiven height and under the namespace.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "start": 0, - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "leaf_hash": null, - "is_max_namespace_id_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L67" - } - }, - { - "name": "blob.Submit", - "description": "Auth level: write", - "summary": "Submit sends Blobs and reports the height in which they were included.\nAllows sending multiple Blobs atomically synchronously.\nUses default wallet registered on the Node.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "blobs", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "blob": { - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "options", - "description": "*blob.SubmitOptions", - "summary": "", - "schema": { - "examples": [ - { - "Fee": 42, - "GasLimit": 42 - } - ], - "additionalProperties": false, - "properties": { - "Fee": { - "type": "integer" - }, - "GasLimit": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "uint64", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L41" - } - }, - { - "name": "daser.SamplingStats", - "description": "Auth level: read", - "summary": "SamplingStats returns the current statistics over the DA sampling process.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "das.SamplingStats", - "description": "das.SamplingStats", - "summary": "", - "schema": { - "examples": [ - { - "head_of_sampled_chain": 1092, - "head_of_catchup": 34101, - "network_head_height": 470292, - "workers": [ - { - "job_type": "catchup", - "current": 1093, - "from": 1002, - "to": 1101 - }, - { - "job_type": "catchup", - "current": 33343, - "from": 33302, - "to": 33401 - }, - { - "job_type": "catchup", - "current": 34047, - "from": 34002, - "to": 34101 - }, - { - "job_type": "catchup", - "current": 1327, - "from": 1302, - "to": 1401 - }, - { - "job_type": "catchup", - "current": 1197, - "from": 1102, - "to": 1201 - }, - { - "job_type": "catchup", - "current": 1408, - "from": 1402, - "to": 1501 - } - ], - "concurrency": 6, - "catch_up_done": false, - "is_running": true - } - ], - "additionalProperties": false, - "properties": { - "catch_up_done": { - "type": "boolean" - }, - "concurrency": { - "type": "integer" - }, - "failed": { - "patternProperties": { - ".*": { - "type": "integer" - } - }, - "type": "object" - }, - "head_of_catchup": { - "type": "integer" - }, - "head_of_sampled_chain": { - "type": "integer" - }, - "is_running": { - "type": "boolean" - }, - "network_head_height": { - "type": "integer" - }, - "workers": { - "items": { - "additionalProperties": false, - "properties": { - "current": { - "type": "integer" - }, - "error": { - "type": "string" - }, - "from": { - "type": "integer" - }, - "job_type": { - "type": "string" - }, - "to": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/das/das.go#L28" - } - }, - { - "name": "daser.WaitCatchUp", - "description": "Auth level: read", - "summary": "WaitCatchUp blocks until DASer finishes catching up to the network head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/das/das.go#L32" - } - }, - { - "name": "fraud.Get", - "description": "Auth level: read", - "summary": "Get fetches fraud proofs from the disk by its type.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "proofType", - "description": "fraud.ProofType", - "summary": "", - "schema": { - "examples": [ - "badencodingv0.1" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]Proof", - "description": "[]Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "proof_type": "badencodingv0.1", - "data": "ChJiYWQgZW5jb2RpbmcgcHJvb2YQKg==" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/fraud/fraud.go#L39" - } - }, - { - "name": "fraud.Subscribe", - "description": "Auth level: public", - "summary": "Subscribe allows to subscribe on a Proof pub sub topic by its type.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "proofType", - "description": "fraud.ProofType", - "summary": "", - "schema": { - "examples": [ - "badencodingv0.1" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "\u003c-chan Proof", - "description": "\u003c-chan Proof", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/fraud/fraud.go#L35" - } - }, - { - "name": "header.GetByHash", - "description": "Auth level: public", - "summary": "GetByHash returns the header of the given hash from the node's header store.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "hash", - "description": "libhead.Hash", - "summary": "", - "schema": { - "examples": [ - "07" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L71" - } - }, - { - "name": "header.GetByHeight", - "description": "Auth level: public", - "summary": "GetByHeight returns the ExtendedHeader at the given height if it is\ncurrently available.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "u", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L83" - } - }, - { - "name": "header.GetVerifiedRangeByHeight", - "description": "Auth level: public", - "summary": "GetVerifiedRangeByHeight returns the given range [from:to) of ExtendedHeaders\nfrom the node's header store and verifies that the returned headers are\nadjacent to each other.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "from", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "to", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]*header.ExtendedHeader", - "description": "[]*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L75" - } - }, - { - "name": "header.LocalHead", - "description": "Auth level: read", - "summary": "LocalHead returns the ExtendedHeader of the chain head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L91" - } - }, - { - "name": "header.NetworkHead", - "description": "Auth level: public", - "summary": "NetworkHead provides the Syncer's view of the current network head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L103" - } - }, - { - "name": "header.Subscribe", - "description": "Auth level: public", - "summary": "Subscribe to recent ExtendedHeaders from the network.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "\u003c-chan *header.ExtendedHeader", - "description": "\u003c-chan *header.ExtendedHeader", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L107" - } - }, - { - "name": "header.SyncState", - "description": "Auth level: read", - "summary": "SyncState returns the current state of the header Syncer.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "sync.State", - "description": "sync.State", - "summary": "", - "schema": { - "examples": [ - { - "id": 42, - "height": 42, - "from_height": 42, - "to_height": 42, - "from_hash": "07", - "to_hash": "07", - "start": "0001-01-01T00:00:00Z", - "end": "0001-01-01T00:00:00Z", - "error": "string value" - } - ], - "additionalProperties": false, - "properties": { - "end": { - "format": "date-time", - "type": "string" - }, - "error": { - "type": "string" - }, - "from_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "from_height": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "id": { - "type": "integer" - }, - "start": { - "format": "date-time", - "type": "string" - }, - "to_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "to_height": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L95" - } - }, - { - "name": "header.SyncWait", - "description": "Auth level: read", - "summary": "SyncWait blocks until the header Syncer is synced to network head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L99" - } - }, - { - "name": "header.WaitForHeight", - "description": "Auth level: read", - "summary": "WaitForHeight blocks until the header at the given height has been processed\nby the store or context deadline is exceeded.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "u", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L87" - } - }, - { - "name": "node.AuthNew", - "description": "Auth level: admin", - "summary": "AuthNew signs and returns a new token with the given permissions.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "perms", - "description": "[]auth.Permission", - "summary": "", - "schema": { - "examples": [ - [ - "admin" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "string", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L49" - } - }, - { - "name": "node.AuthVerify", - "description": "Auth level: admin", - "summary": "AuthVerify returns the permissions assigned to the given token.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "token", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]auth.Permission", - "description": "[]auth.Permission", - "summary": "", - "schema": { - "examples": [ - [ - "admin" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L45" - } - }, - { - "name": "node.Info", - "description": "Auth level: admin", - "summary": "Info returns administrative information about the node.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "Info", - "description": "Info", - "summary": "", - "schema": { - "examples": [ - { - "type": 3, - "api_version": "string value" - } - ], - "additionalProperties": false, - "properties": { - "api_version": { - "type": "string" - }, - "type": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L37" - } - }, - { - "name": "node.LogLevelSet", - "description": "Auth level: admin", - "summary": "LogLevelSet sets the given component log level to the given level.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "name", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "level", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L41" - } - }, - { - "name": "p2p.BandwidthForPeer", - "description": "Auth level: admin", - "summary": "BandwidthForPeer returns a Stats struct with bandwidth metrics associated with the given peer.ID.\nThe metrics returned include all traffic sent / received for the peer, regardless of protocol.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" - }, - "TotalIn": { - "type": "integer" - }, - "TotalOut": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L274" - } - }, - { - "name": "p2p.BandwidthForProtocol", - "description": "Auth level: admin", - "summary": "BandwidthForProtocol returns a Stats struct with bandwidth metrics associated with the given\nprotocol.ID.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "proto", - "description": "protocol.ID", - "summary": "", - "schema": { - "examples": [ - "/celestia/mocha/ipfs/bitswap" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" - }, - "TotalIn": { - "type": "integer" - }, - "TotalOut": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L278" - } - }, - { - "name": "p2p.BandwidthStats", - "description": "Auth level: admin", - "summary": "BandwidthStats returns a Stats struct with bandwidth metrics for all\ndata sent/received by the local peer, regardless of protocol or remote\npeer IDs.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" - }, - "TotalIn": { - "type": "integer" - }, - "TotalOut": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L270" - } - }, - { - "name": "p2p.BlockPeer", - "description": "Auth level: admin", - "summary": "BlockPeer adds a peer to the set of blocked peers.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "p", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L246" - } - }, - { - "name": "p2p.ClosePeer", - "description": "Auth level: admin", - "summary": "ClosePeer closes the connection to a given peer.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L234" - } - }, - { - "name": "p2p.Connect", - "description": "Auth level: admin", - "summary": "Connect ensures there is a connection between this host and the peer with\ngiven peer.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "pi", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] - } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" - }, - "ID": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L230" - } - }, - { - "name": "p2p.Connectedness", - "description": "Auth level: admin", - "summary": "Connectedness returns a state signaling connection capabilities.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "network.Connectedness", - "description": "network.Connectedness", - "summary": "", - "schema": { - "examples": [ - 1 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L238" - } - }, - { - "name": "p2p.Info", - "description": "Auth level: admin", - "summary": "Info returns address information about the host.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "peer.AddrInfo", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] - } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" - }, - "ID": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L218" - } - }, - { - "name": "p2p.IsProtected", - "description": "Auth level: admin", - "summary": "IsProtected returns whether the given peer is protected.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L266" - } - }, - { - "name": "p2p.ListBlockedPeers", - "description": "Auth level: admin", - "summary": "ListBlockedPeers returns a list of blocked peers.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "[]peer.ID", - "description": "[]peer.ID", - "summary": "", - "schema": { - "examples": [ - [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L254" - } - }, - { - "name": "p2p.NATStatus", - "description": "Auth level: admin", - "summary": "NATStatus returns the current NAT status.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "network.Reachability", - "description": "network.Reachability", - "summary": "", - "schema": { - "examples": [ - 2 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L242" - } - }, - { - "name": "p2p.PeerInfo", - "description": "Auth level: admin", - "summary": "PeerInfo returns a small slice of information Peerstore has on the\ngiven peer.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "peer.AddrInfo", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] - } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" - }, - "ID": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L226" - } - }, - { - "name": "p2p.Peers", - "description": "Auth level: admin", - "summary": "Peers returns connected peers.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "[]peer.ID", - "description": "[]peer.ID", - "summary": "", - "schema": { - "examples": [ - [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L222" - } - }, - { - "name": "p2p.Protect", - "description": "Auth level: admin", - "summary": "Protect adds a peer to the list of peers who have a bidirectional\npeering agreement that they are protected from being trimmed, dropped\nor negatively scored.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L258" - } - }, - { - "name": "p2p.PubSubPeers", - "description": "Auth level: admin", - "summary": "PubSubPeers returns the peer IDs of the peers joined on\nthe given topic.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "topic", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]peer.ID", - "description": "[]peer.ID", - "summary": "", - "schema": { - "examples": [ - [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L286" - } - }, - { - "name": "p2p.ResourceState", - "description": "Auth level: admin", - "summary": "ResourceState returns the state of the resource manager.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "rcmgr.ResourceManagerStat", - "description": "rcmgr.ResourceManagerStat", - "summary": "", - "schema": { - "examples": [ - { - "System": { - "NumStreamsInbound": 4, - "NumStreamsOutbound": 13, - "NumConnsInbound": 0, - "NumConnsOutbound": 13, - "NumFD": 7, - "Memory": 4456448 - }, - "Transient": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "Services": { - "libp2p.autonat": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "libp2p.identify": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - } - }, - "Protocols": { - "/celestia/arabica-3/ipfs/bitswap/1.2.0": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 4, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/celestia/arabica-3/kad/1.0.0": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 4, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/floodsub/1.0.0": { - "NumStreamsInbound": 2, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/ipfs/id/1.0.0": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 1, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/meshsub/1.1.0": { - "NumStreamsInbound": 2, - "NumStreamsOutbound": 4, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - } - }, - "Peers": { - "\u0000$\u0008\u0001\u0012 \ufffd-\ufffd\ufffd\u0026\ufffd\ufffdY\ufffdk\ufffd\u000e\u0011\ufffdS\ufffdRM\u0013\ufffd\u0015\ufffd\ufffd$\ufffd\ufffd\ufffd\ufffd*\ufffd\u0002W": { - "NumStreamsInbound": 1, - "NumStreamsOutbound": 3, - "NumConnsInbound": 0, - "NumConnsOutbound": 3, - "NumFD": 3, - "Memory": 1048576 - } - } - } - ], - "additionalProperties": false, - "properties": { - "Peers": { - "patternProperties": { - ".*": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Protocols": { - "patternProperties": { - ".*": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Services": { - "patternProperties": { - ".*": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "System": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - }, - "Transient": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L282" - } - }, - { - "name": "p2p.UnblockPeer", - "description": "Auth level: admin", - "summary": "UnblockPeer removes a peer from the set of blocked peers.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "p", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L250" - } - }, - { - "name": "p2p.Unprotect", - "description": "Auth level: admin", - "summary": "Unprotect removes a peer from the list of peers who have a bidirectional\npeering agreement that they are protected from being trimmed, dropped\nor negatively scored, returning a bool representing whether the given\npeer is protected or not.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L262" - } - }, - { - "name": "share.GetEDS", - "description": "Auth level: public", - "summary": "GetEDS gets the full EDS identified by the given root.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "root", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*rsmt2d.ExtendedDataSquare", - "description": "*rsmt2d.ExtendedDataSquare", - "summary": "", - "schema": { - "examples": [ - { - "data_square": [ - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" - ], - "codec": "Leopard" - } - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L80" - } - }, - { - "name": "share.GetShare", - "description": "Auth level: public", - "summary": "GetShare gets a Share by coordinates in EDS.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "dah", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "row", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "col", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "share.Share", - "description": "share.Share", - "summary": "", - "schema": { - "examples": [ - "Ynl0ZSBhcnJheQ==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L76" - } - }, - { - "name": "share.GetSharesByNamespace", - "description": "Auth level: public", - "summary": "GetSharesByNamespace gets all shares from an EDS within the given namespace.\nShares are returned in a row-by-row order if the namespace spans multiple rows.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "root", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "share.NamespacedShares", - "description": "share.NamespacedShares", - "summary": "", - "schema": { - "examples": [ - [ - { - "shares": [ - "Ynl0ZSBhcnJheQ==" - ], - "proof": { - "start": 0, - "end": 0, - "nodes": null, - "leaf_hash": null, - "is_max_namespace_id_ignored": false - } - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "proof": { - "additionalProperties": false, - "type": "object" - }, - "shares": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L84" - } - }, - { - "name": "share.ProbabilityOfAvailability", - "description": "Auth level: public", - "summary": "ProbabilityOfAvailability calculates the probability of the data square\nbeing available based on the number of samples collected.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "float64", - "description": "float64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "number" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L72" - } - }, - { - "name": "share.SharesAvailable", - "description": "Auth level: public", - "summary": "SharesAvailable subjectively validates if Shares committed to the given Root are available on\nthe Network.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "root", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L68" - } - }, - { - "name": "state.AccountAddress", - "description": "Auth level: read", - "summary": "AccountAddress retrieves the address of the node's account/signer\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "state.Address", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L166" - } - }, - { - "name": "state.Balance", - "description": "Auth level: read", - "summary": "Balance retrieves the Celestia coin balance for the node's account/signer\nand verifies it against the corresponding block's AppHash.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "42" - } - ], - "additionalProperties": false, - "properties": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L260" - } - }, - { - "name": "state.BalanceForAddress", - "description": "Auth level: public", - "summary": "BalanceForAddress retrieves the Celestia coin balance for the given address and verifies\nthe returned balance against the corresponding block's AppHash.\n\nNOTE: the balance returned is the balance reported by the block right before\nthe node's current head (head-1). This is due to the fact that for block N, the block's\n`AppHash` is the result of applying the previous block's transaction list.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "addr", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "42" - } - ], - "additionalProperties": false, - "properties": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L174" - } - }, - { - "name": "state.BeginRedelegate", - "description": "Auth level: write", - "summary": "BeginRedelegate sends a user's delegated tokens to a new validator for redelegation.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "srcValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "dstValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L212" - } - }, - { - "name": "state.CancelUnbondingDelegation", - "description": "Auth level: write", - "summary": "CancelUnbondingDelegation cancels a user's pending undelegation from a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "valAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "height", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L201" - } - }, - { - "name": "state.Delegate", - "description": "Auth level: write", - "summary": "Delegate sends a user's liquid tokens to a validator for delegation.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L232" - } - }, - { - "name": "state.IsStopped", - "description": "Auth level: public", - "summary": "IsStopped checks if the Module's context has been stopped\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L170" - } - }, - { - "name": "state.QueryDelegation", - "description": "Auth level: public", - "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "valAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*types.QueryDelegationResponse", - "description": "*types.QueryDelegationResponse", - "summary": "", - "schema": { - "examples": [ - { - "delegation_response": { - "delegation": { - "delegator_address": "string value", - "validator_address": "string value", - "shares": "0" - }, - "balance": { - "denom": "string value", - "amount": "42" - } - } - } - ], - "additionalProperties": false, - "properties": { - "delegation_response": { - "additionalProperties": false, - "properties": { - "balance": { - "additionalProperties": false, - "properties": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } - }, - "type": "object" - }, - "delegation": { - "additionalProperties": false, - "properties": { - "delegator_address": { - "type": "string" - }, - "shares": { - "additionalProperties": false, - "type": "object" - }, - "validator_address": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L242" - } - }, - { - "name": "state.QueryRedelegations", - "description": "Auth level: public", - "summary": "QueryRedelegations retrieves the status of the redelegations between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "srcValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "dstValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*types.QueryRedelegationsResponse", - "description": "*types.QueryRedelegationsResponse", - "summary": "", - "schema": { - "examples": [ - { - "redelegation_responses": [ - { - "redelegation": { - "delegator_address": "string value", - "validator_src_address": "string value", - "validator_dst_address": "string value", - "entries": [ - { - "creation_height": 42, - "completion_time": "0001-01-01T00:00:00Z", - "initial_balance": "42", - "shares_dst": "0" - } - ] - }, - "entries": [ - { - "redelegation_entry": { - "creation_height": 42, - "completion_time": "0001-01-01T00:00:00Z", - "initial_balance": "42", - "shares_dst": "0" - }, - "balance": "42" - } - ] - } - ], - "pagination": { - "next_key": "Ynl0ZSBhcnJheQ==", - "total": 42 - } - } - ], - "additionalProperties": false, - "properties": { - "pagination": { - "additionalProperties": false, - "properties": { - "next_key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - }, - "redelegation_responses": { - "items": { - "additionalProperties": false, - "properties": { - "entries": { - "items": { - "additionalProperties": false, - "properties": { - "balance": { - "additionalProperties": false, - "type": "object" - }, - "redelegation_entry": { - "additionalProperties": false, - "properties": { - "completion_time": { - "format": "date-time", - "type": "string" - }, - "creation_height": { - "type": "integer" - }, - "initial_balance": { - "additionalProperties": false, - "type": "object" - }, - "shares_dst": { - "additionalProperties": false, - "type": "object" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - }, - "redelegation": { - "additionalProperties": false, - "properties": { - "delegator_address": { - "type": "string" - }, - "entries": { - "items": { - "additionalProperties": false, - "properties": { - "completion_time": { - "format": "date-time", - "type": "string" - }, - "creation_height": { - "type": "integer" - }, - "initial_balance": { - "additionalProperties": false, - "type": "object" - }, - "shares_dst": { - "additionalProperties": false, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - }, - "validator_dst_address": { - "type": "string" - }, - "validator_src_address": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L253" - } - }, - { - "name": "state.QueryUnbonding", - "description": "Auth level: public", - "summary": "QueryUnbonding retrieves the unbonding status between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "valAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*types.QueryUnbondingDelegationResponse", - "description": "*types.QueryUnbondingDelegationResponse", - "summary": "", - "schema": { - "examples": [ - { - "unbond": { - "delegator_address": "string value", - "validator_address": "string value", - "entries": [ - { - "creation_height": 42, - "completion_time": "0001-01-01T00:00:00Z", - "initial_balance": "42", - "balance": "42" - } - ] - } - } - ], - "additionalProperties": false, - "properties": { - "unbond": { - "additionalProperties": false, - "properties": { - "delegator_address": { - "type": "string" - }, - "entries": { - "items": { - "additionalProperties": false, - "properties": { - "balance": { - "additionalProperties": false, - "type": "object" - }, - "completion_time": { - "format": "date-time", - "type": "string" - }, - "creation_height": { - "type": "integer" - }, - "initial_balance": { - "additionalProperties": false, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - }, - "validator_address": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L246" - } - }, - { - "name": "state.SubmitPayForBlob", - "description": "Auth level: write", - "summary": "SubmitPayForBlob builds, signs and submits a PayForBlob transaction.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "blobs", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "blob": { - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L192" - } - }, - { - "name": "state.SubmitTx", - "description": "Auth level: write", - "summary": "SubmitTx submits the given transaction/message to the\nCelestia network and blocks until the tx is included in\na block.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "tx", - "description": "state.Tx", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L188" - } - }, - { - "name": "state.Transfer", - "description": "Auth level: write", - "summary": "Transfer sends the given amount of coins from default wallet of the node to the given account\naddress.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "to", - "description": "state.AccAddress", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLimit", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L178" - } - }, - { - "name": "state.Undelegate", - "description": "Auth level: write", - "summary": "Undelegate undelegates a user's delegated tokens, unbonding them from the current validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L222" - } - } - ] -} \ No newline at end of file diff --git a/src/openrpc-spec/openrpc-v0.11.0-rc13.json b/src/openrpc-spec/openrpc-v0.11.0-rc13.json deleted file mode 100644 index 707540401f6..00000000000 --- a/src/openrpc-spec/openrpc-v0.11.0-rc13.json +++ /dev/null @@ -1,8445 +0,0 @@ -{ - "openrpc": "1.2.6", - "info": { - "title": "Celestia Node API", - "description": "The Celestia Node API is the collection of RPC methods that can be used to interact with the services provided by Celestia Data Availability Nodes.", - "version": "v0.11.0-rc13" - }, - "externalDocs": { - "description": "Celestia Node GitHub", - "url": "https://github.com/celestiaorg/celestia-node" - }, - "methods": [ - { - "name": "blob.Get", - "description": "Auth level: read", - "summary": "Get retrieves the blob by commitment under the given namespace and height.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*blob.Blob", - "description": "*blob.Blob", - "summary": "", - "schema": { - "examples": [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ], - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L45" - } - }, - { - "name": "blob.GetAll", - "description": "Auth level: read", - "summary": "GetAll returns all blobs under the given namespaces and height.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespaces", - "description": "[]share.Namespace", - "summary": "", - "schema": { - "examples": [ - [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]*blob.Blob", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "blob": { - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L54" - } - }, - { - "name": "blob.GetProof", - "description": "Auth level: read", - "summary": "GetProof retrieves proofs in the given namespaces at the given height by commitment.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*blob.Proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "start": 0, - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "leaf_hash": null, - "is_max_namespace_id_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L58" - } - }, - { - "name": "blob.Included", - "description": "Auth level: read", - "summary": "Included checks whether a blob's given commitment(Merkle subtree root) is included at\ngiven height and under the namespace.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "start": 0, - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "leaf_hash": null, - "is_max_namespace_id_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L67" - } - }, - { - "name": "blob.Submit", - "description": "Auth level: write", - "summary": "Submit sends Blobs and reports the height in which they were included.\nAllows sending multiple Blobs atomically synchronously.\nUses default wallet registered on the Node.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "blobs", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "blob": { - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "options", - "description": "*blob.SubmitOptions", - "summary": "", - "schema": { - "examples": [ - { - "Fee": 42, - "GasLimit": 42 - } - ], - "additionalProperties": false, - "properties": { - "Fee": { - "type": "integer" - }, - "GasLimit": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "uint64", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L41" - } - }, - { - "name": "daser.SamplingStats", - "description": "Auth level: read", - "summary": "SamplingStats returns the current statistics over the DA sampling process.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "das.SamplingStats", - "description": "das.SamplingStats", - "summary": "", - "schema": { - "examples": [ - { - "head_of_sampled_chain": 1092, - "head_of_catchup": 34101, - "network_head_height": 470292, - "workers": [ - { - "job_type": "catchup", - "current": 1093, - "from": 1002, - "to": 1101 - }, - { - "job_type": "catchup", - "current": 33343, - "from": 33302, - "to": 33401 - }, - { - "job_type": "catchup", - "current": 34047, - "from": 34002, - "to": 34101 - }, - { - "job_type": "catchup", - "current": 1327, - "from": 1302, - "to": 1401 - }, - { - "job_type": "catchup", - "current": 1197, - "from": 1102, - "to": 1201 - }, - { - "job_type": "catchup", - "current": 1408, - "from": 1402, - "to": 1501 - } - ], - "concurrency": 6, - "catch_up_done": false, - "is_running": true - } - ], - "additionalProperties": false, - "properties": { - "catch_up_done": { - "type": "boolean" - }, - "concurrency": { - "type": "integer" - }, - "failed": { - "patternProperties": { - ".*": { - "type": "integer" - } - }, - "type": "object" - }, - "head_of_catchup": { - "type": "integer" - }, - "head_of_sampled_chain": { - "type": "integer" - }, - "is_running": { - "type": "boolean" - }, - "network_head_height": { - "type": "integer" - }, - "workers": { - "items": { - "additionalProperties": false, - "properties": { - "current": { - "type": "integer" - }, - "error": { - "type": "string" - }, - "from": { - "type": "integer" - }, - "job_type": { - "type": "string" - }, - "to": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/das/das.go#L28" - } - }, - { - "name": "daser.WaitCatchUp", - "description": "Auth level: read", - "summary": "WaitCatchUp blocks until DASer finishes catching up to the network head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/das/das.go#L32" - } - }, - { - "name": "fraud.Get", - "description": "Auth level: read", - "summary": "Get fetches fraud proofs from the disk by its type.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "proofType", - "description": "fraud.ProofType", - "summary": "", - "schema": { - "examples": [ - "badencodingv0.1" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]Proof", - "description": "[]Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "proof_type": "badencodingv0.1", - "data": "ChJiYWQgZW5jb2RpbmcgcHJvb2YQKg==" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/fraud/fraud.go#L39" - } - }, - { - "name": "fraud.Subscribe", - "description": "Auth level: public", - "summary": "Subscribe allows to subscribe on a Proof pub sub topic by its type.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "proofType", - "description": "fraud.ProofType", - "summary": "", - "schema": { - "examples": [ - "badencodingv0.1" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "\u003c-chan Proof", - "description": "\u003c-chan Proof", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/fraud/fraud.go#L35" - } - }, - { - "name": "header.GetByHash", - "description": "Auth level: public", - "summary": "GetByHash returns the header of the given hash from the node's header store.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "hash", - "description": "libhead.Hash", - "summary": "", - "schema": { - "examples": [ - "07" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L71" - } - }, - { - "name": "header.GetByHeight", - "description": "Auth level: public", - "summary": "GetByHeight returns the ExtendedHeader at the given height if it is\ncurrently available.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "u", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L83" - } - }, - { - "name": "header.GetVerifiedRangeByHeight", - "description": "Auth level: public", - "summary": "GetVerifiedRangeByHeight returns the given range [from:to) of ExtendedHeaders\nfrom the node's header store and verifies that the returned headers are\nadjacent to each other.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "from", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "to", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]*header.ExtendedHeader", - "description": "[]*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L75" - } - }, - { - "name": "header.LocalHead", - "description": "Auth level: read", - "summary": "LocalHead returns the ExtendedHeader of the chain head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L91" - } - }, - { - "name": "header.NetworkHead", - "description": "Auth level: public", - "summary": "NetworkHead provides the Syncer's view of the current network head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L103" - } - }, - { - "name": "header.Subscribe", - "description": "Auth level: public", - "summary": "Subscribe to recent ExtendedHeaders from the network.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "\u003c-chan *header.ExtendedHeader", - "description": "\u003c-chan *header.ExtendedHeader", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L107" - } - }, - { - "name": "header.SyncState", - "description": "Auth level: read", - "summary": "SyncState returns the current state of the header Syncer.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "sync.State", - "description": "sync.State", - "summary": "", - "schema": { - "examples": [ - { - "id": 42, - "height": 42, - "from_height": 42, - "to_height": 42, - "from_hash": "07", - "to_hash": "07", - "start": "0001-01-01T00:00:00Z", - "end": "0001-01-01T00:00:00Z", - "error": "string value" - } - ], - "additionalProperties": false, - "properties": { - "end": { - "format": "date-time", - "type": "string" - }, - "error": { - "type": "string" - }, - "from_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "from_height": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "id": { - "type": "integer" - }, - "start": { - "format": "date-time", - "type": "string" - }, - "to_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "to_height": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L95" - } - }, - { - "name": "header.SyncWait", - "description": "Auth level: read", - "summary": "SyncWait blocks until the header Syncer is synced to network head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L99" - } - }, - { - "name": "header.WaitForHeight", - "description": "Auth level: read", - "summary": "WaitForHeight blocks until the header at the given height has been processed\nby the store or context deadline is exceeded.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "u", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L87" - } - }, - { - "name": "node.AuthNew", - "description": "Auth level: admin", - "summary": "AuthNew signs and returns a new token with the given permissions.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "perms", - "description": "[]auth.Permission", - "summary": "", - "schema": { - "examples": [ - [ - "admin" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "string", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L49" - } - }, - { - "name": "node.AuthVerify", - "description": "Auth level: admin", - "summary": "AuthVerify returns the permissions assigned to the given token.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "token", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]auth.Permission", - "description": "[]auth.Permission", - "summary": "", - "schema": { - "examples": [ - [ - "admin" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L45" - } - }, - { - "name": "node.Info", - "description": "Auth level: admin", - "summary": "Info returns administrative information about the node.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "Info", - "description": "Info", - "summary": "", - "schema": { - "examples": [ - { - "type": 3, - "api_version": "string value" - } - ], - "additionalProperties": false, - "properties": { - "api_version": { - "type": "string" - }, - "type": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L37" - } - }, - { - "name": "node.LogLevelSet", - "description": "Auth level: admin", - "summary": "LogLevelSet sets the given component log level to the given level.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "name", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "level", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L41" - } - }, - { - "name": "p2p.BandwidthForPeer", - "description": "Auth level: admin", - "summary": "BandwidthForPeer returns a Stats struct with bandwidth metrics associated with the given peer.ID.\nThe metrics returned include all traffic sent / received for the peer, regardless of protocol.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" - }, - "TotalIn": { - "type": "integer" - }, - "TotalOut": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L274" - } - }, - { - "name": "p2p.BandwidthForProtocol", - "description": "Auth level: admin", - "summary": "BandwidthForProtocol returns a Stats struct with bandwidth metrics associated with the given\nprotocol.ID.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "proto", - "description": "protocol.ID", - "summary": "", - "schema": { - "examples": [ - "/celestia/mocha/ipfs/bitswap" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" - }, - "TotalIn": { - "type": "integer" - }, - "TotalOut": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L278" - } - }, - { - "name": "p2p.BandwidthStats", - "description": "Auth level: admin", - "summary": "BandwidthStats returns a Stats struct with bandwidth metrics for all\ndata sent/received by the local peer, regardless of protocol or remote\npeer IDs.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" - }, - "TotalIn": { - "type": "integer" - }, - "TotalOut": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L270" - } - }, - { - "name": "p2p.BlockPeer", - "description": "Auth level: admin", - "summary": "BlockPeer adds a peer to the set of blocked peers.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "p", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L246" - } - }, - { - "name": "p2p.ClosePeer", - "description": "Auth level: admin", - "summary": "ClosePeer closes the connection to a given peer.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L234" - } - }, - { - "name": "p2p.Connect", - "description": "Auth level: admin", - "summary": "Connect ensures there is a connection between this host and the peer with\ngiven peer.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "pi", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] - } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" - }, - "ID": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L230" - } - }, - { - "name": "p2p.Connectedness", - "description": "Auth level: admin", - "summary": "Connectedness returns a state signaling connection capabilities.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "network.Connectedness", - "description": "network.Connectedness", - "summary": "", - "schema": { - "examples": [ - 1 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L238" - } - }, - { - "name": "p2p.Info", - "description": "Auth level: admin", - "summary": "Info returns address information about the host.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "peer.AddrInfo", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] - } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" - }, - "ID": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L218" - } - }, - { - "name": "p2p.IsProtected", - "description": "Auth level: admin", - "summary": "IsProtected returns whether the given peer is protected.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L266" - } - }, - { - "name": "p2p.ListBlockedPeers", - "description": "Auth level: admin", - "summary": "ListBlockedPeers returns a list of blocked peers.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "[]peer.ID", - "description": "[]peer.ID", - "summary": "", - "schema": { - "examples": [ - [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L254" - } - }, - { - "name": "p2p.NATStatus", - "description": "Auth level: admin", - "summary": "NATStatus returns the current NAT status.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "network.Reachability", - "description": "network.Reachability", - "summary": "", - "schema": { - "examples": [ - 2 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L242" - } - }, - { - "name": "p2p.PeerInfo", - "description": "Auth level: admin", - "summary": "PeerInfo returns a small slice of information Peerstore has on the\ngiven peer.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "peer.AddrInfo", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] - } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" - }, - "ID": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L226" - } - }, - { - "name": "p2p.Peers", - "description": "Auth level: admin", - "summary": "Peers returns connected peers.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "[]peer.ID", - "description": "[]peer.ID", - "summary": "", - "schema": { - "examples": [ - [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L222" - } - }, - { - "name": "p2p.Protect", - "description": "Auth level: admin", - "summary": "Protect adds a peer to the list of peers who have a bidirectional\npeering agreement that they are protected from being trimmed, dropped\nor negatively scored.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L258" - } - }, - { - "name": "p2p.PubSubPeers", - "description": "Auth level: admin", - "summary": "PubSubPeers returns the peer IDs of the peers joined on\nthe given topic.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "topic", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]peer.ID", - "description": "[]peer.ID", - "summary": "", - "schema": { - "examples": [ - [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L286" - } - }, - { - "name": "p2p.ResourceState", - "description": "Auth level: admin", - "summary": "ResourceState returns the state of the resource manager.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "rcmgr.ResourceManagerStat", - "description": "rcmgr.ResourceManagerStat", - "summary": "", - "schema": { - "examples": [ - { - "System": { - "NumStreamsInbound": 4, - "NumStreamsOutbound": 13, - "NumConnsInbound": 0, - "NumConnsOutbound": 13, - "NumFD": 7, - "Memory": 4456448 - }, - "Transient": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "Services": { - "libp2p.autonat": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "libp2p.identify": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - } - }, - "Protocols": { - "/celestia/arabica-3/ipfs/bitswap/1.2.0": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 4, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/celestia/arabica-3/kad/1.0.0": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 4, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/floodsub/1.0.0": { - "NumStreamsInbound": 2, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/ipfs/id/1.0.0": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 1, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/meshsub/1.1.0": { - "NumStreamsInbound": 2, - "NumStreamsOutbound": 4, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - } - }, - "Peers": { - "\u0000$\u0008\u0001\u0012 \ufffd-\ufffd\ufffd\u0026\ufffd\ufffdY\ufffdk\ufffd\u000e\u0011\ufffdS\ufffdRM\u0013\ufffd\u0015\ufffd\ufffd$\ufffd\ufffd\ufffd\ufffd*\ufffd\u0002W": { - "NumStreamsInbound": 1, - "NumStreamsOutbound": 3, - "NumConnsInbound": 0, - "NumConnsOutbound": 3, - "NumFD": 3, - "Memory": 1048576 - } - } - } - ], - "additionalProperties": false, - "properties": { - "Peers": { - "patternProperties": { - ".*": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Protocols": { - "patternProperties": { - ".*": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Services": { - "patternProperties": { - ".*": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "System": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - }, - "Transient": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L282" - } - }, - { - "name": "p2p.UnblockPeer", - "description": "Auth level: admin", - "summary": "UnblockPeer removes a peer from the set of blocked peers.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "p", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L250" - } - }, - { - "name": "p2p.Unprotect", - "description": "Auth level: admin", - "summary": "Unprotect removes a peer from the list of peers who have a bidirectional\npeering agreement that they are protected from being trimmed, dropped\nor negatively scored, returning a bool representing whether the given\npeer is protected or not.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L262" - } - }, - { - "name": "share.GetEDS", - "description": "Auth level: public", - "summary": "GetEDS gets the full EDS identified by the given root.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "root", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*rsmt2d.ExtendedDataSquare", - "description": "*rsmt2d.ExtendedDataSquare", - "summary": "", - "schema": { - "examples": [ - { - "data_square": [ - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" - ], - "codec": "Leopard" - } - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L80" - } - }, - { - "name": "share.GetShare", - "description": "Auth level: public", - "summary": "GetShare gets a Share by coordinates in EDS.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "dah", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "row", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "col", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "share.Share", - "description": "share.Share", - "summary": "", - "schema": { - "examples": [ - "Ynl0ZSBhcnJheQ==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L76" - } - }, - { - "name": "share.GetSharesByNamespace", - "description": "Auth level: public", - "summary": "GetSharesByNamespace gets all shares from an EDS within the given namespace.\nShares are returned in a row-by-row order if the namespace spans multiple rows.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "root", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "share.NamespacedShares", - "description": "share.NamespacedShares", - "summary": "", - "schema": { - "examples": [ - [ - { - "shares": [ - "Ynl0ZSBhcnJheQ==" - ], - "proof": { - "start": 0, - "end": 0, - "nodes": null, - "leaf_hash": null, - "is_max_namespace_id_ignored": false - } - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "proof": { - "additionalProperties": false, - "type": "object" - }, - "shares": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L84" - } - }, - { - "name": "share.ProbabilityOfAvailability", - "description": "Auth level: public", - "summary": "ProbabilityOfAvailability calculates the probability of the data square\nbeing available based on the number of samples collected.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "float64", - "description": "float64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "number" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L72" - } - }, - { - "name": "share.SharesAvailable", - "description": "Auth level: public", - "summary": "SharesAvailable subjectively validates if Shares committed to the given Root are available on\nthe Network.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "root", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L68" - } - }, - { - "name": "state.AccountAddress", - "description": "Auth level: read", - "summary": "AccountAddress retrieves the address of the node's account/signer\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "state.Address", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L166" - } - }, - { - "name": "state.Balance", - "description": "Auth level: read", - "summary": "Balance retrieves the Celestia coin balance for the node's account/signer\nand verifies it against the corresponding block's AppHash.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "42" - } - ], - "additionalProperties": false, - "properties": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L260" - } - }, - { - "name": "state.BalanceForAddress", - "description": "Auth level: public", - "summary": "BalanceForAddress retrieves the Celestia coin balance for the given address and verifies\nthe returned balance against the corresponding block's AppHash.\n\nNOTE: the balance returned is the balance reported by the block right before\nthe node's current head (head-1). This is due to the fact that for block N, the block's\n`AppHash` is the result of applying the previous block's transaction list.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "addr", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "42" - } - ], - "additionalProperties": false, - "properties": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L174" - } - }, - { - "name": "state.BeginRedelegate", - "description": "Auth level: write", - "summary": "BeginRedelegate sends a user's delegated tokens to a new validator for redelegation.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "srcValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "dstValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L212" - } - }, - { - "name": "state.CancelUnbondingDelegation", - "description": "Auth level: write", - "summary": "CancelUnbondingDelegation cancels a user's pending undelegation from a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "valAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "height", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L201" - } - }, - { - "name": "state.Delegate", - "description": "Auth level: write", - "summary": "Delegate sends a user's liquid tokens to a validator for delegation.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L232" - } - }, - { - "name": "state.IsStopped", - "description": "Auth level: public", - "summary": "IsStopped checks if the Module's context has been stopped\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L170" - } - }, - { - "name": "state.QueryDelegation", - "description": "Auth level: public", - "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "valAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*types.QueryDelegationResponse", - "description": "*types.QueryDelegationResponse", - "summary": "", - "schema": { - "examples": [ - { - "delegation_response": { - "delegation": { - "delegator_address": "string value", - "validator_address": "string value", - "shares": "0" - }, - "balance": { - "denom": "string value", - "amount": "42" - } - } - } - ], - "additionalProperties": false, - "properties": { - "delegation_response": { - "additionalProperties": false, - "properties": { - "balance": { - "additionalProperties": false, - "properties": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } - }, - "type": "object" - }, - "delegation": { - "additionalProperties": false, - "properties": { - "delegator_address": { - "type": "string" - }, - "shares": { - "additionalProperties": false, - "type": "object" - }, - "validator_address": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L242" - } - }, - { - "name": "state.QueryRedelegations", - "description": "Auth level: public", - "summary": "QueryRedelegations retrieves the status of the redelegations between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "srcValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "dstValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*types.QueryRedelegationsResponse", - "description": "*types.QueryRedelegationsResponse", - "summary": "", - "schema": { - "examples": [ - { - "redelegation_responses": [ - { - "redelegation": { - "delegator_address": "string value", - "validator_src_address": "string value", - "validator_dst_address": "string value", - "entries": [ - { - "creation_height": 42, - "completion_time": "0001-01-01T00:00:00Z", - "initial_balance": "42", - "shares_dst": "0" - } - ] - }, - "entries": [ - { - "redelegation_entry": { - "creation_height": 42, - "completion_time": "0001-01-01T00:00:00Z", - "initial_balance": "42", - "shares_dst": "0" - }, - "balance": "42" - } - ] - } - ], - "pagination": { - "next_key": "Ynl0ZSBhcnJheQ==", - "total": 42 - } - } - ], - "additionalProperties": false, - "properties": { - "pagination": { - "additionalProperties": false, - "properties": { - "next_key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - }, - "redelegation_responses": { - "items": { - "additionalProperties": false, - "properties": { - "entries": { - "items": { - "additionalProperties": false, - "properties": { - "balance": { - "additionalProperties": false, - "type": "object" - }, - "redelegation_entry": { - "additionalProperties": false, - "properties": { - "completion_time": { - "format": "date-time", - "type": "string" - }, - "creation_height": { - "type": "integer" - }, - "initial_balance": { - "additionalProperties": false, - "type": "object" - }, - "shares_dst": { - "additionalProperties": false, - "type": "object" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - }, - "redelegation": { - "additionalProperties": false, - "properties": { - "delegator_address": { - "type": "string" - }, - "entries": { - "items": { - "additionalProperties": false, - "properties": { - "completion_time": { - "format": "date-time", - "type": "string" - }, - "creation_height": { - "type": "integer" - }, - "initial_balance": { - "additionalProperties": false, - "type": "object" - }, - "shares_dst": { - "additionalProperties": false, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - }, - "validator_dst_address": { - "type": "string" - }, - "validator_src_address": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L253" - } - }, - { - "name": "state.QueryUnbonding", - "description": "Auth level: public", - "summary": "QueryUnbonding retrieves the unbonding status between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "valAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*types.QueryUnbondingDelegationResponse", - "description": "*types.QueryUnbondingDelegationResponse", - "summary": "", - "schema": { - "examples": [ - { - "unbond": { - "delegator_address": "string value", - "validator_address": "string value", - "entries": [ - { - "creation_height": 42, - "completion_time": "0001-01-01T00:00:00Z", - "initial_balance": "42", - "balance": "42" - } - ] - } - } - ], - "additionalProperties": false, - "properties": { - "unbond": { - "additionalProperties": false, - "properties": { - "delegator_address": { - "type": "string" - }, - "entries": { - "items": { - "additionalProperties": false, - "properties": { - "balance": { - "additionalProperties": false, - "type": "object" - }, - "completion_time": { - "format": "date-time", - "type": "string" - }, - "creation_height": { - "type": "integer" - }, - "initial_balance": { - "additionalProperties": false, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - }, - "validator_address": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L246" - } - }, - { - "name": "state.SubmitPayForBlob", - "description": "Auth level: write", - "summary": "SubmitPayForBlob builds, signs and submits a PayForBlob transaction.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "blobs", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "blob": { - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L192" - } - }, - { - "name": "state.SubmitTx", - "description": "Auth level: write", - "summary": "SubmitTx submits the given transaction/message to the\nCelestia network and blocks until the tx is included in\na block.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "tx", - "description": "state.Tx", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L188" - } - }, - { - "name": "state.Transfer", - "description": "Auth level: write", - "summary": "Transfer sends the given amount of coins from default wallet of the node to the given account\naddress.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "to", - "description": "state.AccAddress", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLimit", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L178" - } - }, - { - "name": "state.Undelegate", - "description": "Auth level: write", - "summary": "Undelegate undelegates a user's delegated tokens, unbonding them from the current validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L222" - } - } - ] -} \ No newline at end of file diff --git a/src/openrpc-spec/openrpc-v0.11.0-rc8-arabica-improvements.json b/src/openrpc-spec/openrpc-v0.11.0-rc8-arabica-improvements.json deleted file mode 100644 index 9a6fa6da275..00000000000 --- a/src/openrpc-spec/openrpc-v0.11.0-rc8-arabica-improvements.json +++ /dev/null @@ -1,8414 +0,0 @@ -{ - "openrpc": "1.2.6", - "info": { - "title": "Celestia Node API", - "description": "The Celestia Node API is the collection of RPC methods that can be used to interact with the services provided by Celestia Data Availability Nodes.", - "version": "v0.11.0-rc8-arabica-improvements" - }, - "externalDocs": { - "description": "Celestia Node GitHub", - "url": "https://github.com/celestiaorg/celestia-node" - }, - "methods": [ - { - "name": "blob.Get", - "description": "Auth level: read", - "summary": "Get retrieves the blob by commitment under the given namespace and height.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*blob.Blob", - "description": "*blob.Blob", - "summary": "", - "schema": { - "examples": [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ], - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L45" - } - }, - { - "name": "blob.GetAll", - "description": "Auth level: read", - "summary": "GetAll returns all blobs under the given namespaces and height.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespaces", - "description": "[]share.Namespace", - "summary": "", - "schema": { - "examples": [ - [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]*blob.Blob", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "blob": { - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L54" - } - }, - { - "name": "blob.GetProof", - "description": "Auth level: read", - "summary": "GetProof retrieves proofs in the given namespaces at the given height by commitment.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*blob.Proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "start": 0, - "end": 4, - "nodes": [ - "dGVzdA==" - ] - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L58" - } - }, - { - "name": "blob.Included", - "description": "Auth level: read", - "summary": "Included checks whether a blob's given commitment(Merkle subtree root) is included at\ngiven height and under the namespace.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "start": 0, - "end": 4, - "nodes": [ - "dGVzdA==" - ] - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L67" - } - }, - { - "name": "blob.Submit", - "description": "Auth level: write", - "summary": "Submit sends Blobs and reports the height in which they were included.\nAllows sending multiple Blobs atomically synchronously.\nUses default wallet registered on the Node.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "blobs", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "blob": { - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "uint64", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L41" - } - }, - { - "name": "daser.SamplingStats", - "description": "Auth level: read", - "summary": "SamplingStats returns the current statistics over the DA sampling process.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "das.SamplingStats", - "description": "das.SamplingStats", - "summary": "", - "schema": { - "examples": [ - { - "head_of_sampled_chain": 1092, - "head_of_catchup": 34101, - "network_head_height": 470292, - "workers": [ - { - "job_type": "catchup", - "current": 1093, - "from": 1002, - "to": 1101 - }, - { - "job_type": "catchup", - "current": 33343, - "from": 33302, - "to": 33401 - }, - { - "job_type": "catchup", - "current": 34047, - "from": 34002, - "to": 34101 - }, - { - "job_type": "catchup", - "current": 1327, - "from": 1302, - "to": 1401 - }, - { - "job_type": "catchup", - "current": 1197, - "from": 1102, - "to": 1201 - }, - { - "job_type": "catchup", - "current": 1408, - "from": 1402, - "to": 1501 - } - ], - "concurrency": 6, - "catch_up_done": false, - "is_running": true - } - ], - "additionalProperties": false, - "properties": { - "catch_up_done": { - "type": "boolean" - }, - "concurrency": { - "type": "integer" - }, - "failed": { - "patternProperties": { - ".*": { - "type": "integer" - } - }, - "type": "object" - }, - "head_of_catchup": { - "type": "integer" - }, - "head_of_sampled_chain": { - "type": "integer" - }, - "is_running": { - "type": "boolean" - }, - "network_head_height": { - "type": "integer" - }, - "workers": { - "items": { - "additionalProperties": false, - "properties": { - "current": { - "type": "integer" - }, - "error": { - "type": "string" - }, - "from": { - "type": "integer" - }, - "job_type": { - "type": "string" - }, - "to": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/das/das.go#L28" - } - }, - { - "name": "daser.WaitCatchUp", - "description": "Auth level: read", - "summary": "WaitCatchUp blocks until DASer finishes catching up to the network head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/das/das.go#L32" - } - }, - { - "name": "fraud.Get", - "description": "Auth level: read", - "summary": "Get fetches fraud proofs from the disk by its type.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "proofType", - "description": "fraud.ProofType", - "summary": "", - "schema": { - "examples": [ - "badencoding" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]Proof", - "description": "[]Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "proof_type": "badencoding", - "data": "ChJiYWQgZW5jb2RpbmcgcHJvb2YQKg==" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/fraud/fraud.go#L35" - } - }, - { - "name": "fraud.Subscribe", - "description": "Auth level: public", - "summary": "Subscribe allows to subscribe on a Proof pub sub topic by its type.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "proofType", - "description": "fraud.ProofType", - "summary": "", - "schema": { - "examples": [ - "badencoding" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "\u003c-chan Proof", - "description": "\u003c-chan Proof", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/fraud/fraud.go#L31" - } - }, - { - "name": "header.GetByHash", - "description": "Auth level: public", - "summary": "GetByHash returns the header of the given hash from the node's header store.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "hash", - "description": "libhead.Hash", - "summary": "", - "schema": { - "examples": [ - "07" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L71" - } - }, - { - "name": "header.GetByHeight", - "description": "Auth level: public", - "summary": "GetByHeight returns the ExtendedHeader at the given height if it is\ncurrently available.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "u", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L83" - } - }, - { - "name": "header.GetVerifiedRangeByHeight", - "description": "Auth level: public", - "summary": "GetVerifiedRangeByHeight returns the given range [from:to) of ExtendedHeaders\nfrom the node's header store and verifies that the returned headers are\nadjacent to each other.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "from", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "to", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]*header.ExtendedHeader", - "description": "[]*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L75" - } - }, - { - "name": "header.LocalHead", - "description": "Auth level: read", - "summary": "LocalHead returns the ExtendedHeader of the chain head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L91" - } - }, - { - "name": "header.NetworkHead", - "description": "Auth level: public", - "summary": "NetworkHead provides the Syncer's view of the current network head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L103" - } - }, - { - "name": "header.Subscribe", - "description": "Auth level: public", - "summary": "Subscribe to recent ExtendedHeaders from the network.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "\u003c-chan *header.ExtendedHeader", - "description": "\u003c-chan *header.ExtendedHeader", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L107" - } - }, - { - "name": "header.SyncState", - "description": "Auth level: read", - "summary": "SyncState returns the current state of the header Syncer.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "sync.State", - "description": "sync.State", - "summary": "", - "schema": { - "examples": [ - { - "id": 42, - "height": 42, - "from_height": 42, - "to_height": 42, - "from_hash": "07", - "to_hash": "07", - "start": "0001-01-01T00:00:00Z", - "end": "0001-01-01T00:00:00Z", - "error": "string value" - } - ], - "additionalProperties": false, - "properties": { - "end": { - "format": "date-time", - "type": "string" - }, - "error": { - "type": "string" - }, - "from_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "from_height": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "id": { - "type": "integer" - }, - "start": { - "format": "date-time", - "type": "string" - }, - "to_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "to_height": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L95" - } - }, - { - "name": "header.SyncWait", - "description": "Auth level: read", - "summary": "SyncWait blocks until the header Syncer is synced to network head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L99" - } - }, - { - "name": "header.WaitForHeight", - "description": "Auth level: read", - "summary": "WaitForHeight blocks until the header at the given height has been processed\nby the store or context deadline is exceeded.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "u", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "data_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "evidence_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "last_results_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "next_validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L87" - } - }, - { - "name": "node.AuthNew", - "description": "Auth level: admin", - "summary": "AuthNew signs and returns a new token with the given permissions.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "perms", - "description": "[]auth.Permission", - "summary": "", - "schema": { - "examples": [ - [ - "admin" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "string", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L49" - } - }, - { - "name": "node.AuthVerify", - "description": "Auth level: admin", - "summary": "AuthVerify returns the permissions assigned to the given token.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "token", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]auth.Permission", - "description": "[]auth.Permission", - "summary": "", - "schema": { - "examples": [ - [ - "admin" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L45" - } - }, - { - "name": "node.Info", - "description": "Auth level: admin", - "summary": "Info returns administrative information about the node.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "Info", - "description": "Info", - "summary": "", - "schema": { - "examples": [ - { - "type": 3, - "api_version": "string value" - } - ], - "additionalProperties": false, - "properties": { - "api_version": { - "type": "string" - }, - "type": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L37" - } - }, - { - "name": "node.LogLevelSet", - "description": "Auth level: admin", - "summary": "LogLevelSet sets the given component log level to the given level.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "name", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "level", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L41" - } - }, - { - "name": "p2p.BandwidthForPeer", - "description": "Auth level: admin", - "summary": "BandwidthForPeer returns a Stats struct with bandwidth metrics associated with the given peer.ID.\nThe metrics returned include all traffic sent / received for the peer, regardless of protocol.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" - }, - "TotalIn": { - "type": "integer" - }, - "TotalOut": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L274" - } - }, - { - "name": "p2p.BandwidthForProtocol", - "description": "Auth level: admin", - "summary": "BandwidthForProtocol returns a Stats struct with bandwidth metrics associated with the given\nprotocol.ID.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "proto", - "description": "protocol.ID", - "summary": "", - "schema": { - "examples": [ - "/celestia/mocha/ipfs/bitswap" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" - }, - "TotalIn": { - "type": "integer" - }, - "TotalOut": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L278" - } - }, - { - "name": "p2p.BandwidthStats", - "description": "Auth level: admin", - "summary": "BandwidthStats returns a Stats struct with bandwidth metrics for all\ndata sent/received by the local peer, regardless of protocol or remote\npeer IDs.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" - }, - "TotalIn": { - "type": "integer" - }, - "TotalOut": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L270" - } - }, - { - "name": "p2p.BlockPeer", - "description": "Auth level: admin", - "summary": "BlockPeer adds a peer to the set of blocked peers.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "p", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L246" - } - }, - { - "name": "p2p.ClosePeer", - "description": "Auth level: admin", - "summary": "ClosePeer closes the connection to a given peer.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L234" - } - }, - { - "name": "p2p.Connect", - "description": "Auth level: admin", - "summary": "Connect ensures there is a connection between this host and the peer with\ngiven peer.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "pi", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] - } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" - }, - "ID": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L230" - } - }, - { - "name": "p2p.Connectedness", - "description": "Auth level: admin", - "summary": "Connectedness returns a state signaling connection capabilities.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "network.Connectedness", - "description": "network.Connectedness", - "summary": "", - "schema": { - "examples": [ - 1 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L238" - } - }, - { - "name": "p2p.Info", - "description": "Auth level: admin", - "summary": "Info returns address information about the host.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "peer.AddrInfo", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] - } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" - }, - "ID": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L218" - } - }, - { - "name": "p2p.IsProtected", - "description": "Auth level: admin", - "summary": "IsProtected returns whether the given peer is protected.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L266" - } - }, - { - "name": "p2p.ListBlockedPeers", - "description": "Auth level: admin", - "summary": "ListBlockedPeers returns a list of blocked peers.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "[]peer.ID", - "description": "[]peer.ID", - "summary": "", - "schema": { - "examples": [ - [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L254" - } - }, - { - "name": "p2p.NATStatus", - "description": "Auth level: admin", - "summary": "NATStatus returns the current NAT status.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "network.Reachability", - "description": "network.Reachability", - "summary": "", - "schema": { - "examples": [ - 2 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L242" - } - }, - { - "name": "p2p.PeerInfo", - "description": "Auth level: admin", - "summary": "PeerInfo returns a small slice of information Peerstore has on the\ngiven peer.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "peer.AddrInfo", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] - } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" - }, - "ID": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L226" - } - }, - { - "name": "p2p.Peers", - "description": "Auth level: admin", - "summary": "Peers returns connected peers.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "[]peer.ID", - "description": "[]peer.ID", - "summary": "", - "schema": { - "examples": [ - [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L222" - } - }, - { - "name": "p2p.Protect", - "description": "Auth level: admin", - "summary": "Protect adds a peer to the list of peers who have a bidirectional\npeering agreement that they are protected from being trimmed, dropped\nor negatively scored.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L258" - } - }, - { - "name": "p2p.PubSubPeers", - "description": "Auth level: admin", - "summary": "PubSubPeers returns the peer IDs of the peers joined on\nthe given topic.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "topic", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]peer.ID", - "description": "[]peer.ID", - "summary": "", - "schema": { - "examples": [ - [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L286" - } - }, - { - "name": "p2p.ResourceState", - "description": "Auth level: admin", - "summary": "ResourceState returns the state of the resource manager.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "rcmgr.ResourceManagerStat", - "description": "rcmgr.ResourceManagerStat", - "summary": "", - "schema": { - "examples": [ - { - "System": { - "NumStreamsInbound": 4, - "NumStreamsOutbound": 13, - "NumConnsInbound": 0, - "NumConnsOutbound": 13, - "NumFD": 7, - "Memory": 4456448 - }, - "Transient": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "Services": { - "libp2p.autonat": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "libp2p.identify": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - } - }, - "Protocols": { - "/celestia/arabica-3/ipfs/bitswap/1.2.0": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 4, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/celestia/arabica-3/kad/1.0.0": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 4, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/floodsub/1.0.0": { - "NumStreamsInbound": 2, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/ipfs/id/1.0.0": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 1, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/meshsub/1.1.0": { - "NumStreamsInbound": 2, - "NumStreamsOutbound": 4, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - } - }, - "Peers": { - "\u0000$\u0008\u0001\u0012 \ufffd-\ufffd\ufffd\u0026\ufffd\ufffdY\ufffdk\ufffd\u000e\u0011\ufffdS\ufffdRM\u0013\ufffd\u0015\ufffd\ufffd$\ufffd\ufffd\ufffd\ufffd*\ufffd\u0002W": { - "NumStreamsInbound": 1, - "NumStreamsOutbound": 3, - "NumConnsInbound": 0, - "NumConnsOutbound": 3, - "NumFD": 3, - "Memory": 1048576 - } - } - } - ], - "additionalProperties": false, - "properties": { - "Peers": { - "patternProperties": { - ".*": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Protocols": { - "patternProperties": { - ".*": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Services": { - "patternProperties": { - ".*": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "System": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - }, - "Transient": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L282" - } - }, - { - "name": "p2p.UnblockPeer", - "description": "Auth level: admin", - "summary": "UnblockPeer removes a peer from the set of blocked peers.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "p", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L250" - } - }, - { - "name": "p2p.Unprotect", - "description": "Auth level: admin", - "summary": "Unprotect removes a peer from the list of peers who have a bidirectional\npeering agreement that they are protected from being trimmed, dropped\nor negatively scored, returning a bool representing whether the given\npeer is protected or not.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L262" - } - }, - { - "name": "share.GetEDS", - "description": "Auth level: public", - "summary": "GetEDS gets the full EDS identified by the given root.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "root", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*rsmt2d.ExtendedDataSquare", - "description": "*rsmt2d.ExtendedDataSquare", - "summary": "", - "schema": { - "examples": [ - { - "data_square": [ - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" - ], - "codec": "Leopard" - } - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L80" - } - }, - { - "name": "share.GetShare", - "description": "Auth level: public", - "summary": "GetShare gets a Share by coordinates in EDS.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "dah", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "row", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "col", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "share.Share", - "description": "share.Share", - "summary": "", - "schema": { - "examples": [ - "Ynl0ZSBhcnJheQ==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L76" - } - }, - { - "name": "share.GetSharesByNamespace", - "description": "Auth level: public", - "summary": "GetSharesByNamespace gets all shares from an EDS within the given namespace.\nShares are returned in a row-by-row order if the namespace spans multiple rows.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "root", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "share.NamespacedShares", - "description": "share.NamespacedShares", - "summary": "", - "schema": { - "examples": [ - [ - { - "Shares": [ - "Ynl0ZSBhcnJheQ==" - ], - "Proof": { - "start": 0, - "end": 0, - "nodes": null, - "leaf_hash": null, - "is_max_namespace_id_ignored": false - } - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "Proof": { - "additionalProperties": false, - "type": "object" - }, - "Shares": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L84" - } - }, - { - "name": "share.ProbabilityOfAvailability", - "description": "Auth level: public", - "summary": "ProbabilityOfAvailability calculates the probability of the data square\nbeing available based on the number of samples collected.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "float64", - "description": "float64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "number" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L72" - } - }, - { - "name": "share.SharesAvailable", - "description": "Auth level: public", - "summary": "SharesAvailable subjectively validates if Shares committed to the given Root are available on\nthe Network.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "root", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L68" - } - }, - { - "name": "state.AccountAddress", - "description": "Auth level: read", - "summary": "AccountAddress retrieves the address of the node's account/signer\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "state.Address", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L166" - } - }, - { - "name": "state.Balance", - "description": "Auth level: read", - "summary": "Balance retrieves the Celestia coin balance for the node's account/signer\nand verifies it against the corresponding block's AppHash.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "42" - } - ], - "additionalProperties": false, - "properties": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L260" - } - }, - { - "name": "state.BalanceForAddress", - "description": "Auth level: public", - "summary": "BalanceForAddress retrieves the Celestia coin balance for the given address and verifies\nthe returned balance against the corresponding block's AppHash.\n\nNOTE: the balance returned is the balance reported by the block right before\nthe node's current head (head-1). This is due to the fact that for block N, the block's\n`AppHash` is the result of applying the previous block's transaction list.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "addr", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "42" - } - ], - "additionalProperties": false, - "properties": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L174" - } - }, - { - "name": "state.BeginRedelegate", - "description": "Auth level: write", - "summary": "BeginRedelegate sends a user's delegated tokens to a new validator for redelegation.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "srcValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "dstValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L212" - } - }, - { - "name": "state.CancelUnbondingDelegation", - "description": "Auth level: write", - "summary": "CancelUnbondingDelegation cancels a user's pending undelegation from a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "valAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "height", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L201" - } - }, - { - "name": "state.Delegate", - "description": "Auth level: write", - "summary": "Delegate sends a user's liquid tokens to a validator for delegation.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L232" - } - }, - { - "name": "state.IsStopped", - "description": "Auth level: public", - "summary": "IsStopped checks if the Module's context has been stopped\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L170" - } - }, - { - "name": "state.QueryDelegation", - "description": "Auth level: public", - "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "valAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*types.QueryDelegationResponse", - "description": "*types.QueryDelegationResponse", - "summary": "", - "schema": { - "examples": [ - { - "delegation_response": { - "delegation": { - "delegator_address": "string value", - "validator_address": "string value", - "shares": "0" - }, - "balance": { - "denom": "string value", - "amount": "42" - } - } - } - ], - "additionalProperties": false, - "properties": { - "delegation_response": { - "additionalProperties": false, - "properties": { - "balance": { - "additionalProperties": false, - "properties": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } - }, - "type": "object" - }, - "delegation": { - "additionalProperties": false, - "properties": { - "delegator_address": { - "type": "string" - }, - "shares": { - "additionalProperties": false, - "type": "object" - }, - "validator_address": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L242" - } - }, - { - "name": "state.QueryRedelegations", - "description": "Auth level: public", - "summary": "QueryRedelegations retrieves the status of the redelegations between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "srcValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "dstValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*types.QueryRedelegationsResponse", - "description": "*types.QueryRedelegationsResponse", - "summary": "", - "schema": { - "examples": [ - { - "redelegation_responses": [ - { - "redelegation": { - "delegator_address": "string value", - "validator_src_address": "string value", - "validator_dst_address": "string value", - "entries": [ - { - "creation_height": 42, - "completion_time": "0001-01-01T00:00:00Z", - "initial_balance": "42", - "shares_dst": "0" - } - ] - }, - "entries": [ - { - "redelegation_entry": { - "creation_height": 42, - "completion_time": "0001-01-01T00:00:00Z", - "initial_balance": "42", - "shares_dst": "0" - }, - "balance": "42" - } - ] - } - ], - "pagination": { - "next_key": "Ynl0ZSBhcnJheQ==", - "total": 42 - } - } - ], - "additionalProperties": false, - "properties": { - "pagination": { - "additionalProperties": false, - "properties": { - "next_key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - }, - "redelegation_responses": { - "items": { - "additionalProperties": false, - "properties": { - "entries": { - "items": { - "additionalProperties": false, - "properties": { - "balance": { - "additionalProperties": false, - "type": "object" - }, - "redelegation_entry": { - "additionalProperties": false, - "properties": { - "completion_time": { - "format": "date-time", - "type": "string" - }, - "creation_height": { - "type": "integer" - }, - "initial_balance": { - "additionalProperties": false, - "type": "object" - }, - "shares_dst": { - "additionalProperties": false, - "type": "object" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - }, - "redelegation": { - "additionalProperties": false, - "properties": { - "delegator_address": { - "type": "string" - }, - "entries": { - "items": { - "additionalProperties": false, - "properties": { - "completion_time": { - "format": "date-time", - "type": "string" - }, - "creation_height": { - "type": "integer" - }, - "initial_balance": { - "additionalProperties": false, - "type": "object" - }, - "shares_dst": { - "additionalProperties": false, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - }, - "validator_dst_address": { - "type": "string" - }, - "validator_src_address": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L253" - } - }, - { - "name": "state.QueryUnbonding", - "description": "Auth level: public", - "summary": "QueryUnbonding retrieves the unbonding status between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "valAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*types.QueryUnbondingDelegationResponse", - "description": "*types.QueryUnbondingDelegationResponse", - "summary": "", - "schema": { - "examples": [ - { - "unbond": { - "delegator_address": "string value", - "validator_address": "string value", - "entries": [ - { - "creation_height": 42, - "completion_time": "0001-01-01T00:00:00Z", - "initial_balance": "42", - "balance": "42" - } - ] - } - } - ], - "additionalProperties": false, - "properties": { - "unbond": { - "additionalProperties": false, - "properties": { - "delegator_address": { - "type": "string" - }, - "entries": { - "items": { - "additionalProperties": false, - "properties": { - "balance": { - "additionalProperties": false, - "type": "object" - }, - "completion_time": { - "format": "date-time", - "type": "string" - }, - "creation_height": { - "type": "integer" - }, - "initial_balance": { - "additionalProperties": false, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - }, - "validator_address": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L246" - } - }, - { - "name": "state.SubmitPayForBlob", - "description": "Auth level: write", - "summary": "SubmitPayForBlob builds, signs and submits a PayForBlob transaction.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "blobs", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "blob": { - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L192" - } - }, - { - "name": "state.SubmitTx", - "description": "Auth level: write", - "summary": "SubmitTx submits the given transaction/message to the\nCelestia network and blocks until the tx is included in\na block.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "tx", - "description": "state.Tx", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L188" - } - }, - { - "name": "state.Transfer", - "description": "Auth level: write", - "summary": "Transfer sends the given amount of coins from default wallet of the node to the given account\naddress.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "to", - "description": "state.AccAddress", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLimit", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L178" - } - }, - { - "name": "state.Undelegate", - "description": "Auth level: write", - "summary": "Undelegate undelegates a user's delegated tokens, unbonding them from the current validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L222" - } - } - ] -} \ No newline at end of file diff --git a/src/openrpc-spec/openrpc-v0.11.0-rc8.json b/src/openrpc-spec/openrpc-v0.11.0-rc8.json deleted file mode 100644 index 2ff0b90b650..00000000000 --- a/src/openrpc-spec/openrpc-v0.11.0-rc8.json +++ /dev/null @@ -1,8554 +0,0 @@ -{ - "openrpc": "1.2.6", - "info": { - "title": "Celestia Node API", - "description": "The Celestia Node API is the collection of RPC methods that can be used to interact with the services provided by Celestia Data Availability Nodes.", - "version": "v0.11.0-rc8" - }, - "externalDocs": { - "description": "Celestia Node GitHub", - "url": "https://github.com/celestiaorg/celestia-node" - }, - "methods": [ - { - "name": "blob.Get", - "description": "Auth level: read", - "summary": "Get retrieves the blob by commitment under the given namespace and height.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*blob.Blob", - "description": "*blob.Blob", - "summary": "", - "schema": { - "examples": [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ], - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "items": { - "type": "integer" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L45" - } - }, - { - "name": "blob.GetAll", - "description": "Auth level: read", - "summary": "GetAll returns all blobs under the given namespaces and height.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespaces", - "description": "[]share.Namespace", - "summary": "", - "schema": { - "examples": [ - [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ] - ], - "items": [ - { - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]*blob.Blob", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "blob": { - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "items": { - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "commitment": { - "items": { - "type": "integer" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L54" - } - }, - { - "name": "blob.GetProof", - "description": "Auth level: read", - "summary": "GetProof retrieves proofs in the given namespaces at the given height by commitment.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*blob.Proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "start": 0, - "end": 4, - "nodes": [ - "dGVzdA==" - ] - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L58" - } - }, - { - "name": "blob.Included", - "description": "Auth level: read", - "summary": "Included checks whether a blob's given commitment(Merkle subtree root) is included at\ngiven height and under the namespace.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "start": 0, - "end": 4, - "nodes": [ - "dGVzdA==" - ] - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L67" - } - }, - { - "name": "blob.Submit", - "description": "Auth level: write", - "summary": "Submit sends Blobs and reports the height in which they were included.\nAllows sending multiple Blobs atomically synchronously.\nUses default wallet registered on the Node.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "blobs", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "blob": { - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "items": { - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "commitment": { - "items": { - "type": "integer" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "uint64", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/blob/blob.go#L41" - } - }, - { - "name": "daser.SamplingStats", - "description": "Auth level: read", - "summary": "SamplingStats returns the current statistics over the DA sampling process.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "das.SamplingStats", - "description": "das.SamplingStats", - "summary": "", - "schema": { - "examples": [ - { - "head_of_sampled_chain": 1092, - "head_of_catchup": 34101, - "network_head_height": 470292, - "workers": [ - { - "job_type": "catchup", - "current": 1093, - "from": 1002, - "to": 1101 - }, - { - "job_type": "catchup", - "current": 33343, - "from": 33302, - "to": 33401 - }, - { - "job_type": "catchup", - "current": 34047, - "from": 34002, - "to": 34101 - }, - { - "job_type": "catchup", - "current": 1327, - "from": 1302, - "to": 1401 - }, - { - "job_type": "catchup", - "current": 1197, - "from": 1102, - "to": 1201 - }, - { - "job_type": "catchup", - "current": 1408, - "from": 1402, - "to": 1501 - } - ], - "concurrency": 6, - "catch_up_done": false, - "is_running": true - } - ], - "additionalProperties": false, - "properties": { - "catch_up_done": { - "type": "boolean" - }, - "concurrency": { - "type": "integer" - }, - "failed": { - "patternProperties": { - ".*": { - "type": "integer" - } - }, - "type": "object" - }, - "head_of_catchup": { - "type": "integer" - }, - "head_of_sampled_chain": { - "type": "integer" - }, - "is_running": { - "type": "boolean" - }, - "network_head_height": { - "type": "integer" - }, - "workers": { - "items": { - "additionalProperties": false, - "properties": { - "current": { - "type": "integer" - }, - "error": { - "type": "string" - }, - "from": { - "type": "integer" - }, - "job_type": { - "type": "string" - }, - "to": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/das/das.go#L28" - } - }, - { - "name": "daser.WaitCatchUp", - "description": "Auth level: read", - "summary": "WaitCatchUp blocks until DASer finishes catching up to the network head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/das/das.go#L32" - } - }, - { - "name": "fraud.Get", - "description": "Auth level: read", - "summary": "Get fetches fraud proofs from the disk by its type.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "proofType", - "description": "fraud.ProofType", - "summary": "", - "schema": { - "examples": [ - "badencoding" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]Proof", - "description": "[]Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "proof_type": "badencoding", - "data": "ChJiYWQgZW5jb2RpbmcgcHJvb2YQKg==" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/fraud/fraud.go#L35" - } - }, - { - "name": "fraud.Subscribe", - "description": "Auth level: public", - "summary": "Subscribe allows to subscribe on a Proof pub sub topic by its type.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "proofType", - "description": "fraud.ProofType", - "summary": "", - "schema": { - "examples": [ - "badencoding" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "\u003c-chan Proof", - "description": "\u003c-chan Proof", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/fraud/fraud.go#L31" - } - }, - { - "name": "header.GetByHash", - "description": "Auth level: public", - "summary": "GetByHash returns the header of the given hash from the node's header store.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "hash", - "description": "libhead.Hash", - "summary": "", - "schema": { - "examples": [ - "07" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "items": { - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "data_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "evidence_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "last_results_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "next_validators_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L71" - } - }, - { - "name": "header.GetByHeight", - "description": "Auth level: public", - "summary": "GetByHeight returns the ExtendedHeader at the given height if it is\ncurrently available.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "u", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "items": { - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "data_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "evidence_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "last_results_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "next_validators_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L83" - } - }, - { - "name": "header.GetVerifiedRangeByHeight", - "description": "Auth level: public", - "summary": "GetVerifiedRangeByHeight returns the given range [from:to) of ExtendedHeaders\nfrom the node's header store and verifies that the returned headers are\nadjacent to each other.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "from", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "items": { - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "data_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "evidence_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "last_results_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "next_validators_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "to", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]*header.ExtendedHeader", - "description": "[]*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "items": { - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "data_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "evidence_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "last_results_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "next_validators_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L75" - } - }, - { - "name": "header.LocalHead", - "description": "Auth level: read", - "summary": "LocalHead returns the ExtendedHeader of the chain head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "items": { - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "data_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "evidence_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "last_results_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "next_validators_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L91" - } - }, - { - "name": "header.NetworkHead", - "description": "Auth level: public", - "summary": "NetworkHead provides the Syncer's view of the current network head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "items": { - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "data_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "evidence_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "last_results_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "next_validators_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L103" - } - }, - { - "name": "header.Subscribe", - "description": "Auth level: public", - "summary": "Subscribe to recent ExtendedHeaders from the network.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "\u003c-chan *header.ExtendedHeader", - "description": "\u003c-chan *header.ExtendedHeader", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L107" - } - }, - { - "name": "header.SyncState", - "description": "Auth level: read", - "summary": "SyncState returns the current state of the header Syncer.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "sync.State", - "description": "sync.State", - "summary": "", - "schema": { - "examples": [ - { - "ID": 42, - "Height": 42, - "FromHeight": 42, - "ToHeight": 42, - "FromHash": "07", - "ToHash": "07", - "Start": "0001-01-01T00:00:00Z", - "End": "0001-01-01T00:00:00Z", - "Error": {} - } - ], - "additionalProperties": false, - "properties": { - "End": { - "format": "date-time", - "type": "string" - }, - "Error": { - "additionalProperties": true - }, - "FromHash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "FromHeight": { - "type": "integer" - }, - "Height": { - "type": "integer" - }, - "ID": { - "type": "integer" - }, - "Start": { - "format": "date-time", - "type": "string" - }, - "ToHash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "ToHeight": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L95" - } - }, - { - "name": "header.SyncWait", - "description": "Auth level: read", - "summary": "SyncWait blocks until the header Syncer is synced to network head.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L99" - } - }, - { - "name": "header.WaitForHeight", - "description": "Auth level: read", - "summary": "WaitForHeight blocks until the header at the given height has been processed\nby the store or context deadline is exceeded.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "u", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ - { - "header": { - "version": { - "block": "11" - }, - "chain_id": "arabica-6", - "height": "67374", - "time": "2023-02-25T12:10:28.067566292Z", - "last_block_id": { - "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", - "parts": { - "total": 1, - "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" - } - }, - "last_commit_hash": "888D47F5E9473501C99F2B6136B6B9FFBC9D1CD2F54002BCD5DF002FFEF0A83D", - "data_hash": "257760461993F8F197B421EC7435F3C36C3734923E3DA9A42DC73B05F07B3D08", - "validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "next_validators_hash": "883A0C92B8D976312B249C1397E73CF2981A9EB715717CBEE3800B8380C22C1D", - "consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F", - "app_hash": "1FC70854A185737C7FD720FCCE9167876EE4B9ABE23DB1EBB8C552D3E3978435", - "last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855", - "proposer_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA" - }, - "validator_set": { - "validators": [ - { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - ], - "proposer": { - "address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "pub_key": { - "type": "tendermint/PubKeyEd25519", - "value": "aoB4xU9//HAqOP9ciyp0+PTdZxt/UGKgZOabU6JxW8o=" - }, - "voting_power": "5000000000", - "proposer_priority": "0" - } - }, - "commit": { - "height": 67374, - "round": 0, - "block_id": { - "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", - "parts": { - "total": 1, - "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" - } - }, - "signatures": [ - { - "block_id_flag": 2, - "validator_address": "57DC09D28388DBF977CFC30EF50BE8B644CCC1FA", - "timestamp": "2023-02-25T12:10:38.130121476Z", - "signature": "HyR/uRIUNc5GNqQteZyrVjJM47SI9sRAgrLsNqJDls3AzbvHUfN4zzWyw0afyEvNm98Bm2GIoJoZC5D8oQvdBA==" - } - ] - }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] - } - } - ], - "additionalProperties": false, - "properties": { - "commit": { - "additionalProperties": false, - "properties": { - "block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "height": { - "type": "integer" - }, - "round": { - "type": "integer" - }, - "signatures": { - "items": { - "additionalProperties": false, - "properties": { - "block_id_flag": { - "type": "integer" - }, - "signature": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "timestamp": { - "format": "date-time", - "type": "string" - }, - "validator_address": { - "items": { - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "dah": { - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "header": { - "additionalProperties": false, - "properties": { - "app_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "chain_id": { - "type": "string" - }, - "consensus_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "data_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "evidence_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "height": { - "type": "integer" - }, - "last_block_id": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "parts": { - "additionalProperties": false, - "properties": { - "hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "last_commit_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "last_results_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "next_validators_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "time": { - "format": "date-time", - "type": "string" - }, - "validators_hash": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "version": { - "additionalProperties": false, - "properties": { - "app": { - "type": "integer" - }, - "block": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "validator_set": { - "additionalProperties": false, - "properties": { - "proposer": { - "additionalProperties": false, - "properties": { - "address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "validators": { - "items": { - "additionalProperties": false, - "properties": { - "address": { - "items": { - "type": "integer" - }, - "type": "array" - }, - "proposer_priority": { - "type": "integer" - }, - "pub_key": { - "additionalProperties": true - }, - "voting_power": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/header/header.go#L87" - } - }, - { - "name": "node.AuthNew", - "description": "Auth level: admin", - "summary": "AuthNew signs and returns a new token with the given permissions.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "perms", - "description": "[]auth.Permission", - "summary": "", - "schema": { - "examples": [ - [ - "admin" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "string", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L49" - } - }, - { - "name": "node.AuthVerify", - "description": "Auth level: admin", - "summary": "AuthVerify returns the permissions assigned to the given token.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "token", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]auth.Permission", - "description": "[]auth.Permission", - "summary": "", - "schema": { - "examples": [ - [ - "admin" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L45" - } - }, - { - "name": "node.Info", - "description": "Auth level: admin", - "summary": "Info returns administrative information about the node.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "Info", - "description": "Info", - "summary": "", - "schema": { - "examples": [ - { - "type": 3, - "api_version": "string value" - } - ], - "additionalProperties": false, - "properties": { - "api_version": { - "type": "string" - }, - "type": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L37" - } - }, - { - "name": "node.LogLevelSet", - "description": "Auth level: admin", - "summary": "LogLevelSet sets the given component log level to the given level.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "name", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "level", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/node/node.go#L41" - } - }, - { - "name": "p2p.BandwidthForPeer", - "description": "Auth level: admin", - "summary": "BandwidthForPeer returns a Stats struct with bandwidth metrics associated with the given peer.ID.\nThe metrics returned include all traffic sent / received for the peer, regardless of protocol.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" - }, - "TotalIn": { - "type": "integer" - }, - "TotalOut": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L274" - } - }, - { - "name": "p2p.BandwidthForProtocol", - "description": "Auth level: admin", - "summary": "BandwidthForProtocol returns a Stats struct with bandwidth metrics associated with the given\nprotocol.ID.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "proto", - "description": "protocol.ID", - "summary": "", - "schema": { - "examples": [ - "/celestia/mocha/ipfs/bitswap" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" - }, - "TotalIn": { - "type": "integer" - }, - "TotalOut": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L278" - } - }, - { - "name": "p2p.BandwidthStats", - "description": "Auth level: admin", - "summary": "BandwidthStats returns a Stats struct with bandwidth metrics for all\ndata sent/received by the local peer, regardless of protocol or remote\npeer IDs.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" - }, - "TotalIn": { - "type": "integer" - }, - "TotalOut": { - "type": "integer" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L270" - } - }, - { - "name": "p2p.BlockPeer", - "description": "Auth level: admin", - "summary": "BlockPeer adds a peer to the set of blocked peers.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "p", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L246" - } - }, - { - "name": "p2p.ClosePeer", - "description": "Auth level: admin", - "summary": "ClosePeer closes the connection to a given peer.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L234" - } - }, - { - "name": "p2p.Connect", - "description": "Auth level: admin", - "summary": "Connect ensures there is a connection between this host and the peer with\ngiven peer.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "pi", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] - } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" - }, - "ID": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L230" - } - }, - { - "name": "p2p.Connectedness", - "description": "Auth level: admin", - "summary": "Connectedness returns a state signaling connection capabilities.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "network.Connectedness", - "description": "network.Connectedness", - "summary": "", - "schema": { - "examples": [ - 1 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L238" - } - }, - { - "name": "p2p.Info", - "description": "Auth level: admin", - "summary": "Info returns address information about the host.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "peer.AddrInfo", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] - } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" - }, - "ID": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L218" - } - }, - { - "name": "p2p.IsProtected", - "description": "Auth level: admin", - "summary": "IsProtected returns whether the given peer is protected.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L266" - } - }, - { - "name": "p2p.ListBlockedPeers", - "description": "Auth level: admin", - "summary": "ListBlockedPeers returns a list of blocked peers.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "[]peer.ID", - "description": "[]peer.ID", - "summary": "", - "schema": { - "examples": [ - [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L254" - } - }, - { - "name": "p2p.NATStatus", - "description": "Auth level: admin", - "summary": "NATStatus returns the current NAT status.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "network.Reachability", - "description": "network.Reachability", - "summary": "", - "schema": { - "examples": [ - 2 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L242" - } - }, - { - "name": "p2p.PeerInfo", - "description": "Auth level: admin", - "summary": "PeerInfo returns a small slice of information Peerstore has on the\ngiven peer.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "peer.AddrInfo", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] - } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" - }, - "ID": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L226" - } - }, - { - "name": "p2p.Peers", - "description": "Auth level: admin", - "summary": "Peers returns connected peers.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "[]peer.ID", - "description": "[]peer.ID", - "summary": "", - "schema": { - "examples": [ - [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L222" - } - }, - { - "name": "p2p.Protect", - "description": "Auth level: admin", - "summary": "Protect adds a peer to the list of peers who have a bidirectional\npeering agreement that they are protected from being trimmed, dropped\nor negatively scored.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L258" - } - }, - { - "name": "p2p.PubSubPeers", - "description": "Auth level: admin", - "summary": "PubSubPeers returns the peer IDs of the peers joined on\nthe given topic.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "topic", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "[]peer.ID", - "description": "[]peer.ID", - "summary": "", - "schema": { - "examples": [ - [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ] - ], - "items": [ - { - "type": [ - "string" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L286" - } - }, - { - "name": "p2p.ResourceState", - "description": "Auth level: admin", - "summary": "ResourceState returns the state of the resource manager.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "rcmgr.ResourceManagerStat", - "description": "rcmgr.ResourceManagerStat", - "summary": "", - "schema": { - "examples": [ - { - "System": { - "NumStreamsInbound": 4, - "NumStreamsOutbound": 13, - "NumConnsInbound": 0, - "NumConnsOutbound": 13, - "NumFD": 7, - "Memory": 4456448 - }, - "Transient": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "Services": { - "libp2p.autonat": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "libp2p.identify": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - } - }, - "Protocols": { - "/celestia/arabica-3/ipfs/bitswap/1.2.0": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 4, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/celestia/arabica-3/kad/1.0.0": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 4, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/floodsub/1.0.0": { - "NumStreamsInbound": 2, - "NumStreamsOutbound": 0, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/ipfs/id/1.0.0": { - "NumStreamsInbound": 0, - "NumStreamsOutbound": 1, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - }, - "/meshsub/1.1.0": { - "NumStreamsInbound": 2, - "NumStreamsOutbound": 4, - "NumConnsInbound": 0, - "NumConnsOutbound": 0, - "NumFD": 0, - "Memory": 0 - } - }, - "Peers": { - "\u0000$\u0008\u0001\u0012 \ufffd-\ufffd\ufffd\u0026\ufffd\ufffdY\ufffdk\ufffd\u000e\u0011\ufffdS\ufffdRM\u0013\ufffd\u0015\ufffd\ufffd$\ufffd\ufffd\ufffd\ufffd*\ufffd\u0002W": { - "NumStreamsInbound": 1, - "NumStreamsOutbound": 3, - "NumConnsInbound": 0, - "NumConnsOutbound": 3, - "NumFD": 3, - "Memory": 1048576 - } - } - } - ], - "additionalProperties": false, - "properties": { - "Peers": { - "patternProperties": { - ".*": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Protocols": { - "patternProperties": { - ".*": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Services": { - "patternProperties": { - ".*": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "System": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - }, - "Transient": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L282" - } - }, - { - "name": "p2p.UnblockPeer", - "description": "Auth level: admin", - "summary": "UnblockPeer removes a peer from the set of blocked peers.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "p", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L250" - } - }, - { - "name": "p2p.Unprotect", - "description": "Auth level: admin", - "summary": "Unprotect removes a peer from the list of peers who have a bidirectional\npeering agreement that they are protected from being trimmed, dropped\nor negatively scored, returning a bool representing whether the given\npeer is protected or not.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "id", - "description": "peer.ID", - "summary": "", - "schema": { - "examples": [ - "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/p2p/p2p.go#L262" - } - }, - { - "name": "share.GetEDS", - "description": "Auth level: public", - "summary": "GetEDS gets the full EDS identified by the given root.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "root", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*rsmt2d.ExtendedDataSquare", - "description": "*rsmt2d.ExtendedDataSquare", - "summary": "", - "schema": { - "examples": [ - { - "data_square": [ - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", - "//////////////////////////////////////4BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" - ], - "codec": "Leopard" - } - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L80" - } - }, - { - "name": "share.GetShare", - "description": "Auth level: public", - "summary": "GetShare gets a Share by coordinates in EDS.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "dah", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "row", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "col", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "share.Share", - "description": "share.Share", - "summary": "", - "schema": { - "examples": [ - "Ynl0ZSBhcnJheQ==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L76" - } - }, - { - "name": "share.GetSharesByNamespace", - "description": "Auth level: public", - "summary": "GetSharesByNamespace gets all shares from an EDS within the given namespace.\nShares are returned in a row-by-row order if the namespace spans multiple rows.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "root", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "share.NamespacedShares", - "description": "share.NamespacedShares", - "summary": "", - "schema": { - "examples": [ - [ - { - "Shares": [ - "Ynl0ZSBhcnJheQ==" - ], - "Proof": { - "start": 0, - "end": 0, - "nodes": null, - "leaf_hash": null, - "is_max_namespace_id_ignored": false - } - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "Proof": { - "additionalProperties": false, - "type": "object" - }, - "Shares": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L84" - } - }, - { - "name": "share.ProbabilityOfAvailability", - "description": "Auth level: public", - "summary": "ProbabilityOfAvailability calculates the probability of the data square\nbeing available based on the number of samples collected.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "float64", - "description": "float64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "number" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L72" - } - }, - { - "name": "share.SharesAvailable", - "description": "Auth level: public", - "summary": "SharesAvailable subjectively validates if Shares committed to the given Root are available on\nthe Network.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "root", - "description": "*share.Root", - "summary": "", - "schema": { - "examples": [ - { - "row_roots": [ - "Ynl0ZSBhcnJheQ==" - ], - "column_roots": [ - "Ynl0ZSBhcnJheQ==" - ] - } - ], - "additionalProperties": false, - "properties": { - "column_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - }, - "row_roots": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/share/share.go#L68" - } - }, - { - "name": "state.AccountAddress", - "description": "Auth level: read", - "summary": "AccountAddress retrieves the address of the node's account/signer\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "state.Address", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L166" - } - }, - { - "name": "state.Balance", - "description": "Auth level: read", - "summary": "Balance retrieves the Celestia coin balance for the node's account/signer\nand verifies it against the corresponding block's AppHash.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "42" - } - ], - "additionalProperties": false, - "properties": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L260" - } - }, - { - "name": "state.BalanceForAddress", - "description": "Auth level: public", - "summary": "BalanceForAddress retrieves the Celestia coin balance for the given address and verifies\nthe returned balance against the corresponding block's AppHash.\n\nNOTE: the balance returned is the balance reported by the block right before\nthe node's current head (head-1). This is due to the fact that for block N, the block's\n`AppHash` is the result of applying the previous block's transaction list.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "addr", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "42" - } - ], - "additionalProperties": false, - "properties": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L174" - } - }, - { - "name": "state.BeginRedelegate", - "description": "Auth level: write", - "summary": "BeginRedelegate sends a user's delegated tokens to a new validator for redelegation.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "srcValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "dstValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L212" - } - }, - { - "name": "state.CancelUnbondingDelegation", - "description": "Auth level: write", - "summary": "CancelUnbondingDelegation cancels a user's pending undelegation from a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "valAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "height", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L201" - } - }, - { - "name": "state.Delegate", - "description": "Auth level: write", - "summary": "Delegate sends a user's liquid tokens to a validator for delegation.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L232" - } - }, - { - "name": "state.IsStopped", - "description": "Auth level: public", - "summary": "IsStopped checks if the Module's context has been stopped\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L170" - } - }, - { - "name": "state.QueryDelegation", - "description": "Auth level: public", - "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "valAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*types.QueryDelegationResponse", - "description": "*types.QueryDelegationResponse", - "summary": "", - "schema": { - "examples": [ - { - "delegation_response": { - "delegation": { - "delegator_address": "string value", - "validator_address": "string value", - "shares": "0" - }, - "balance": { - "denom": "string value", - "amount": "42" - } - } - } - ], - "additionalProperties": false, - "properties": { - "delegation_response": { - "additionalProperties": false, - "properties": { - "balance": { - "additionalProperties": false, - "properties": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } - }, - "type": "object" - }, - "delegation": { - "additionalProperties": false, - "properties": { - "delegator_address": { - "type": "string" - }, - "shares": { - "additionalProperties": false, - "type": "object" - }, - "validator_address": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L242" - } - }, - { - "name": "state.QueryRedelegations", - "description": "Auth level: public", - "summary": "QueryRedelegations retrieves the status of the redelegations between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "srcValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "dstValAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*types.QueryRedelegationsResponse", - "description": "*types.QueryRedelegationsResponse", - "summary": "", - "schema": { - "examples": [ - { - "redelegation_responses": [ - { - "redelegation": { - "delegator_address": "string value", - "validator_src_address": "string value", - "validator_dst_address": "string value", - "entries": [ - { - "creation_height": 42, - "completion_time": "0001-01-01T00:00:00Z", - "initial_balance": "42", - "shares_dst": "0" - } - ] - }, - "entries": [ - { - "redelegation_entry": { - "creation_height": 42, - "completion_time": "0001-01-01T00:00:00Z", - "initial_balance": "42", - "shares_dst": "0" - }, - "balance": "42" - } - ] - } - ], - "pagination": { - "next_key": "Ynl0ZSBhcnJheQ==", - "total": 42 - } - } - ], - "additionalProperties": false, - "properties": { - "pagination": { - "additionalProperties": false, - "properties": { - "next_key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "total": { - "type": "integer" - } - }, - "type": "object" - }, - "redelegation_responses": { - "items": { - "additionalProperties": false, - "properties": { - "entries": { - "items": { - "additionalProperties": false, - "properties": { - "balance": { - "additionalProperties": false, - "type": "object" - }, - "redelegation_entry": { - "additionalProperties": false, - "properties": { - "completion_time": { - "format": "date-time", - "type": "string" - }, - "creation_height": { - "type": "integer" - }, - "initial_balance": { - "additionalProperties": false, - "type": "object" - }, - "shares_dst": { - "additionalProperties": false, - "type": "object" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - }, - "redelegation": { - "additionalProperties": false, - "properties": { - "delegator_address": { - "type": "string" - }, - "entries": { - "items": { - "additionalProperties": false, - "properties": { - "completion_time": { - "format": "date-time", - "type": "string" - }, - "creation_height": { - "type": "integer" - }, - "initial_balance": { - "additionalProperties": false, - "type": "object" - }, - "shares_dst": { - "additionalProperties": false, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - }, - "validator_dst_address": { - "type": "string" - }, - "validator_src_address": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L253" - } - }, - { - "name": "state.QueryUnbonding", - "description": "Auth level: public", - "summary": "QueryUnbonding retrieves the unbonding status between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "valAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*types.QueryUnbondingDelegationResponse", - "description": "*types.QueryUnbondingDelegationResponse", - "summary": "", - "schema": { - "examples": [ - { - "unbond": { - "delegator_address": "string value", - "validator_address": "string value", - "entries": [ - { - "creation_height": 42, - "completion_time": "0001-01-01T00:00:00Z", - "initial_balance": "42", - "balance": "42" - } - ] - } - } - ], - "additionalProperties": false, - "properties": { - "unbond": { - "additionalProperties": false, - "properties": { - "delegator_address": { - "type": "string" - }, - "entries": { - "items": { - "additionalProperties": false, - "properties": { - "balance": { - "additionalProperties": false, - "type": "object" - }, - "completion_time": { - "format": "date-time", - "type": "string" - }, - "creation_height": { - "type": "integer" - }, - "initial_balance": { - "additionalProperties": false, - "type": "object" - } - }, - "type": "object" - }, - "type": "array" - }, - "validator_address": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L246" - } - }, - { - "name": "state.SubmitPayForBlob", - "description": "Auth level: write", - "summary": "SubmitPayForBlob builds, signs and submits a PayForBlob transaction.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "blobs", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "properties": { - "blob": { - "additionalProperties": false, - "properties": { - "blob": {}, - "commitment": { - "items": { - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "commitment": { - "items": { - "type": "integer" - }, - "type": "array" - } - }, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L192" - } - }, - { - "name": "state.SubmitTx", - "description": "Auth level: write", - "summary": "SubmitTx submits the given transaction/message to the\nCelestia network and blocks until the tx is included in\na block.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "tx", - "description": "state.Tx", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L188" - } - }, - { - "name": "state.Transfer", - "description": "Auth level: write", - "summary": "Transfer sends the given amount of coins from default wallet of the node to the given account\naddress.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "to", - "description": "state.AccAddress", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLimit", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L178" - } - }, - { - "name": "state.Undelegate", - "description": "Auth level: write", - "summary": "Undelegate undelegates a user's delegated tokens, unbonding them from the current validator.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "items": [ - { - "type": [ - "integer" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ - { - "height": 30497, - "txhash": "05D9016060072AA71B007A6CFB1B895623192D6616D513017964C3BFCD047282", - "data": "12260A242F636F736D6F732E62616E6B2E763162657461312E4D736753656E64526573706F6E7365", - "raw_log": "[{\"msg_index\":0,\"events\":[{\"type\":\"coin_received\",\"attributes\":[{\"key\":\"receiver\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"coin_spent\",\"attributes\":[{\"key\":\"spender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"/cosmos.bank.v1beta1.MsgSend\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw\"},{\"key\":\"sender\",\"value\":\"celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h\"},{\"key\":\"amount\",\"value\":\"30utia\"}]}]}]", - "logs": [ - { - "msg_index": 0, - "events": [ - { - "type": "coin_received", - "attributes": [ - { - "key": "receiver", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "spender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "action", - "value": "/cosmos.bank.v1beta1.MsgSend" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "module", - "value": "bank" - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "recipient", - "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" - }, - { - "key": "sender", - "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - }, - { - "key": "amount", - "value": "30utia" - } - ] - } - ] - } - ], - "gas_wanted": 10000000, - "gas_used": 69085, - "events": [ - { - "type": "tx", - "attributes": [ - { - "key": "ZmVl", - "value": null, - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "YWNjX3NlcQ==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", - "index": true - } - ] - }, - { - "type": "tx", - "attributes": [ - { - "key": "c2lnbmF0dXJl", - "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "YWN0aW9u", - "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", - "index": true - } - ] - }, - { - "type": "coin_spent", - "attributes": [ - { - "key": "c3BlbmRlcg==", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "coin_received", - "attributes": [ - { - "key": "cmVjZWl2ZXI=", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "transfer", - "attributes": [ - { - "key": "cmVjaXBpZW50", - "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", - "index": true - }, - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - }, - { - "key": "YW1vdW50", - "value": "MzB1dGlh", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "c2VuZGVy", - "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", - "index": true - } - ] - }, - { - "type": "message", - "attributes": [ - { - "key": "bW9kdWxl", - "value": "YmFuaw==", - "index": true - } - ] - } - ] - } - ], - "additionalProperties": false, - "properties": { - "code": { - "type": "integer" - }, - "codespace": { - "type": "string" - }, - "data": { - "type": "string" - }, - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "index": { - "type": "boolean" - }, - "key": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "gas_used": { - "type": "integer" - }, - "gas_wanted": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "info": { - "type": "string" - }, - "logs": { - "items": { - "additionalProperties": false, - "properties": { - "events": { - "items": { - "additionalProperties": false, - "properties": { - "attributes": { - "items": { - "additionalProperties": false, - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "log": { - "type": "string" - }, - "msg_index": { - "type": "integer" - } - }, - "type": "object" - }, - "type": "array" - }, - "raw_log": { - "type": "string" - }, - "timestamp": { - "type": "string" - }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" - }, - "txhash": { - "type": "string" - } - }, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - "deprecated": false, - "externalDocs": { - "description": "Source of the default service's implementation of this method.", - "url": "https://github.com/celestiaorg/celestia-node/blob/main/nodebuilder/state/state.go#L222" - } - } - ] -} \ No newline at end of file diff --git a/src/pages/api/v0.11.0-rc11.js b/src/pages/api/v0.11.0-rc11.js deleted file mode 100644 index b9b727baf66..00000000000 --- a/src/pages/api/v0.11.0-rc11.js +++ /dev/null @@ -1,27 +0,0 @@ -import React, { useState, useEffect } from 'react'; -import ApiComponent from "@site/src/components/ApiComponent"; -import Layout from '@theme/Layout'; - -export default function Api() { - const [openrpcData, setOpenrpcData] = useState(null); - - useEffect(() => { - import(`@site/src/openrpc-spec/openrpc-v0.11.0-rc11.json`) - .then((data) => { - setOpenrpcData(data.default); - }) - .catch((error) => { - console.error("Error loading file:", error); - }); - }, []); - - if (!openrpcData) { - return
Loading...
; - } - - return ( - - - - ); -} \ No newline at end of file diff --git a/src/pages/api/v0.11.0-rc12.js b/src/pages/api/v0.11.0-rc12.js deleted file mode 100644 index 5ac41da60a9..00000000000 --- a/src/pages/api/v0.11.0-rc12.js +++ /dev/null @@ -1,27 +0,0 @@ -import React, { useState, useEffect } from 'react'; -import ApiComponent from "@site/src/components/ApiComponent"; -import Layout from '@theme/Layout'; - -export default function Api() { - const [openrpcData, setOpenrpcData] = useState(null); - - useEffect(() => { - import(`@site/src/openrpc-spec/openrpc-v0.11.0-rc12.json`) - .then((data) => { - setOpenrpcData(data.default); - }) - .catch((error) => { - console.error("Error loading file:", error); - }); - }, []); - - if (!openrpcData) { - return
Loading...
; - } - - return ( - - - - ); -} \ No newline at end of file diff --git a/src/pages/api/v0.11.0-rc13.js b/src/pages/api/v0.11.0-rc13.js deleted file mode 100644 index 1acf344ea57..00000000000 --- a/src/pages/api/v0.11.0-rc13.js +++ /dev/null @@ -1,27 +0,0 @@ -import React, { useState, useEffect } from 'react'; -import ApiComponent from "@site/src/components/ApiComponent"; -import Layout from '@theme/Layout'; - -export default function Api() { - const [openrpcData, setOpenrpcData] = useState(null); - - useEffect(() => { - import(`@site/src/openrpc-spec/openrpc-v0.11.0-rc13.json`) - .then((data) => { - setOpenrpcData(data.default); - }) - .catch((error) => { - console.error("Error loading file:", error); - }); - }, []); - - if (!openrpcData) { - return
Loading...
; - } - - return ( - - - - ); -} \ No newline at end of file diff --git a/src/pages/api/v0.11.0-rc8-arabica-improvements.js b/src/pages/api/v0.11.0-rc8-arabica-improvements.js deleted file mode 100644 index bf59ad8af28..00000000000 --- a/src/pages/api/v0.11.0-rc8-arabica-improvements.js +++ /dev/null @@ -1,27 +0,0 @@ -import React, { useState, useEffect } from 'react'; -import ApiComponent from "@site/src/components/ApiComponent"; -import Layout from '@theme/Layout'; - -export default function Api() { - const [openrpcData, setOpenrpcData] = useState(null); - - useEffect(() => { - import(`@site/src/openrpc-spec/openrpc-v0.11.0-rc8-arabica-improvements.json`) - .then((data) => { - setOpenrpcData(data.default); - }) - .catch((error) => { - console.error("Error loading file:", error); - }); - }, []); - - if (!openrpcData) { - return
Loading...
; - } - - return ( - - - - ); -} \ No newline at end of file diff --git a/src/pages/api/v0.11.0-rc8.js b/src/pages/api/v0.11.0-rc8.js deleted file mode 100644 index 5f93b0cc29f..00000000000 --- a/src/pages/api/v0.11.0-rc8.js +++ /dev/null @@ -1,27 +0,0 @@ -import React, { useState, useEffect } from 'react'; -import ApiComponent from "@site/src/components/ApiComponent"; -import Layout from '@theme/Layout'; - -export default function Api() { - const [openrpcData, setOpenrpcData] = useState(null); - - useEffect(() => { - import(`@site/src/openrpc-spec/openrpc-v0.11.0-rc8.json`) - .then((data) => { - setOpenrpcData(data.default); - }) - .catch((error) => { - console.error("Error loading file:", error); - }); - }, []); - - if (!openrpcData) { - return
Loading...
; - } - - return ( - - - - ); -} \ No newline at end of file diff --git a/src/theme/Layout/index.js b/src/theme/Layout/index.js index b45af52286f..454e2618f3c 100644 --- a/src/theme/Layout/index.js +++ b/src/theme/Layout/index.js @@ -25,9 +25,6 @@ export default function Layout(props) { description, } = props; - // Check if the current route includes '/api/' - const isApiRoute = typeof window !== 'undefined' && window.location.pathname.includes('/api/'); - useKeyboardNavigation(); return ( @@ -52,8 +49,8 @@ export default function Layout(props) { - {/* Only render the Footer if it's not an API route */} - {!noFooter && !isApiRoute &&