diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e1d310d..b2313c1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -48,4 +48,3 @@ jobs: - name: 🔎 Type check run: yarn typecheck - diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 0f40200..ce27397 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -7,7 +7,7 @@ name: Deploy Next.js site to Pages on: # Runs on pushes targeting the default branch push: - branches: ["main"] + branches: ['main'] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -21,7 +21,7 @@ permissions: # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: - group: "pages" + group: 'pages' cancel-in-progress: false jobs: @@ -51,7 +51,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: "16" + node-version: '16' cache: ${{ steps.detect-package-manager.outputs.manager }} - name: Setup Pages uses: actions/configure-pages@v3 diff --git a/package.json b/package.json index 5bd9bfc..1cce9b1 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,10 @@ "prepare": "husky install" }, "dependencies": { - "@headlessui/react": "^1.7.4", + "@headlessui/react": "2.0.4", "@heroicons/react": "^2.0.13", + "@monaco-editor/react": "^4.6.0", + "@open-rpc/client-js": "^1.8.1", "axios": "^1.3.4", "clsx": "^1.2.1", "next": "^13.0.3", diff --git a/public/specs/openrpc-v0.12.0.json b/public/specs/openrpc-v0.12.0.json index ba110b5..15d6695 100644 --- a/public/specs/openrpc-v0.12.0.json +++ b/public/specs/openrpc-v0.12.0.json @@ -1,9616 +1,9176 @@ { - "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.12.0" - }, - "externalDocs": { - "description": "Celestia Node GitHub", - "url": "https://github.com/celestiaorg/celestia-node" + "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.12.0" + }, + "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" + } }, - "methods": [ + { + "name": "blob.GetAll", + "description": "Auth level: read", + "summary": "GetAll returns all blobs under the given namespaces and height.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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": [ + [ + { + "end": 4, + "nodes": ["dGVzdA=="], + "is_max_namespace_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": [ + [ { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, + "end": 4, + "nodes": ["dGVzdA=="], + "is_max_namespace_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": [ + [ { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", + "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", + "share_version": 0, + "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" } + ] ], - "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" - } + "blob": {}, + "commitment": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } }, - "type": [ - "object" - ] + "type": "object" + }, + "commitment": { + "media": { + "binaryEncoding": "base64" + }, + "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/blob/blob.go#L45" - } + "type": ["object"] + } + ], + "type": ["array"] + }, + "required": true, + "deprecated": false }, { - "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 - } + "name": "options", + "description": "*blob.SubmitOptions", + "summary": "", + "schema": { + "examples": [ + { + "Fee": 42, + "GasLimit": 42 + } ], - "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 + "additionalProperties": false, + "properties": { + "Fee": { + "type": "integer" + }, + "GasLimit": { + "type": "integer" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false + } + ], + "result": { + "name": "uint64", + "description": "uint64", + "summary": "", + "schema": { + "examples": [42], + "type": ["integer"] }, - { - "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 - }, + "required": true, + "deprecated": false + }, + "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": "das.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": [ { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1093, + "from": 1002, + "to": 1101 }, { - "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": [ - [ - { - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "is_max_namespace_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] + "job_type": "catchup", + "current": 33343, + "from": 33302, + "to": 33401 }, - "required": true, - "deprecated": false - }, - "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 + "job_type": "catchup", + "current": 34047, + "from": 34002, + "to": 34101 }, { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1327, + "from": 1302, + "to": 1401 }, { - "name": "proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "is_max_namespace_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1197, + "from": 1102, + "to": 1201 }, { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1408, + "from": 1402, + "to": 1501 } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false + ], + "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" }, - "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" + "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": "das.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: read", + "summary": "Subscribe allows to subscribe on a Proof pub sub topic by its type.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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: read", + "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" }, - { - "name": "options", - "description": "*blob.SubmitOptions", - "summary": "", - "schema": { - "examples": [ - { - "Fee": 42, - "GasLimit": 42 - } - ], - "additionalProperties": false, - "properties": { - "Fee": { - "type": "integer" - }, - "GasLimit": { - "type": "integer" - } - }, - "type": [ - "object" - ] + "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=" }, - "required": true, - "deprecated": false + "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" } - ], - "result": { - "name": "uint64", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + }, + "commit": { + "height": 67374, + "round": 0, + "block_id": { + "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", + "parts": { + "total": 1, + "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" + } }, - "required": true, - "deprecated": false - }, - "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" + "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" + ] + } } - }, - { - "name": "das.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": { + "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": { - "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" - } + "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": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" }, - "required": true, - "deprecated": false + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" + } + }, + "type": "object" }, - "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": "das.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" - ] + "header": { + "additionalProperties": false, + "properties": { + "app_hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" }, - "required": true, - "deprecated": false + "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" }, - "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" + "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: read", + "summary": "GetByHeight returns the ExtendedHeader at the given height if it is\ncurrently available.\n", + "paramStructure": "by-position", + "params": [ { - "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 + "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" } - ], - "result": { - "name": "[]Proof", - "description": "[]Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "proof_type": "badencodingv0.1", - "data": "ChJiYWQgZW5jb2RpbmcgcHJvb2YQKg==" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] + }, + "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": [ - "array" - ] + }, + "type": "object" + } + }, + "type": "object" + }, + "height": { + "type": "integer" + }, + "round": { + "type": "integer" }, - "required": true, - "deprecated": false + "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" }, - "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: read", - "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 + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" + }, + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" } - ], - "result": { - "name": "\u003c-chan *Proof", - "description": "\u003c-chan *Proof", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] + }, + "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" }, - "required": true, - "deprecated": false + "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" }, - "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" + "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.GetRangeByHeight", + "description": "Auth level: read", + "summary": "GetRangeByHeight 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": "header.GetByHash", - "description": "Auth level: read", - "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 + "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" + ] } + } ], - "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + } + }, + "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": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + }, + "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" }, - "type": "object" + "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: read", + "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: read", + "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: read", + "summary": "GetEDS gets the full EDS identified by the given extended header.\n", + "paramStructure": "by-position", + "params": [ + { + "name": "header", + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" + "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#L75" + } + }, + { + "name": "share.GetShare", + "description": "Auth level: read", + "summary": "GetShare gets a Share by coordinates in EDS.\n", + "paramStructure": "by-position", + "params": [ { - "name": "header.GetByHeight", - "description": "Auth level: read", - "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 + "name": "header", + "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" + ] } + } ], - "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } + }, + "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#L83" - } - }, - { - "name": "header.GetRangeByHeight", - "description": "Auth level: read", - "summary": "GetRangeByHeight 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" - ] - } - } - ], + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "total": { + "type": "integer" + } }, - "type": [ - "object" - ] + "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" }, - "required": true, - "deprecated": false + "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" + } }, - { - "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": "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": [ - "array" - ] + }, + "type": "object" + }, + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "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" - ] - } - } - ], + "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#L71" + } + }, + { + "name": "share.GetSharesByNamespace", + "description": "Auth level: read", + "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": "header", + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } + }, + "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#L91" - } - }, - { - "name": "header.NetworkHead", - "description": "Auth level: read", - "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" - ] - } - } - ], + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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": "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "name": "header.Subscribe", - "description": "Auth level: read", - "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" - ] + "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": {} + } + ] + ], + "items": [ + { + "additionalProperties": false, + "properties": { + "proof": { + "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/header/header.go#L107" + "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#L79" + } + }, + { + "name": "share.SharesAvailable", + "description": "Auth level: read", + "summary": "SharesAvailable subjectively validates if Shares committed to the given\nExtendedHeader are available on the Network.\n", + "paramStructure": "by-position", + "params": [ { - "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" - } - ], + "name": "header", + "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": { - "end": { - "format": "date-time", - "type": "string" - }, - "error": { - "type": "string" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "from_hash": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { "media": { - "binaryEncoding": "base64" + "binaryEncoding": "base64" }, "type": "string" - }, - "from_height": { - "type": "integer" - }, - "height": { + }, + "total": { "type": "integer" + } }, - "id": { - "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" }, - "start": { - "format": "date-time", - "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" }, - "to_hash": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { "media": { - "binaryEncoding": "base64" + "binaryEncoding": "base64" }, "type": "string" - }, - "to_height": { + }, + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } + }, + "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#L67" + } + }, + { + "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: read", + "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" }, - "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" + "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": "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": "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": "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": "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": [ { - "name": "u", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "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" - ] - } + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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" + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "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" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "module", + "value": "bank" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "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 }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "string", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "result": { - "name": "[]auth.Permission", - "description": "[]auth.Permission", - "summary": "", - "schema": { - "examples": [ - [ - "admin" - ] - ], - "items": [ - { - "type": [ - "string" - ] + ] + } + ], + "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": [ - "array" - ] + }, + "type": "object" + }, + "type": "array" + }, + "type": { + "type": "string" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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" + "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": "integer" + "type": "string" } + }, + "type": "object" }, - "type": [ - "object" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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 + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - { - "name": "level", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false + }, + "type": "object" }, - "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" + "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": "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 - } + "name": "valAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "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" - } + "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": "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": "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "RateOut": { - "type": "number" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "TotalIn": { - "type": "integer" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "TotalOut": { - "type": "integer" + { + "key": "module", + "value": "bank" } + ] }, - "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": [ + { + "type": "transfer", + "attributes": [ { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "TotalIn": { - "type": "integer" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "TotalOut": { - "type": "integer" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "type": [ - "object" - ] + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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 + ], + "additionalProperties": false, + "properties": { + "code": { + "type": "integer" }, - "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 + "codespace": { + "type": "string" }, - "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" - ] + "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" } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true + }, + "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": "array" + "type": "object" + }, + "type": "array" }, - "ID": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "type": [ - "object" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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": "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 - } + "name": "delAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "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" - } + "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": "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": "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ + { + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, { - "type": [ - "string" - ] + "key": "amount", + "value": "30utia" } - ], - "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": [ + ] + }, + { + "type": "coin_spent", + "attributes": [ { - "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 - } - } + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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" + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "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" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "System": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "Transient": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, { - "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" - ] + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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: read", - "summary": "GetEDS gets the full EDS identified by the given extended header.\n", - "paramStructure": "by-position", - "params": [ { - "name": "header", - "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" - ] + "type": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "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" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L75" - } - }, - { - "name": "share.GetShare", - "description": "Auth level: read", - "summary": "GetShare gets a Share by coordinates in EDS.\n", - "paramStructure": "by-position", - "params": [ { - "name": "header", - "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" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "row", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "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" - ] + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L71" - } - }, - { - "name": "share.GetSharesByNamespace", - "description": "Auth level: read", - "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": "header", - "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" - ] + "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" }, - "required": true, - "deprecated": false + "type": "array" + }, + "type": { + "type": "string" + } }, - { - "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": {} - } - ] - ], - "items": [ - { + "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": { - "proof": { - "additionalProperties": false, - "type": "object" - }, - "shares": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, - "type": [ - "object" - ] + "type": "object" + }, + "type": "array" + }, + "type": { + "type": "string" } - ], - "type": [ - "array" - ] + }, + "type": "object" + }, + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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#L79" - } - }, - { - "name": "share.SharesAvailable", - "description": "Auth level: read", - "summary": "SharesAvailable subjectively validates if Shares committed to the given\nExtendedHeader are available on the Network.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "header", - "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 - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L67" + "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: read", + "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: read", + "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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" - ] + "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" }, - "required": true, - "deprecated": false - }, - "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" + "balance": { + "denom": "string value", + "amount": "42" + } + } } - }, - { - "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" - } + ], + "additionalProperties": false, + "properties": { + "delegation_response": { + "additionalProperties": false, + "properties": { + "balance": { + "additionalProperties": false, + "properties": { + "amount": { + "additionalProperties": false, + "type": "object" }, - "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" + "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: read", + "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": "state.BalanceForAddress", - "description": "Auth level: read", - "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": "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": [ { - "name": "addr", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "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" + } + ] } - ], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "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": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } + "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" + } }, - "required": true, - "deprecated": false - }, - "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" + "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: read", + "summary": "QueryUnbonding retrieves the unbonding status between a delegator and a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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" }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], + "entries": { + "items": { + "additionalProperties": false, + "properties": { + "balance": { "additionalProperties": false, - "type": [ - "object" - ] + "type": "object" + }, + "completion_time": { + "format": "date-time", + "type": "string" + }, + "creation_height": { + "type": "integer" + }, + "initial_balance": { + "additionalProperties": false, + "type": "object" + } }, - "required": true, - "deprecated": false + "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": [ + [ { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", + "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", + "share_version": 0, + "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" } + ] ], - "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 - } - ] - } - ] - } - ], + "items": [ + { + "additionalProperties": false, + "properties": { + "blob": { "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" + "blob": {}, + "commitment": { + "media": { + "binaryEncoding": "base64" }, - "height": { - "type": "integer" + "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" }, - "info": { - "type": "string" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "raw_log": { - "type": "string" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "timestamp": { - "type": "string" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "txhash": { - "type": "string" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "height", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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": "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": "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": [ { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "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 + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "type": [ - "object" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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: read", - "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" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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": "state.QueryDelegation", - "description": "Auth level: read", - "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ + "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "delegation_response": { - "delegation": { - "delegator_address": "string value", - "validator_address": "string value", - "shares": "0" - }, - "balance": { - "denom": "string value", - "amount": "42" - } - } + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" + }, + { + "key": "amount", + "value": "30utia" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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: read", - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "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": "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 }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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: read", - "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": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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": "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 - } + "name": "delAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ + "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": [ { - "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" + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "info": { - "type": "string" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "raw_log": { - "type": "string" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "timestamp": { - "type": "string" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "txhash": { - "type": "string" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, { - "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": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "txhash": { + "type": "string" } - } - ] -} \ No newline at end of file + }, + "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" + } + } + ] +} diff --git a/public/specs/openrpc-v0.12.1.json b/public/specs/openrpc-v0.12.1.json index 8268c13..7a2f2fd 100644 --- a/public/specs/openrpc-v0.12.1.json +++ b/public/specs/openrpc-v0.12.1.json @@ -1,9616 +1,9176 @@ { - "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.12.1" - }, - "externalDocs": { - "description": "Celestia Node GitHub", - "url": "https://github.com/celestiaorg/celestia-node" + "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.12.1" + }, + "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" + } }, - "methods": [ + { + "name": "blob.GetAll", + "description": "Auth level: read", + "summary": "GetAll returns all blobs under the given namespaces and height.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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": [ + [ + { + "end": 4, + "nodes": ["dGVzdA=="], + "is_max_namespace_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": [ + [ { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, + "end": 4, + "nodes": ["dGVzdA=="], + "is_max_namespace_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": [ + [ { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", + "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", + "share_version": 0, + "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" } + ] ], - "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" - } + "blob": {}, + "commitment": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } }, - "type": [ - "object" - ] + "type": "object" + }, + "commitment": { + "media": { + "binaryEncoding": "base64" + }, + "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/blob/blob.go#L45" - } + "type": ["object"] + } + ], + "type": ["array"] + }, + "required": true, + "deprecated": false }, { - "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 - } + "name": "options", + "description": "*blob.SubmitOptions", + "summary": "", + "schema": { + "examples": [ + { + "Fee": 42, + "GasLimit": 42 + } ], - "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 + "additionalProperties": false, + "properties": { + "Fee": { + "type": "integer" + }, + "GasLimit": { + "type": "integer" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false + } + ], + "result": { + "name": "uint64", + "description": "uint64", + "summary": "", + "schema": { + "examples": [42], + "type": ["integer"] }, - { - "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 - }, + "required": true, + "deprecated": false + }, + "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": "das.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": [ { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1093, + "from": 1002, + "to": 1101 }, { - "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": [ - [ - { - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "is_max_namespace_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] + "job_type": "catchup", + "current": 33343, + "from": 33302, + "to": 33401 }, - "required": true, - "deprecated": false - }, - "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 + "job_type": "catchup", + "current": 34047, + "from": 34002, + "to": 34101 }, { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1327, + "from": 1302, + "to": 1401 }, { - "name": "proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "is_max_namespace_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1197, + "from": 1102, + "to": 1201 }, { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1408, + "from": 1402, + "to": 1501 } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false + ], + "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" }, - "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" + "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": "das.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: read", + "summary": "Subscribe allows to subscribe on a Proof pub sub topic by its type.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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: read", + "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" }, - { - "name": "options", - "description": "*blob.SubmitOptions", - "summary": "", - "schema": { - "examples": [ - { - "Fee": 42, - "GasLimit": 42 - } - ], - "additionalProperties": false, - "properties": { - "Fee": { - "type": "integer" - }, - "GasLimit": { - "type": "integer" - } - }, - "type": [ - "object" - ] + "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=" }, - "required": true, - "deprecated": false + "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" } - ], - "result": { - "name": "uint64", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + }, + "commit": { + "height": 67374, + "round": 0, + "block_id": { + "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", + "parts": { + "total": 1, + "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" + } }, - "required": true, - "deprecated": false - }, - "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" + "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" + ] + } } - }, - { - "name": "das.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": { + "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": { - "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" - } + "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": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" }, - "required": true, - "deprecated": false + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" + } + }, + "type": "object" }, - "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": "das.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" - ] + "header": { + "additionalProperties": false, + "properties": { + "app_hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" }, - "required": true, - "deprecated": false + "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" }, - "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" + "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: read", + "summary": "GetByHeight returns the ExtendedHeader at the given height if it is\ncurrently available.\n", + "paramStructure": "by-position", + "params": [ { - "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 + "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" } - ], - "result": { - "name": "[]Proof", - "description": "[]Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "proof_type": "badencodingv0.1", - "data": "ChJiYWQgZW5jb2RpbmcgcHJvb2YQKg==" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] + }, + "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": [ - "array" - ] + }, + "type": "object" + } + }, + "type": "object" + }, + "height": { + "type": "integer" + }, + "round": { + "type": "integer" }, - "required": true, - "deprecated": false + "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" }, - "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: read", - "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 + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" + }, + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" } - ], - "result": { - "name": "\u003c-chan *Proof", - "description": "\u003c-chan *Proof", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] + }, + "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" }, - "required": true, - "deprecated": false + "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" }, - "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" + "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.GetRangeByHeight", + "description": "Auth level: read", + "summary": "GetRangeByHeight 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": "header.GetByHash", - "description": "Auth level: read", - "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 + "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" + ] } + } ], - "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + } + }, + "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": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + }, + "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" }, - "type": "object" + "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: read", + "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: read", + "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: read", + "summary": "GetEDS gets the full EDS identified by the given extended header.\n", + "paramStructure": "by-position", + "params": [ + { + "name": "header", + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" + "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#L75" + } + }, + { + "name": "share.GetShare", + "description": "Auth level: read", + "summary": "GetShare gets a Share by coordinates in EDS.\n", + "paramStructure": "by-position", + "params": [ { - "name": "header.GetByHeight", - "description": "Auth level: read", - "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 + "name": "header", + "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" + ] } + } ], - "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } + }, + "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#L83" - } - }, - { - "name": "header.GetRangeByHeight", - "description": "Auth level: read", - "summary": "GetRangeByHeight 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" - ] - } - } - ], + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "total": { + "type": "integer" + } }, - "type": [ - "object" - ] + "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" }, - "required": true, - "deprecated": false + "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" + } }, - { - "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": "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": [ - "array" - ] + }, + "type": "object" + }, + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "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" - ] - } - } - ], + "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#L71" + } + }, + { + "name": "share.GetSharesByNamespace", + "description": "Auth level: read", + "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": "header", + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } + }, + "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#L91" - } - }, - { - "name": "header.NetworkHead", - "description": "Auth level: read", - "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" - ] - } - } - ], + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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": "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "name": "header.Subscribe", - "description": "Auth level: read", - "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" - ] + "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": {} + } + ] + ], + "items": [ + { + "additionalProperties": false, + "properties": { + "proof": { + "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/header/header.go#L107" + "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#L79" + } + }, + { + "name": "share.SharesAvailable", + "description": "Auth level: read", + "summary": "SharesAvailable subjectively validates if Shares committed to the given\nExtendedHeader are available on the Network.\n", + "paramStructure": "by-position", + "params": [ { - "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" - } - ], + "name": "header", + "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": { - "end": { - "format": "date-time", - "type": "string" - }, - "error": { - "type": "string" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "from_hash": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { "media": { - "binaryEncoding": "base64" + "binaryEncoding": "base64" }, "type": "string" - }, - "from_height": { - "type": "integer" - }, - "height": { + }, + "total": { "type": "integer" + } }, - "id": { - "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" }, - "start": { - "format": "date-time", - "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" }, - "to_hash": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { "media": { - "binaryEncoding": "base64" + "binaryEncoding": "base64" }, "type": "string" - }, - "to_height": { + }, + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } + }, + "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#L67" + } + }, + { + "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: read", + "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" }, - "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" + "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": "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": "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": "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": "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": [ { - "name": "u", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "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" - ] - } + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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" + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "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" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "module", + "value": "bank" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "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 }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "string", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "result": { - "name": "[]auth.Permission", - "description": "[]auth.Permission", - "summary": "", - "schema": { - "examples": [ - [ - "admin" - ] - ], - "items": [ - { - "type": [ - "string" - ] + ] + } + ], + "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": [ - "array" - ] + }, + "type": "object" + }, + "type": "array" + }, + "type": { + "type": "string" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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" + "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": "integer" + "type": "string" } + }, + "type": "object" }, - "type": [ - "object" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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 + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - { - "name": "level", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false + }, + "type": "object" }, - "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" + "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": "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 - } + "name": "valAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "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" - } + "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": "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": "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "RateOut": { - "type": "number" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "TotalIn": { - "type": "integer" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "TotalOut": { - "type": "integer" + { + "key": "module", + "value": "bank" } + ] }, - "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": [ + { + "type": "transfer", + "attributes": [ { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "TotalIn": { - "type": "integer" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "TotalOut": { - "type": "integer" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "type": [ - "object" - ] + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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 + ], + "additionalProperties": false, + "properties": { + "code": { + "type": "integer" }, - "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 + "codespace": { + "type": "string" }, - "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" - ] + "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" } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true + }, + "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": "array" + "type": "object" + }, + "type": "array" }, - "ID": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "type": [ - "object" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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": "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 - } + "name": "delAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "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" - } + "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": "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": "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ + { + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, { - "type": [ - "string" - ] + "key": "amount", + "value": "30utia" } - ], - "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": [ + ] + }, + { + "type": "coin_spent", + "attributes": [ { - "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 - } - } + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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" + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "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" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "System": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "Transient": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, { - "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" - ] + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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: read", - "summary": "GetEDS gets the full EDS identified by the given extended header.\n", - "paramStructure": "by-position", - "params": [ { - "name": "header", - "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" - ] + "type": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "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" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L75" - } - }, - { - "name": "share.GetShare", - "description": "Auth level: read", - "summary": "GetShare gets a Share by coordinates in EDS.\n", - "paramStructure": "by-position", - "params": [ { - "name": "header", - "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" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "row", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "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" - ] + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L71" - } - }, - { - "name": "share.GetSharesByNamespace", - "description": "Auth level: read", - "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": "header", - "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" - ] + "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" }, - "required": true, - "deprecated": false + "type": "array" + }, + "type": { + "type": "string" + } }, - { - "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": {} - } - ] - ], - "items": [ - { + "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": { - "proof": { - "additionalProperties": false, - "type": "object" - }, - "shares": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, - "type": [ - "object" - ] + "type": "object" + }, + "type": "array" + }, + "type": { + "type": "string" } - ], - "type": [ - "array" - ] + }, + "type": "object" + }, + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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#L79" - } - }, - { - "name": "share.SharesAvailable", - "description": "Auth level: read", - "summary": "SharesAvailable subjectively validates if Shares committed to the given\nExtendedHeader are available on the Network.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "header", - "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 - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L67" + "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: read", + "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: read", + "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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" - ] + "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" }, - "required": true, - "deprecated": false - }, - "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" + "balance": { + "denom": "string value", + "amount": "42" + } + } } - }, - { - "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" - } + ], + "additionalProperties": false, + "properties": { + "delegation_response": { + "additionalProperties": false, + "properties": { + "balance": { + "additionalProperties": false, + "properties": { + "amount": { + "additionalProperties": false, + "type": "object" }, - "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" + "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: read", + "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": "state.BalanceForAddress", - "description": "Auth level: read", - "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": "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": [ { - "name": "addr", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "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" + } + ] } - ], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "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": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } + "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" + } }, - "required": true, - "deprecated": false - }, - "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" + "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: read", + "summary": "QueryUnbonding retrieves the unbonding status between a delegator and a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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" }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], + "entries": { + "items": { + "additionalProperties": false, + "properties": { + "balance": { "additionalProperties": false, - "type": [ - "object" - ] + "type": "object" + }, + "completion_time": { + "format": "date-time", + "type": "string" + }, + "creation_height": { + "type": "integer" + }, + "initial_balance": { + "additionalProperties": false, + "type": "object" + } }, - "required": true, - "deprecated": false + "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": [ + [ { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", + "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", + "share_version": 0, + "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" } + ] ], - "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 - } - ] - } - ] - } - ], + "items": [ + { + "additionalProperties": false, + "properties": { + "blob": { "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" + "blob": {}, + "commitment": { + "media": { + "binaryEncoding": "base64" }, - "height": { - "type": "integer" + "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" }, - "info": { - "type": "string" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "raw_log": { - "type": "string" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "timestamp": { - "type": "string" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "txhash": { - "type": "string" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "height", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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": "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": "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": [ { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "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 + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "type": [ - "object" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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: read", - "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" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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": "state.QueryDelegation", - "description": "Auth level: read", - "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ + "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "delegation_response": { - "delegation": { - "delegator_address": "string value", - "validator_address": "string value", - "shares": "0" - }, - "balance": { - "denom": "string value", - "amount": "42" - } - } + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" + }, + { + "key": "amount", + "value": "30utia" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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: read", - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "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": "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 }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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: read", - "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": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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": "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 - } + "name": "delAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ + "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": [ { - "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" + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "info": { - "type": "string" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "raw_log": { - "type": "string" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "timestamp": { - "type": "string" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "txhash": { - "type": "string" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, { - "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": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "txhash": { + "type": "string" } - } - ] -} \ No newline at end of file + }, + "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" + } + } + ] +} diff --git a/public/specs/openrpc-v0.12.2.json b/public/specs/openrpc-v0.12.2.json index 5da2190..49d5319 100644 --- a/public/specs/openrpc-v0.12.2.json +++ b/public/specs/openrpc-v0.12.2.json @@ -1,9616 +1,9176 @@ { - "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.12.2" - }, - "externalDocs": { - "description": "Celestia Node GitHub", - "url": "https://github.com/celestiaorg/celestia-node" + "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.12.2" + }, + "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" + } }, - "methods": [ + { + "name": "blob.GetAll", + "description": "Auth level: read", + "summary": "GetAll returns all blobs under the given namespaces and height.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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": [ + [ + { + "end": 4, + "nodes": ["dGVzdA=="], + "is_max_namespace_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": [ + [ { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, + "end": 4, + "nodes": ["dGVzdA=="], + "is_max_namespace_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": [ + [ { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", + "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", + "share_version": 0, + "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" } + ] ], - "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" - } + "blob": {}, + "commitment": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } }, - "type": [ - "object" - ] + "type": "object" + }, + "commitment": { + "media": { + "binaryEncoding": "base64" + }, + "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/blob/blob.go#L45" - } + "type": ["object"] + } + ], + "type": ["array"] + }, + "required": true, + "deprecated": false }, { - "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 - } + "name": "options", + "description": "*blob.SubmitOptions", + "summary": "", + "schema": { + "examples": [ + { + "Fee": 42, + "GasLimit": 42 + } ], - "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 + "additionalProperties": false, + "properties": { + "Fee": { + "type": "integer" + }, + "GasLimit": { + "type": "integer" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false + } + ], + "result": { + "name": "uint64", + "description": "uint64", + "summary": "", + "schema": { + "examples": [42], + "type": ["integer"] }, - { - "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 - }, + "required": true, + "deprecated": false + }, + "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": "das.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": [ { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1093, + "from": 1002, + "to": 1101 }, { - "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": [ - [ - { - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "is_max_namespace_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] + "job_type": "catchup", + "current": 33343, + "from": 33302, + "to": 33401 }, - "required": true, - "deprecated": false - }, - "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 + "job_type": "catchup", + "current": 34047, + "from": 34002, + "to": 34101 }, { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1327, + "from": 1302, + "to": 1401 }, { - "name": "proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "is_max_namespace_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1197, + "from": 1102, + "to": 1201 }, { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1408, + "from": 1402, + "to": 1501 } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false + ], + "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" }, - "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" + "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": "das.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: read", + "summary": "Subscribe allows to subscribe on a Proof pub sub topic by its type.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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: read", + "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" }, - { - "name": "options", - "description": "*blob.SubmitOptions", - "summary": "", - "schema": { - "examples": [ - { - "Fee": 42, - "GasLimit": 42 - } - ], - "additionalProperties": false, - "properties": { - "Fee": { - "type": "integer" - }, - "GasLimit": { - "type": "integer" - } - }, - "type": [ - "object" - ] + "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=" }, - "required": true, - "deprecated": false + "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" } - ], - "result": { - "name": "uint64", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + }, + "commit": { + "height": 67374, + "round": 0, + "block_id": { + "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", + "parts": { + "total": 1, + "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" + } }, - "required": true, - "deprecated": false - }, - "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" + "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" + ] + } } - }, - { - "name": "das.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": { + "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": { - "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" - } + "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": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" }, - "required": true, - "deprecated": false + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" + } + }, + "type": "object" }, - "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": "das.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" - ] + "header": { + "additionalProperties": false, + "properties": { + "app_hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" }, - "required": true, - "deprecated": false + "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" }, - "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" + "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: read", + "summary": "GetByHeight returns the ExtendedHeader at the given height if it is\ncurrently available.\n", + "paramStructure": "by-position", + "params": [ { - "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 + "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" } - ], - "result": { - "name": "[]Proof", - "description": "[]Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "proof_type": "badencodingv0.1", - "data": "ChJiYWQgZW5jb2RpbmcgcHJvb2YQKg==" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] + }, + "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": [ - "array" - ] + }, + "type": "object" + } + }, + "type": "object" + }, + "height": { + "type": "integer" + }, + "round": { + "type": "integer" }, - "required": true, - "deprecated": false + "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" }, - "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: read", - "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 + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" + }, + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" } - ], - "result": { - "name": "\u003c-chan *Proof", - "description": "\u003c-chan *Proof", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] + }, + "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" }, - "required": true, - "deprecated": false + "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" }, - "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" + "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.GetRangeByHeight", + "description": "Auth level: read", + "summary": "GetRangeByHeight 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": "header.GetByHash", - "description": "Auth level: read", - "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 + "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" + ] } + } ], - "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + } + }, + "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": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + }, + "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" }, - "type": "object" + "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: read", + "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: read", + "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: read", + "summary": "GetEDS gets the full EDS identified by the given extended header.\n", + "paramStructure": "by-position", + "params": [ + { + "name": "header", + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" + "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#L75" + } + }, + { + "name": "share.GetShare", + "description": "Auth level: read", + "summary": "GetShare gets a Share by coordinates in EDS.\n", + "paramStructure": "by-position", + "params": [ { - "name": "header.GetByHeight", - "description": "Auth level: read", - "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 + "name": "header", + "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" + ] } + } ], - "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } + }, + "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#L83" - } - }, - { - "name": "header.GetRangeByHeight", - "description": "Auth level: read", - "summary": "GetRangeByHeight 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" - ] - } - } - ], + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "total": { + "type": "integer" + } }, - "type": [ - "object" - ] + "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" }, - "required": true, - "deprecated": false + "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" + } }, - { - "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": "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": [ - "array" - ] + }, + "type": "object" + }, + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "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" - ] - } - } - ], + "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#L71" + } + }, + { + "name": "share.GetSharesByNamespace", + "description": "Auth level: read", + "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": "header", + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } + }, + "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#L91" - } - }, - { - "name": "header.NetworkHead", - "description": "Auth level: read", - "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" - ] - } - } - ], + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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": "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "name": "header.Subscribe", - "description": "Auth level: read", - "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" - ] + "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": {} + } + ] + ], + "items": [ + { + "additionalProperties": false, + "properties": { + "proof": { + "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/header/header.go#L107" + "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#L79" + } + }, + { + "name": "share.SharesAvailable", + "description": "Auth level: read", + "summary": "SharesAvailable subjectively validates if Shares committed to the given\nExtendedHeader are available on the Network.\n", + "paramStructure": "by-position", + "params": [ { - "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" - } - ], + "name": "header", + "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": { - "end": { - "format": "date-time", - "type": "string" - }, - "error": { - "type": "string" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "from_hash": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { "media": { - "binaryEncoding": "base64" + "binaryEncoding": "base64" }, "type": "string" - }, - "from_height": { - "type": "integer" - }, - "height": { + }, + "total": { "type": "integer" + } }, - "id": { - "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" }, - "start": { - "format": "date-time", - "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" }, - "to_hash": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { "media": { - "binaryEncoding": "base64" + "binaryEncoding": "base64" }, "type": "string" - }, - "to_height": { + }, + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } + }, + "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#L67" + } + }, + { + "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: read", + "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" }, - "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" + "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": "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": "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": "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": "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": [ { - "name": "u", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "*header.ExtendedHeader", - "description": "*header.ExtendedHeader", - "summary": "", - "schema": { - "examples": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "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" - ] - } + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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" + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "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" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "module", + "value": "bank" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "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 }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "string", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "result": { - "name": "[]auth.Permission", - "description": "[]auth.Permission", - "summary": "", - "schema": { - "examples": [ - [ - "admin" - ] - ], - "items": [ - { - "type": [ - "string" - ] + ] + } + ], + "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": [ - "array" - ] + }, + "type": "object" + }, + "type": "array" + }, + "type": { + "type": "string" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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" + "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": "integer" + "type": "string" } + }, + "type": "object" }, - "type": [ - "object" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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 + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - { - "name": "level", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] - }, - "required": true, - "deprecated": false + }, + "type": "object" }, - "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" + "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": "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 - } + "name": "valAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "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" - } + "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": "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": "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "RateOut": { - "type": "number" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "TotalIn": { - "type": "integer" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "TotalOut": { - "type": "integer" + { + "key": "module", + "value": "bank" } + ] }, - "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": [ + { + "type": "transfer", + "attributes": [ { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "TotalIn": { - "type": "integer" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "TotalOut": { - "type": "integer" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "type": [ - "object" - ] + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "tag", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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 + ], + "additionalProperties": false, + "properties": { + "code": { + "type": "integer" }, - "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 + "codespace": { + "type": "string" }, - "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" - ] + "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" } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true + }, + "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": "array" + "type": "object" + }, + "type": "array" }, - "ID": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "type": [ - "object" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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": "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 - } + "name": "delAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "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" - } + "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": "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": "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ + { + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, { - "type": [ - "string" - ] + "key": "amount", + "value": "30utia" } - ], - "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": [ + ] + }, + { + "type": "coin_spent", + "attributes": [ { - "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 - } - } + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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" + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "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" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "System": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "Transient": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, { - "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" - ] + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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: read", - "summary": "GetEDS gets the full EDS identified by the given extended header.\n", - "paramStructure": "by-position", - "params": [ { - "name": "header", - "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" - ] + "type": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "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" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L75" - } - }, - { - "name": "share.GetShare", - "description": "Auth level: read", - "summary": "GetShare gets a Share by coordinates in EDS.\n", - "paramStructure": "by-position", - "params": [ { - "name": "header", - "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" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "row", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "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" - ] + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L71" - } - }, - { - "name": "share.GetSharesByNamespace", - "description": "Auth level: read", - "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": "header", - "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" - ] + "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" }, - "required": true, - "deprecated": false + "type": "array" + }, + "type": { + "type": "string" + } }, - { - "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": {} - } - ] - ], - "items": [ - { + "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": { - "proof": { - "additionalProperties": false, - "type": "object" - }, - "shares": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, - "type": [ - "object" - ] + "type": "object" + }, + "type": "array" + }, + "type": { + "type": "string" } - ], - "type": [ - "array" - ] + }, + "type": "object" + }, + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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#L79" - } - }, - { - "name": "share.SharesAvailable", - "description": "Auth level: read", - "summary": "SharesAvailable subjectively validates if Shares committed to the given\nExtendedHeader are available on the Network.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "header", - "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 - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L67" + "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: read", + "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: read", + "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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" - ] + "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" }, - "required": true, - "deprecated": false - }, - "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" + "balance": { + "denom": "string value", + "amount": "42" + } + } } - }, - { - "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" - } + ], + "additionalProperties": false, + "properties": { + "delegation_response": { + "additionalProperties": false, + "properties": { + "balance": { + "additionalProperties": false, + "properties": { + "amount": { + "additionalProperties": false, + "type": "object" }, - "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" + "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: read", + "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": "state.BalanceForAddress", - "description": "Auth level: read", - "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": "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": [ { - "name": "addr", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "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" + } + ] } - ], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "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": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } + "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" + } }, - "required": true, - "deprecated": false - }, - "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" + "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: read", + "summary": "QueryUnbonding retrieves the unbonding status between a delegator and a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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" }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], + "entries": { + "items": { + "additionalProperties": false, + "properties": { + "balance": { "additionalProperties": false, - "type": [ - "object" - ] + "type": "object" + }, + "completion_time": { + "format": "date-time", + "type": "string" + }, + "creation_height": { + "type": "integer" + }, + "initial_balance": { + "additionalProperties": false, + "type": "object" + } }, - "required": true, - "deprecated": false + "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": [ + [ { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", + "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", + "share_version": 0, + "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" } + ] ], - "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 - } - ] - } - ] - } - ], + "items": [ + { + "additionalProperties": false, + "properties": { + "blob": { "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" + "blob": {}, + "commitment": { + "media": { + "binaryEncoding": "base64" }, - "height": { - "type": "integer" + "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" }, - "info": { - "type": "string" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "raw_log": { - "type": "string" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "timestamp": { - "type": "string" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "txhash": { - "type": "string" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "height", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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": "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": "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": [ { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "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 + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "type": [ - "object" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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: read", - "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" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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": "state.QueryDelegation", - "description": "Auth level: read", - "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ + "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "delegation_response": { - "delegation": { - "delegator_address": "string value", - "validator_address": "string value", - "shares": "0" - }, - "balance": { - "denom": "string value", - "amount": "42" - } - } + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" + }, + { + "key": "amount", + "value": "30utia" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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: read", - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "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": "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 }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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: read", - "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": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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": "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 - } + "name": "delAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ + "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": [ { - "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" + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "info": { - "type": "string" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "raw_log": { - "type": "string" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "timestamp": { - "type": "string" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "txhash": { - "type": "string" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, { - "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": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "txhash": { + "type": "string" } - } - ] -} \ No newline at end of file + }, + "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" + } + } + ] +} diff --git a/public/specs/openrpc-v0.12.3.json b/public/specs/openrpc-v0.12.3.json index 6341740..dc9ebac 100644 --- a/public/specs/openrpc-v0.12.3.json +++ b/public/specs/openrpc-v0.12.3.json @@ -1,9589 +1,9153 @@ { - "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.12.3" - }, - "externalDocs": { - "description": "Celestia Node GitHub", - "url": "https://github.com/celestiaorg/celestia-node" + "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.12.3" + }, + "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" + } }, - "methods": [ + { + "name": "blob.GetAll", + "description": "Auth level: read", + "summary": "GetAll returns all blobs under the given namespaces and height.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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": [ + [ + { + "end": 4, + "nodes": ["dGVzdA=="], + "is_max_namespace_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": [ + [ { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, + "end": 4, + "nodes": ["dGVzdA=="], + "is_max_namespace_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": [ + [ { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", + "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", + "share_version": 0, + "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" } + ] ], - "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" - } + "blob": {}, + "commitment": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } }, - "type": [ - "object" - ] + "type": "object" + }, + "commitment": { + "media": { + "binaryEncoding": "base64" + }, + "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/blob/blob.go#L45" - } + "type": ["object"] + } + ], + "type": ["array"] + }, + "required": true, + "deprecated": false }, { - "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 - } + "name": "options", + "description": "*blob.SubmitOptions", + "summary": "", + "schema": { + "examples": [ + { + "Fee": 42, + "GasLimit": 42 + } ], - "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 + "additionalProperties": false, + "properties": { + "Fee": { + "type": "integer" + }, + "GasLimit": { + "type": "integer" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false + } + ], + "result": { + "name": "uint64", + "description": "uint64", + "summary": "", + "schema": { + "examples": [42], + "type": ["integer"] }, - { - "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 - }, + "required": true, + "deprecated": false + }, + "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": "das.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": [ { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1093, + "from": 1002, + "to": 1101 }, { - "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": [ - [ - { - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "is_max_namespace_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] + "job_type": "catchup", + "current": 33343, + "from": 33302, + "to": 33401 }, - "required": true, - "deprecated": false - }, - "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 + "job_type": "catchup", + "current": 34047, + "from": 34002, + "to": 34101 }, { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1327, + "from": 1302, + "to": 1401 }, { - "name": "proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "is_max_namespace_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1197, + "from": 1102, + "to": 1201 }, { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1408, + "from": 1402, + "to": 1501 } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false + ], + "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" }, - "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" + "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": "das.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: read", + "summary": "Subscribe allows to subscribe on a Proof pub sub topic by its type.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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: read", + "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" }, - { - "name": "options", - "description": "*blob.SubmitOptions", - "summary": "", - "schema": { - "examples": [ - { - "Fee": 42, - "GasLimit": 42 - } - ], - "additionalProperties": false, - "properties": { - "Fee": { - "type": "integer" - }, - "GasLimit": { - "type": "integer" - } - }, - "type": [ - "object" - ] + "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=" }, - "required": true, - "deprecated": false + "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" } - ], - "result": { - "name": "uint64", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + }, + "commit": { + "height": 67374, + "round": 0, + "block_id": { + "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", + "parts": { + "total": 1, + "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" + } }, - "required": true, - "deprecated": false - }, - "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" + "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" + ] + } } - }, - { - "name": "das.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": { + "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": { - "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" - } + "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": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" }, - "required": true, - "deprecated": false + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" + } + }, + "type": "object" }, - "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": "das.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" - ] + "header": { + "additionalProperties": false, + "properties": { + "app_hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" }, - "required": true, - "deprecated": false + "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" }, - "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" + "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: read", + "summary": "GetByHeight returns the ExtendedHeader at the given height if it is\ncurrently available.\n", + "paramStructure": "by-position", + "params": [ { - "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 + "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" } - ], - "result": { - "name": "[]Proof", - "description": "[]Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "proof_type": "badencodingv0.1", - "data": "ChJiYWQgZW5jb2RpbmcgcHJvb2YQKg==" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] + }, + "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": [ - "array" - ] + }, + "type": "object" + } + }, + "type": "object" + }, + "height": { + "type": "integer" + }, + "round": { + "type": "integer" }, - "required": true, - "deprecated": false + "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" }, - "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: read", - "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 + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" + }, + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" } - ], - "result": { - "name": "\u003c-chan *Proof", - "description": "\u003c-chan *Proof", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] + }, + "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" }, - "required": true, - "deprecated": false + "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" }, - "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" + "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.GetRangeByHeight", + "description": "Auth level: read", + "summary": "GetRangeByHeight 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": "header.GetByHash", - "description": "Auth level: read", - "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 + "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" + ] } + } ], - "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" - } + "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": "object" + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "name": "header.GetByHeight", - "description": "Auth level: read", - "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 + "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" + ] } - ], - "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==" - } - ] + } + ] + ], + "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" }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] + "total": { + "type": "integer" } + }, + "type": "object" } - ], - "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" + }, + "height": { + "type": "integer" + }, + "round": { + "type": "integer" + }, + "signatures": { + "items": { + "additionalProperties": false, + "properties": { + "block_id_flag": { + "type": "integer" + }, + "signature": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" }, - "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": "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" }, - "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" - } + "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": "object" + "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": "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" }, - "required": true, - "deprecated": false + "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: read", + "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: read", + "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" }, - "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" + "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": "header.GetRangeByHeight", - "description": "Auth level: read", - "summary": "GetRangeByHeight 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" - ] + "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=" }, - "required": true, - "deprecated": false + "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" + } }, - { - "name": "to", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "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" } - ], - "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": "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": [ - "array" - ] + }, + "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" }, - "required": true, - "deprecated": false - }, - "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" + "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": "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" - ] - } - } - ], + "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: read", + "summary": "GetEDS gets the full EDS identified by the given extended header.\n", + "paramStructure": "by-position", + "params": [ + { + "name": "header", + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } + }, + "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#L91" - } - }, - { - "name": "header.NetworkHead", - "description": "Auth level: read", - "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" - ] - } - } - ], + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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": "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" + "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#L75" + } + }, + { + "name": "share.GetShare", + "description": "Auth level: read", + "summary": "GetShare gets a Share by coordinates in EDS.\n", + "paramStructure": "by-position", + "params": [ { - "name": "header.Subscribe", - "description": "Auth level: read", - "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" - ] + "name": "header", + "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" }, - "required": true, - "deprecated": false - }, - "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" - } - ], + "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": { - "end": { - "format": "date-time", - "type": "string" - }, - "error": { - "type": "string" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "from_hash": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { "media": { - "binaryEncoding": "base64" + "binaryEncoding": "base64" }, "type": "string" - }, - "from_height": { - "type": "integer" - }, - "height": { + }, + "total": { "type": "integer" + } }, - "id": { - "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" }, - "start": { - "format": "date-time", - "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" }, - "to_hash": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { "media": { - "binaryEncoding": "base64" + "binaryEncoding": "base64" }, "type": "string" - }, - "to_height": { + }, + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "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": "row", + "description": "int", + "summary": "", + "schema": { + "examples": [42], + "type": ["integer"] + }, + "required": true, + "deprecated": false }, { - "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 + "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#L71" + } + }, + { + "name": "share.GetSharesByNamespace", + "description": "Auth level: read", + "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": "header", + "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" + ] } + } ], - "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } + }, + "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#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" - ] + "type": "object" + }, + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" }, - "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" - ] + "type": "array" + }, + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "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" - } - ], + "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": { - "api_version": { - "type": "string" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": { + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "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": "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": {} + } + ] + ], + "items": [ + { + "additionalProperties": false, + "properties": { + "proof": { + "additionalProperties": false, + "type": "object" }, - { - "name": "level", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "shares": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" } - ], - "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" + }, + "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#L79" + } + }, + { + "name": "share.SharesAvailable", + "description": "Auth level: read", + "summary": "SharesAvailable subjectively validates if Shares committed to the given\nExtendedHeader are available on the Network.\n", + "paramStructure": "by-position", + "params": [ { - "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 + "name": "header", + "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" + ] } + } ], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], + "additionalProperties": false, + "properties": { + "commit": { + "additionalProperties": false, + "properties": { + "block_id": { "additionalProperties": false, "properties": { - "RateIn": { - "type": "number" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "RateOut": { - "type": "number" - }, - "TotalIn": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "total": { "type": "integer" + } }, - "TotalOut": { - "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": [ - "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/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 - } - ], + "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": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "TotalIn": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "total": { "type": "integer" + } }, - "TotalOut": { - "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } + }, + "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#L67" + } + }, + { + "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#L256" + } + }, + { + "name": "state.BalanceForAddress", + "description": "Auth level: read", + "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" }, - "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" + "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#L170" + } + }, + { + "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": "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": [ + "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" + }, { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 + "key": "amount", + "value": "30utia" } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "RateOut": { - "type": "number" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "TotalIn": { - "type": "integer" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "TotalOut": { - "type": "integer" + { + "key": "module", + "value": "bank" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + ] + } + ], + "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" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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": { + "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": [ - "object" - ] + "type": { + "type": "string" + } + }, + "type": "object" }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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" + "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#L208" + } + }, + { + "name": "state.CancelUnbondingDelegation", + "description": "Auth level: write", + "summary": "CancelUnbondingDelegation cancels a user's pending undelegation from a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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 - } + "name": "valAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "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" - } + "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": "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": [ + "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": [ { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "ID": { - "type": "string" + { + "key": "amount", + "value": "30utia" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + { + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "result": { - "name": "peer.AddrInfo", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + ] + } + ], + "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" } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true + }, + "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": "array" + "type": "object" + }, + "type": "array" }, - "ID": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "type": [ - "object" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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#L197" + } + }, + { + "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": "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 - } + "name": "delAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "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" - } + "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": "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": "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "type": [ - "string" - ] + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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": [ + ] + }, + { + "type": "coin_spent", + "attributes": [ { - "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 - } - } + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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" + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "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" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "System": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "Transient": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, { - "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" - ] + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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: read", - "summary": "GetEDS gets the full EDS identified by the given extended header.\n", - "paramStructure": "by-position", - "params": [ { - "name": "header", - "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" - ] + "type": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "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" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L75" - } - }, - { - "name": "share.GetShare", - "description": "Auth level: read", - "summary": "GetShare gets a Share by coordinates in EDS.\n", - "paramStructure": "by-position", - "params": [ { - "name": "header", - "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" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "row", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "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" - ] + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L71" - } - }, - { - "name": "share.GetSharesByNamespace", - "description": "Auth level: read", - "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": "header", - "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" - ] + "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" }, - "required": true, - "deprecated": false + "type": "array" + }, + "type": { + "type": "string" + } }, - { - "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": {} - } - ] - ], - "items": [ - { + "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": { - "proof": { - "additionalProperties": false, - "type": "object" - }, - "shares": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, - "type": [ - "object" - ] + "type": "object" + }, + "type": "array" + }, + "type": { + "type": "string" } - ], - "type": [ - "array" - ] + }, + "type": "object" + }, + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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#L79" - } - }, - { - "name": "share.SharesAvailable", - "description": "Auth level: read", - "summary": "SharesAvailable subjectively validates if Shares committed to the given\nExtendedHeader are available on the Network.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "header", - "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 - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L67" + "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#L228" + } + }, + { + "name": "state.QueryDelegation", + "description": "Auth level: read", + "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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" - ] + "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" }, - "required": true, - "deprecated": false - }, - "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" + "balance": { + "denom": "string value", + "amount": "42" + } + } } - }, - { - "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" - } + ], + "additionalProperties": false, + "properties": { + "delegation_response": { + "additionalProperties": false, + "properties": { + "balance": { + "additionalProperties": false, + "properties": { + "amount": { + "additionalProperties": false, + "type": "object" }, - "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#L256" + "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#L238" + } + }, + { + "name": "state.QueryRedelegations", + "description": "Auth level: read", + "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": "state.BalanceForAddress", - "description": "Auth level: read", - "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": "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": [ { - "name": "addr", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "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" + } + ] } - ], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "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": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } + "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" + } }, - "required": true, - "deprecated": false - }, - "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" + "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#L249" + } + }, + { + "name": "state.QueryUnbonding", + "description": "Auth level: read", + "summary": "QueryUnbonding retrieves the unbonding status between a delegator and a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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" }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], + "entries": { + "items": { + "additionalProperties": false, + "properties": { + "balance": { "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], + "type": "object" + }, + "completion_time": { + "format": "date-time", + "type": "string" + }, + "creation_height": { + "type": "integer" + }, + "initial_balance": { "additionalProperties": false, - "type": [ - "object" - ] + "type": "object" + } }, - "required": true, - "deprecated": false + "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#L242" + } + }, + { + "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": [ + [ { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", + "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", + "share_version": 0, + "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" } + ] ], - "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 - } - ] - } - ] - } - ], + "items": [ + { + "additionalProperties": false, + "properties": { + "blob": { "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" + "blob": {}, + "commitment": { + "media": { + "binaryEncoding": "base64" }, - "height": { - "type": "integer" + "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" }, - "info": { - "type": "string" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "raw_log": { - "type": "string" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "timestamp": { - "type": "string" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "txhash": { - "type": "string" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L208" - } - }, - { - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "height", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L197" + "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.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": "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": "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": [ { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L228" + "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#L184" + } + }, + { + "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": "state.QueryDelegation", - "description": "Auth level: read", - "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ + "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "delegation_response": { - "delegation": { - "delegator_address": "string value", - "validator_address": "string value", - "shares": "0" - }, - "balance": { - "denom": "string value", - "amount": "42" - } - } + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" + }, + { + "key": "amount", + "value": "30utia" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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#L238" - } - }, - { - "name": "state.QueryRedelegations", - "description": "Auth level: read", - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "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": "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 }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L249" - } - }, - { - "name": "state.QueryUnbonding", - "description": "Auth level: read", - "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": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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.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" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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#L174" + } + }, + { + "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": "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 - } + "name": "delAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ + "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": [ { - "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" + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "info": { - "type": "string" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "raw_log": { - "type": "string" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "timestamp": { - "type": "string" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "txhash": { - "type": "string" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L184" - } - }, - { - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, { - "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": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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.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 + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L218" + "txhash": { + "type": "string" } - } - ] -} \ No newline at end of file + }, + "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#L218" + } + } + ] +} diff --git a/public/specs/openrpc-v0.12.4.json b/public/specs/openrpc-v0.12.4.json index 0d9be36..68fd481 100644 --- a/public/specs/openrpc-v0.12.4.json +++ b/public/specs/openrpc-v0.12.4.json @@ -1,9589 +1,9153 @@ { - "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.12.4" - }, - "externalDocs": { - "description": "Celestia Node GitHub", - "url": "https://github.com/celestiaorg/celestia-node" + "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.12.4" + }, + "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" + } }, - "methods": [ + { + "name": "blob.GetAll", + "description": "Auth level: read", + "summary": "GetAll returns all blobs under the given namespaces and height.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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": [ + [ + { + "end": 4, + "nodes": ["dGVzdA=="], + "is_max_namespace_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": [ + [ { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, + "end": 4, + "nodes": ["dGVzdA=="], + "is_max_namespace_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": [ + [ { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", + "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", + "share_version": 0, + "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" } + ] ], - "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" - } + "blob": {}, + "commitment": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } }, - "type": [ - "object" - ] + "type": "object" + }, + "commitment": { + "media": { + "binaryEncoding": "base64" + }, + "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/blob/blob.go#L45" - } + "type": ["object"] + } + ], + "type": ["array"] + }, + "required": true, + "deprecated": false }, { - "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 - } + "name": "options", + "description": "*blob.SubmitOptions", + "summary": "", + "schema": { + "examples": [ + { + "Fee": 42, + "GasLimit": 42 + } ], - "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 + "additionalProperties": false, + "properties": { + "Fee": { + "type": "integer" + }, + "GasLimit": { + "type": "integer" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false + } + ], + "result": { + "name": "uint64", + "description": "uint64", + "summary": "", + "schema": { + "examples": [42], + "type": ["integer"] }, - { - "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 - }, + "required": true, + "deprecated": false + }, + "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": "das.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": [ { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1093, + "from": 1002, + "to": 1101 }, { - "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": [ - [ - { - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "is_max_namespace_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] + "job_type": "catchup", + "current": 33343, + "from": 33302, + "to": 33401 }, - "required": true, - "deprecated": false - }, - "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 + "job_type": "catchup", + "current": 34047, + "from": 34002, + "to": 34101 }, { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1327, + "from": 1302, + "to": 1401 }, { - "name": "proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "is_max_namespace_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1197, + "from": 1102, + "to": 1201 }, { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1408, + "from": 1402, + "to": 1501 } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] - }, - "required": true, - "deprecated": false + ], + "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" }, - "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" + "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": "das.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: read", + "summary": "Subscribe allows to subscribe on a Proof pub sub topic by its type.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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: read", + "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" }, - { - "name": "options", - "description": "*blob.SubmitOptions", - "summary": "", - "schema": { - "examples": [ - { - "Fee": 42, - "GasLimit": 42 - } - ], - "additionalProperties": false, - "properties": { - "Fee": { - "type": "integer" - }, - "GasLimit": { - "type": "integer" - } - }, - "type": [ - "object" - ] + "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=" }, - "required": true, - "deprecated": false + "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" } - ], - "result": { - "name": "uint64", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + }, + "commit": { + "height": 67374, + "round": 0, + "block_id": { + "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", + "parts": { + "total": 1, + "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" + } }, - "required": true, - "deprecated": false - }, - "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" + "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" + ] + } } - }, - { - "name": "das.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": { + "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": { - "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" - } + "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": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" }, - "required": true, - "deprecated": false + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" + } + }, + "type": "object" }, - "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": "das.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" - ] + "header": { + "additionalProperties": false, + "properties": { + "app_hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" }, - "required": true, - "deprecated": false + "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" }, - "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" + "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: read", + "summary": "GetByHeight returns the ExtendedHeader at the given height if it is\ncurrently available.\n", + "paramStructure": "by-position", + "params": [ { - "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 + "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" } - ], - "result": { - "name": "[]Proof", - "description": "[]Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "proof_type": "badencodingv0.1", - "data": "ChJiYWQgZW5jb2RpbmcgcHJvb2YQKg==" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] + }, + "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": [ - "array" - ] + }, + "type": "object" + } + }, + "type": "object" + }, + "height": { + "type": "integer" + }, + "round": { + "type": "integer" }, - "required": true, - "deprecated": false + "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" }, - "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: read", - "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 + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" + }, + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" } - ], - "result": { - "name": "\u003c-chan *Proof", - "description": "\u003c-chan *Proof", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] + }, + "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" }, - "required": true, - "deprecated": false + "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" }, - "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" + "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.GetRangeByHeight", + "description": "Auth level: read", + "summary": "GetRangeByHeight 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": "header.GetByHash", - "description": "Auth level: read", - "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 + "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" + ] } + } ], - "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" - } + "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": "object" + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "name": "header.GetByHeight", - "description": "Auth level: read", - "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 + "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" + ] } - ], - "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==" - } - ] + } + ] + ], + "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" }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] + "total": { + "type": "integer" } + }, + "type": "object" } - ], - "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" + }, + "height": { + "type": "integer" + }, + "round": { + "type": "integer" + }, + "signatures": { + "items": { + "additionalProperties": false, + "properties": { + "block_id_flag": { + "type": "integer" + }, + "signature": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" }, - "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": "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" }, - "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" - } + "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": "object" + "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": "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" }, - "required": true, - "deprecated": false + "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: read", + "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: read", + "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" }, - "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" + "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": "header.GetRangeByHeight", - "description": "Auth level: read", - "summary": "GetRangeByHeight 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" - ] + "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=" }, - "required": true, - "deprecated": false + "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" + } }, - { - "name": "to", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "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" } - ], - "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": "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": [ - "array" - ] + }, + "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" }, - "required": true, - "deprecated": false - }, - "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" + "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": "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" - ] - } - } - ], + "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: read", + "summary": "GetEDS gets the full EDS identified by the given extended header.\n", + "paramStructure": "by-position", + "params": [ + { + "name": "header", + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } + }, + "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#L91" - } - }, - { - "name": "header.NetworkHead", - "description": "Auth level: read", - "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" - ] - } - } - ], + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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": "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" + "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#L75" + } + }, + { + "name": "share.GetShare", + "description": "Auth level: read", + "summary": "GetShare gets a Share by coordinates in EDS.\n", + "paramStructure": "by-position", + "params": [ { - "name": "header.Subscribe", - "description": "Auth level: read", - "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" - ] + "name": "header", + "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" }, - "required": true, - "deprecated": false - }, - "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" - } - ], + "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": { - "end": { - "format": "date-time", - "type": "string" - }, - "error": { - "type": "string" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "from_hash": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { "media": { - "binaryEncoding": "base64" + "binaryEncoding": "base64" }, "type": "string" - }, - "from_height": { - "type": "integer" - }, - "height": { + }, + "total": { "type": "integer" + } }, - "id": { - "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" }, - "start": { - "format": "date-time", - "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" }, - "to_hash": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { "media": { - "binaryEncoding": "base64" + "binaryEncoding": "base64" }, "type": "string" - }, - "to_height": { + }, + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "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": "row", + "description": "int", + "summary": "", + "schema": { + "examples": [42], + "type": ["integer"] + }, + "required": true, + "deprecated": false }, { - "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 + "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#L71" + } + }, + { + "name": "share.GetSharesByNamespace", + "description": "Auth level: read", + "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": "header", + "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" + ] } + } ], - "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } + }, + "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#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" - ] + "type": "object" + }, + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" }, - "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" - ] + "type": "array" + }, + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "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" - } - ], + "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": { - "api_version": { - "type": "string" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": { + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "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": "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": {} + } + ] + ], + "items": [ + { + "additionalProperties": false, + "properties": { + "proof": { + "additionalProperties": false, + "type": "object" }, - { - "name": "level", - "description": "string", - "summary": "", - "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "shares": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" } - ], - "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" + }, + "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#L79" + } + }, + { + "name": "share.SharesAvailable", + "description": "Auth level: read", + "summary": "SharesAvailable subjectively validates if Shares committed to the given\nExtendedHeader are available on the Network.\n", + "paramStructure": "by-position", + "params": [ { - "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 + "name": "header", + "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" + ] } + } ], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], + "additionalProperties": false, + "properties": { + "commit": { + "additionalProperties": false, + "properties": { + "block_id": { "additionalProperties": false, "properties": { - "RateIn": { - "type": "number" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "RateOut": { - "type": "number" - }, - "TotalIn": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "total": { "type": "integer" + } }, - "TotalOut": { - "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": [ - "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/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 - } - ], + "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": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "TotalIn": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "total": { "type": "integer" + } }, - "TotalOut": { - "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } + }, + "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#L67" + } + }, + { + "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#L256" + } + }, + { + "name": "state.BalanceForAddress", + "description": "Auth level: read", + "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" }, - "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" + "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#L170" + } + }, + { + "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": "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": [ + "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" + }, { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 + "key": "amount", + "value": "30utia" } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "RateOut": { - "type": "number" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "TotalIn": { - "type": "integer" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "TotalOut": { - "type": "integer" + { + "key": "module", + "value": "bank" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + ] + } + ], + "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" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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": { + "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": [ - "object" - ] + "type": { + "type": "string" + } + }, + "type": "object" }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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" + "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#L208" + } + }, + { + "name": "state.CancelUnbondingDelegation", + "description": "Auth level: write", + "summary": "CancelUnbondingDelegation cancels a user's pending undelegation from a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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 - } + "name": "valAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "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" - } + "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": "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": [ + "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": [ { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "ID": { - "type": "string" + { + "key": "amount", + "value": "30utia" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + { + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "result": { - "name": "peer.AddrInfo", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + ] + } + ], + "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" } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true + }, + "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": "array" + "type": "object" + }, + "type": "array" }, - "ID": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "type": [ - "object" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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#L197" + } + }, + { + "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": "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 - } + "name": "delAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "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" - } + "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": "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": "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "type": [ - "string" - ] + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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": [ + ] + }, + { + "type": "coin_spent", + "attributes": [ { - "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 - } - } + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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" + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "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" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "System": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "Transient": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, { - "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" - ] + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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: read", - "summary": "GetEDS gets the full EDS identified by the given extended header.\n", - "paramStructure": "by-position", - "params": [ { - "name": "header", - "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" - ] + "type": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "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" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L75" - } - }, - { - "name": "share.GetShare", - "description": "Auth level: read", - "summary": "GetShare gets a Share by coordinates in EDS.\n", - "paramStructure": "by-position", - "params": [ { - "name": "header", - "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" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "row", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "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" - ] + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L71" - } - }, - { - "name": "share.GetSharesByNamespace", - "description": "Auth level: read", - "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": "header", - "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" - ] + "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" }, - "required": true, - "deprecated": false + "type": "array" + }, + "type": { + "type": "string" + } }, - { - "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": {} - } - ] - ], - "items": [ - { + "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": { - "proof": { - "additionalProperties": false, - "type": "object" - }, - "shares": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, - "type": [ - "object" - ] + "type": "object" + }, + "type": "array" + }, + "type": { + "type": "string" } - ], - "type": [ - "array" - ] + }, + "type": "object" + }, + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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#L79" - } - }, - { - "name": "share.SharesAvailable", - "description": "Auth level: read", - "summary": "SharesAvailable subjectively validates if Shares committed to the given\nExtendedHeader are available on the Network.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "header", - "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 - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L67" + "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#L228" + } + }, + { + "name": "state.QueryDelegation", + "description": "Auth level: read", + "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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" - ] + "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" }, - "required": true, - "deprecated": false - }, - "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" + "balance": { + "denom": "string value", + "amount": "42" + } + } } - }, - { - "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" - } + ], + "additionalProperties": false, + "properties": { + "delegation_response": { + "additionalProperties": false, + "properties": { + "balance": { + "additionalProperties": false, + "properties": { + "amount": { + "additionalProperties": false, + "type": "object" }, - "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#L256" + "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#L238" + } + }, + { + "name": "state.QueryRedelegations", + "description": "Auth level: read", + "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": "state.BalanceForAddress", - "description": "Auth level: read", - "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": "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": [ { - "name": "addr", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "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" + } + ] } - ], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "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": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } + "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" + } }, - "required": true, - "deprecated": false - }, - "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" + "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#L249" + } + }, + { + "name": "state.QueryUnbonding", + "description": "Auth level: read", + "summary": "QueryUnbonding retrieves the unbonding status between a delegator and a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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" }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], + "entries": { + "items": { + "additionalProperties": false, + "properties": { + "balance": { "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], + "type": "object" + }, + "completion_time": { + "format": "date-time", + "type": "string" + }, + "creation_height": { + "type": "integer" + }, + "initial_balance": { "additionalProperties": false, - "type": [ - "object" - ] + "type": "object" + } }, - "required": true, - "deprecated": false + "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#L242" + } + }, + { + "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": [ + [ { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", + "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", + "share_version": 0, + "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=" } + ] ], - "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 - } - ] - } - ] - } - ], + "items": [ + { + "additionalProperties": false, + "properties": { + "blob": { "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" + "blob": {}, + "commitment": { + "media": { + "binaryEncoding": "base64" }, - "height": { - "type": "integer" + "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" }, - "info": { - "type": "string" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "raw_log": { - "type": "string" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "timestamp": { - "type": "string" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "txhash": { - "type": "string" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L208" - } - }, - { - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "height", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L197" + "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.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": "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": "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": [ { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L228" + "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#L184" + } + }, + { + "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": "state.QueryDelegation", - "description": "Auth level: read", - "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ + "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "delegation_response": { - "delegation": { - "delegator_address": "string value", - "validator_address": "string value", - "shares": "0" - }, - "balance": { - "denom": "string value", - "amount": "42" - } - } + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" + }, + { + "key": "amount", + "value": "30utia" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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#L238" - } - }, - { - "name": "state.QueryRedelegations", - "description": "Auth level: read", - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "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": "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 }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L249" - } - }, - { - "name": "state.QueryUnbonding", - "description": "Auth level: read", - "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": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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.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" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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#L174" + } + }, + { + "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": "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 - } + "name": "delAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ + "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": [ { - "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" + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "info": { - "type": "string" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "raw_log": { - "type": "string" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "timestamp": { - "type": "string" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "txhash": { - "type": "string" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L184" - } - }, - { - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, { - "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": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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.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 + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L218" + "txhash": { + "type": "string" } - } - ] -} \ No newline at end of file + }, + "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#L218" + } + } + ] +} diff --git a/public/specs/openrpc-v0.13.0.json b/public/specs/openrpc-v0.13.0.json index 5abb570..6e81ff7 100644 --- a/public/specs/openrpc-v0.13.0.json +++ b/public/specs/openrpc-v0.13.0.json @@ -21,12 +21,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -36,12 +32,8 @@ "description": "share.Namespace", "summary": "", "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] + "examples": ["AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA="], + "type": ["string"] }, "required": true, "deprecated": false @@ -51,12 +43,8 @@ "description": "blob.Commitment", "summary": "", "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] + "examples": ["Bw=="], + "type": ["string"] }, "required": true, "deprecated": false @@ -85,9 +73,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -109,12 +95,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -124,21 +106,13 @@ "description": "[]share.Namespace", "summary": "", "schema": { - "examples": [ - [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ] - ], + "examples": [["AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA="]], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -183,14 +157,10 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -212,12 +182,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -227,12 +193,8 @@ "description": "share.Namespace", "summary": "", "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] + "examples": ["AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA="], + "type": ["string"] }, "required": true, "deprecated": false @@ -242,12 +204,8 @@ "description": "blob.Commitment", "summary": "", "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] + "examples": ["Bw=="], + "type": ["string"] }, "required": true, "deprecated": false @@ -266,14 +224,10 @@ "items": [ { "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -295,12 +249,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -310,12 +260,8 @@ "description": "share.Namespace", "summary": "", "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] + "examples": ["AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA="], + "type": ["string"] }, "required": true, "deprecated": false @@ -333,14 +279,10 @@ "items": [ { "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -350,12 +292,8 @@ "description": "blob.Commitment", "summary": "", "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] + "examples": ["Bw=="], + "type": ["string"] }, "required": true, "deprecated": false @@ -366,12 +304,8 @@ "description": "bool", "summary": "", "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + "examples": [true], + "type": ["boolean"] }, "required": true, "deprecated": false @@ -427,14 +361,10 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -444,12 +374,8 @@ "description": "blob.GasPrice", "summary": "", "schema": { - "examples": [ - 0.002 - ], - "type": [ - "number" - ] + "examples": [0.002], + "type": ["number"] }, "required": true, "deprecated": false @@ -460,12 +386,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -588,9 +510,7 @@ "type": "array" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -611,9 +531,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -635,12 +553,8 @@ "description": "fraud.ProofType", "summary": "", "schema": { - "examples": [ - "badencodingv0.1" - ], - "type": [ - "string" - ] + "examples": ["badencodingv0.1"], + "type": ["string"] }, "required": true, "deprecated": false @@ -662,14 +576,10 @@ "items": [ { "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -691,12 +601,8 @@ "description": "fraud.ProofType", "summary": "", "schema": { - "examples": [ - "badencodingv0.1" - ], - "type": [ - "string" - ] + "examples": ["badencodingv0.1"], + "type": ["string"] }, "required": true, "deprecated": false @@ -708,9 +614,7 @@ "summary": "", "schema": { "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -732,12 +636,8 @@ "description": "libhead.Hash", "summary": "", "schema": { - "examples": [ - "07" - ], - "type": [ - "string" - ] + "examples": ["07"], + "type": ["string"] }, "required": true, "deprecated": false @@ -1081,9 +981,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -1105,12 +1003,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -1454,9 +1348,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -1811,9 +1703,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -1823,12 +1713,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -2176,14 +2062,10 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -2538,9 +2420,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -2895,9 +2775,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -2920,9 +2798,7 @@ "summary": "", "schema": { "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -2995,9 +2871,7 @@ "type": "integer" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3018,9 +2892,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -3042,12 +2914,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -3391,9 +3259,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3415,21 +3281,13 @@ "description": "[]auth.Permission", "summary": "", "schema": { - "examples": [ - [ - "admin" - ] - ], + "examples": [["admin"]], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -3440,12 +3298,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -3467,12 +3321,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -3483,21 +3333,13 @@ "description": "[]auth.Permission", "summary": "", "schema": { - "examples": [ - [ - "admin" - ] - ], + "examples": [["admin"]], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -3534,9 +3376,7 @@ "type": "integer" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3558,12 +3398,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -3573,12 +3409,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -3588,9 +3420,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -3612,12 +3442,8 @@ "description": "bool", "summary": "", "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + "examples": [true], + "type": ["boolean"] }, "required": true, "deprecated": false @@ -3642,9 +3468,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -3678,9 +3502,7 @@ "type": "integer" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3702,12 +3524,8 @@ "description": "protocol.ID", "summary": "", "schema": { - "examples": [ - "/celestia/mocha/ipfs/bitswap" - ], - "type": [ - "string" - ] + "examples": ["/celestia/mocha/ipfs/bitswap"], + "type": ["string"] }, "required": true, "deprecated": false @@ -3741,9 +3559,7 @@ "type": "integer" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3788,9 +3604,7 @@ "type": "integer" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3815,9 +3629,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -3827,9 +3639,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -3854,9 +3664,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -3866,9 +3674,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -3893,9 +3699,7 @@ "examples": [ { "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + "Addrs": ["/ip6/::1/udp/2121/quic-v1"] } ], "additionalProperties": false, @@ -3910,9 +3714,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3922,9 +3724,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -3949,9 +3749,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -3962,12 +3760,8 @@ "description": "network.Connectedness", "summary": "", "schema": { - "examples": [ - 1 - ], - "type": [ - "integer" - ] + "examples": [1], + "type": ["integer"] }, "required": true, "deprecated": false @@ -3992,9 +3786,7 @@ "examples": [ { "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + "Addrs": ["/ip6/::1/udp/2121/quic-v1"] } ], "additionalProperties": false, @@ -4009,9 +3801,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -4036,9 +3826,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -4048,12 +3836,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -4064,12 +3848,8 @@ "description": "bool", "summary": "", "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + "examples": [true], + "type": ["boolean"] }, "required": true, "deprecated": false @@ -4098,14 +3878,10 @@ ], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -4127,12 +3903,8 @@ "description": "network.Reachability", "summary": "", "schema": { - "examples": [ - 2 - ], - "type": [ - "integer" - ] + "examples": [2], + "type": ["integer"] }, "required": true, "deprecated": false @@ -4157,9 +3929,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -4173,9 +3943,7 @@ "examples": [ { "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + "Addrs": ["/ip6/::1/udp/2121/quic-v1"] } ], "additionalProperties": false, @@ -4190,9 +3958,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -4221,14 +3987,10 @@ ], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -4253,9 +4015,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -4265,12 +4025,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -4280,9 +4036,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -4304,12 +4058,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -4327,14 +4077,10 @@ ], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -4584,9 +4330,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -4611,9 +4355,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -4623,9 +4365,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -4650,9 +4390,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -4662,12 +4400,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -4678,12 +4412,8 @@ "description": "bool", "summary": "", "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + "examples": [true], + "type": ["boolean"] }, "required": true, "deprecated": false @@ -5038,9 +4768,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -5063,9 +4791,7 @@ } ], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -5420,9 +5146,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -5432,12 +5156,8 @@ "description": "int", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -5447,12 +5167,8 @@ "description": "int", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -5463,12 +5179,8 @@ "description": "share.Share", "summary": "", "schema": { - "examples": [ - "Ynl0ZSBhcnJheQ==" - ], - "type": [ - "string" - ] + "examples": ["Ynl0ZSBhcnJheQ=="], + "type": ["string"] }, "required": true, "deprecated": false @@ -5823,9 +5535,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -5835,12 +5545,8 @@ "description": "share.Namespace", "summary": "", "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] + "examples": ["AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA="], + "type": ["string"] }, "required": true, "deprecated": false @@ -5854,9 +5560,7 @@ "examples": [ [ { - "shares": [ - "Ynl0ZSBhcnJheQ==" - ], + "shares": ["Ynl0ZSBhcnJheQ=="], "proof": {} } ] @@ -5879,14 +5583,10 @@ "type": "array" } }, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -6241,9 +5941,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6253,9 +5951,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -6277,13 +5973,9 @@ "description": "state.Address", "summary": "", "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], + "examples": ["celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6321,9 +6013,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6345,13 +6035,9 @@ "description": "state.Address", "summary": "", "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], + "examples": ["celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6378,9 +6064,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6405,9 +6089,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -6420,9 +6102,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -6432,13 +6112,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6448,13 +6124,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6464,12 +6136,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -6795,9 +6463,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6822,9 +6488,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -6834,13 +6498,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6850,13 +6510,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6866,13 +6522,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6882,12 +6534,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -7213,9 +6861,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7240,9 +6886,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -7252,13 +6896,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7268,13 +6908,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7284,12 +6920,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -7615,9 +7247,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7642,9 +7272,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -7708,9 +7336,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7735,9 +7361,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -7750,9 +7374,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -7899,9 +7521,7 @@ "type": "array" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7926,9 +7546,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -7994,9 +7612,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8018,13 +7634,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8034,12 +7646,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -8083,14 +7691,10 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -8416,9 +8020,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8440,12 +8042,8 @@ "description": "state.Tx", "summary": "", "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] + "examples": ["Bw=="], + "type": ["string"] }, "required": true, "deprecated": false @@ -8771,9 +8369,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8795,12 +8391,8 @@ "description": "state.AccAddress", "summary": "", "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "type": [ - "string" - ] + "examples": ["celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h"], + "type": ["string"] }, "required": true, "deprecated": false @@ -8810,13 +8402,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8826,13 +8414,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8842,12 +8426,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -9173,9 +8753,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -9200,9 +8778,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -9212,13 +8788,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -9228,13 +8800,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -9244,12 +8812,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -9575,9 +9139,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -9589,4 +9151,4 @@ } } ] -} \ No newline at end of file +} diff --git a/public/specs/openrpc-v0.13.1.json b/public/specs/openrpc-v0.13.1.json index b266554..d3a4d73 100644 --- a/public/specs/openrpc-v0.13.1.json +++ b/public/specs/openrpc-v0.13.1.json @@ -21,12 +21,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -36,12 +32,8 @@ "description": "share.Namespace", "summary": "", "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] + "examples": ["AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA="], + "type": ["string"] }, "required": true, "deprecated": false @@ -51,12 +43,8 @@ "description": "blob.Commitment", "summary": "", "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] + "examples": ["Bw=="], + "type": ["string"] }, "required": true, "deprecated": false @@ -86,9 +74,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -110,12 +96,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -125,21 +107,13 @@ "description": "[]share.Namespace", "summary": "", "schema": { - "examples": [ - [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ] - ], + "examples": [["AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA="]], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -185,14 +159,10 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -214,12 +184,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -229,12 +195,8 @@ "description": "share.Namespace", "summary": "", "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] + "examples": ["AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA="], + "type": ["string"] }, "required": true, "deprecated": false @@ -244,12 +206,8 @@ "description": "blob.Commitment", "summary": "", "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] + "examples": ["Bw=="], + "type": ["string"] }, "required": true, "deprecated": false @@ -264,9 +222,7 @@ [ { "end": 4, - "nodes": [ - "dGVzdA==" - ], + "nodes": ["dGVzdA=="], "is_max_namespace_ignored": true } ] @@ -274,14 +230,10 @@ "items": [ { "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -303,12 +255,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -318,12 +266,8 @@ "description": "share.Namespace", "summary": "", "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] + "examples": ["AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA="], + "type": ["string"] }, "required": true, "deprecated": false @@ -337,9 +281,7 @@ [ { "end": 4, - "nodes": [ - "dGVzdA==" - ], + "nodes": ["dGVzdA=="], "is_max_namespace_ignored": true } ] @@ -347,14 +289,10 @@ "items": [ { "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -364,12 +302,8 @@ "description": "blob.Commitment", "summary": "", "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] + "examples": ["Bw=="], + "type": ["string"] }, "required": true, "deprecated": false @@ -380,12 +314,8 @@ "description": "bool", "summary": "", "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + "examples": [true], + "type": ["boolean"] }, "required": true, "deprecated": false @@ -442,14 +372,10 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -459,12 +385,8 @@ "description": "blob.GasPrice", "summary": "", "schema": { - "examples": [ - 0.002 - ], - "type": [ - "number" - ] + "examples": [0.002], + "type": ["number"] }, "required": true, "deprecated": false @@ -475,12 +397,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -603,9 +521,7 @@ "type": "array" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -626,9 +542,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -650,12 +564,8 @@ "description": "fraud.ProofType", "summary": "", "schema": { - "examples": [ - "badencodingv0.1" - ], - "type": [ - "string" - ] + "examples": ["badencodingv0.1"], + "type": ["string"] }, "required": true, "deprecated": false @@ -677,14 +587,10 @@ "items": [ { "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -706,12 +612,8 @@ "description": "fraud.ProofType", "summary": "", "schema": { - "examples": [ - "badencodingv0.1" - ], - "type": [ - "string" - ] + "examples": ["badencodingv0.1"], + "type": ["string"] }, "required": true, "deprecated": false @@ -723,9 +625,7 @@ "summary": "", "schema": { "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -747,12 +647,8 @@ "description": "libhead.Hash", "summary": "", "schema": { - "examples": [ - "07" - ], - "type": [ - "string" - ] + "examples": ["07"], + "type": ["string"] }, "required": true, "deprecated": false @@ -1096,9 +992,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -1120,12 +1014,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -1469,9 +1359,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -1826,9 +1714,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -1838,12 +1724,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -2191,14 +2073,10 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -2553,9 +2431,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -2910,9 +2786,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -2935,9 +2809,7 @@ "summary": "", "schema": { "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3010,9 +2882,7 @@ "type": "integer" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3033,9 +2903,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -3057,12 +2925,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -3406,9 +3270,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3430,21 +3292,13 @@ "description": "[]auth.Permission", "summary": "", "schema": { - "examples": [ - [ - "admin" - ] - ], + "examples": [["admin"]], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -3455,12 +3309,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -3482,12 +3332,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -3498,21 +3344,13 @@ "description": "[]auth.Permission", "summary": "", "schema": { - "examples": [ - [ - "admin" - ] - ], + "examples": [["admin"]], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -3549,9 +3387,7 @@ "type": "integer" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3573,12 +3409,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -3588,12 +3420,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -3603,9 +3431,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -3627,12 +3453,8 @@ "description": "bool", "summary": "", "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + "examples": [true], + "type": ["boolean"] }, "required": true, "deprecated": false @@ -3657,9 +3479,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -3693,9 +3513,7 @@ "type": "integer" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3717,12 +3535,8 @@ "description": "protocol.ID", "summary": "", "schema": { - "examples": [ - "/celestia/mocha/ipfs/bitswap" - ], - "type": [ - "string" - ] + "examples": ["/celestia/mocha/ipfs/bitswap"], + "type": ["string"] }, "required": true, "deprecated": false @@ -3756,9 +3570,7 @@ "type": "integer" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3803,9 +3615,7 @@ "type": "integer" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3830,9 +3640,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -3842,9 +3650,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -3869,9 +3675,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -3881,9 +3685,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -3908,9 +3710,7 @@ "examples": [ { "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + "Addrs": ["/ip6/::1/udp/2121/quic-v1"] } ], "additionalProperties": false, @@ -3925,9 +3725,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3937,9 +3735,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -3964,9 +3760,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -3977,12 +3771,8 @@ "description": "network.Connectedness", "summary": "", "schema": { - "examples": [ - 1 - ], - "type": [ - "integer" - ] + "examples": [1], + "type": ["integer"] }, "required": true, "deprecated": false @@ -4007,9 +3797,7 @@ "examples": [ { "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + "Addrs": ["/ip6/::1/udp/2121/quic-v1"] } ], "additionalProperties": false, @@ -4024,9 +3812,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -4051,9 +3837,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -4063,12 +3847,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -4079,12 +3859,8 @@ "description": "bool", "summary": "", "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + "examples": [true], + "type": ["boolean"] }, "required": true, "deprecated": false @@ -4113,14 +3889,10 @@ ], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -4142,12 +3914,8 @@ "description": "network.Reachability", "summary": "", "schema": { - "examples": [ - 2 - ], - "type": [ - "integer" - ] + "examples": [2], + "type": ["integer"] }, "required": true, "deprecated": false @@ -4172,9 +3940,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -4188,9 +3954,7 @@ "examples": [ { "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + "Addrs": ["/ip6/::1/udp/2121/quic-v1"] } ], "additionalProperties": false, @@ -4205,9 +3969,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -4236,14 +3998,10 @@ ], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -4268,9 +4026,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -4280,12 +4036,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -4295,9 +4047,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -4319,12 +4069,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -4342,14 +4088,10 @@ ], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -4599,9 +4341,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -4626,9 +4366,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -4638,9 +4376,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -4665,9 +4401,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -4677,12 +4411,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -4693,12 +4423,8 @@ "description": "bool", "summary": "", "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + "examples": [true], + "type": ["boolean"] }, "required": true, "deprecated": false @@ -5053,9 +4779,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -5078,9 +4802,7 @@ } ], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -5435,9 +5157,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -5447,12 +5167,8 @@ "description": "int", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -5462,12 +5178,8 @@ "description": "int", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -5478,12 +5190,8 @@ "description": "share.Share", "summary": "", "schema": { - "examples": [ - "Ynl0ZSBhcnJheQ==" - ], - "type": [ - "string" - ] + "examples": ["Ynl0ZSBhcnJheQ=="], + "type": ["string"] }, "required": true, "deprecated": false @@ -5838,9 +5546,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -5850,12 +5556,8 @@ "description": "share.Namespace", "summary": "", "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] + "examples": ["AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA="], + "type": ["string"] }, "required": true, "deprecated": false @@ -5869,9 +5571,7 @@ "examples": [ [ { - "shares": [ - "Ynl0ZSBhcnJheQ==" - ], + "shares": ["Ynl0ZSBhcnJheQ=="], "proof": {} } ] @@ -5894,14 +5594,10 @@ "type": "array" } }, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -6256,9 +5952,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6268,9 +5962,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -6292,13 +5984,9 @@ "description": "state.Address", "summary": "", "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], + "examples": ["celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6336,9 +6024,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6360,13 +6046,9 @@ "description": "state.Address", "summary": "", "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], + "examples": ["celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6393,9 +6075,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6420,9 +6100,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -6435,9 +6113,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -6447,13 +6123,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6463,13 +6135,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6479,12 +6147,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -6810,9 +6474,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6837,9 +6499,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -6849,13 +6509,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6865,13 +6521,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6881,13 +6533,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6897,12 +6545,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -7228,9 +6872,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7255,9 +6897,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -7267,13 +6907,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7283,13 +6919,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7299,12 +6931,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -7630,9 +7258,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7657,9 +7283,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -7723,9 +7347,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7750,9 +7372,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -7765,9 +7385,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -7914,9 +7532,7 @@ "type": "array" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7941,9 +7557,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -8009,9 +7623,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8033,13 +7645,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8049,12 +7657,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -8099,14 +7703,10 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -8432,9 +8032,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8456,12 +8054,8 @@ "description": "state.Tx", "summary": "", "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] + "examples": ["Bw=="], + "type": ["string"] }, "required": true, "deprecated": false @@ -8787,9 +8381,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8811,12 +8403,8 @@ "description": "state.AccAddress", "summary": "", "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "type": [ - "string" - ] + "examples": ["celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h"], + "type": ["string"] }, "required": true, "deprecated": false @@ -8826,13 +8414,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8842,13 +8426,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8858,12 +8438,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -9189,9 +8765,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -9216,9 +8790,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -9228,13 +8800,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -9244,13 +8812,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -9260,12 +8824,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -9591,9 +9151,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -9605,4 +9163,4 @@ } } ] -} \ No newline at end of file +} diff --git a/public/specs/openrpc-v0.13.2.json b/public/specs/openrpc-v0.13.2.json index f0d0608..e6bb90c 100644 --- a/public/specs/openrpc-v0.13.2.json +++ b/public/specs/openrpc-v0.13.2.json @@ -21,12 +21,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -36,12 +32,8 @@ "description": "share.Namespace", "summary": "", "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] + "examples": ["AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA="], + "type": ["string"] }, "required": true, "deprecated": false @@ -51,12 +43,8 @@ "description": "blob.Commitment", "summary": "", "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] + "examples": ["Bw=="], + "type": ["string"] }, "required": true, "deprecated": false @@ -86,9 +74,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -110,12 +96,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -125,21 +107,13 @@ "description": "[]share.Namespace", "summary": "", "schema": { - "examples": [ - [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ] - ], + "examples": [["AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA="]], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -185,14 +159,10 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -214,12 +184,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -229,12 +195,8 @@ "description": "share.Namespace", "summary": "", "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] + "examples": ["AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA="], + "type": ["string"] }, "required": true, "deprecated": false @@ -244,12 +206,8 @@ "description": "blob.Commitment", "summary": "", "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] + "examples": ["Bw=="], + "type": ["string"] }, "required": true, "deprecated": false @@ -264,9 +222,7 @@ [ { "end": 4, - "nodes": [ - "dGVzdA==" - ], + "nodes": ["dGVzdA=="], "is_max_namespace_ignored": true } ] @@ -274,14 +230,10 @@ "items": [ { "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -303,12 +255,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -318,12 +266,8 @@ "description": "share.Namespace", "summary": "", "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] + "examples": ["AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA="], + "type": ["string"] }, "required": true, "deprecated": false @@ -337,9 +281,7 @@ [ { "end": 4, - "nodes": [ - "dGVzdA==" - ], + "nodes": ["dGVzdA=="], "is_max_namespace_ignored": true } ] @@ -347,14 +289,10 @@ "items": [ { "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -364,12 +302,8 @@ "description": "blob.Commitment", "summary": "", "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] + "examples": ["Bw=="], + "type": ["string"] }, "required": true, "deprecated": false @@ -380,12 +314,8 @@ "description": "bool", "summary": "", "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + "examples": [true], + "type": ["boolean"] }, "required": true, "deprecated": false @@ -442,14 +372,10 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -459,12 +385,8 @@ "description": "blob.GasPrice", "summary": "", "schema": { - "examples": [ - 0.002 - ], - "type": [ - "number" - ] + "examples": [0.002], + "type": ["number"] }, "required": true, "deprecated": false @@ -475,12 +397,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -603,9 +521,7 @@ "type": "array" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -626,9 +542,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -650,12 +564,8 @@ "description": "fraud.ProofType", "summary": "", "schema": { - "examples": [ - "badencodingv0.1" - ], - "type": [ - "string" - ] + "examples": ["badencodingv0.1"], + "type": ["string"] }, "required": true, "deprecated": false @@ -677,14 +587,10 @@ "items": [ { "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -706,12 +612,8 @@ "description": "fraud.ProofType", "summary": "", "schema": { - "examples": [ - "badencodingv0.1" - ], - "type": [ - "string" - ] + "examples": ["badencodingv0.1"], + "type": ["string"] }, "required": true, "deprecated": false @@ -723,9 +625,7 @@ "summary": "", "schema": { "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -747,12 +647,8 @@ "description": "libhead.Hash", "summary": "", "schema": { - "examples": [ - "07" - ], - "type": [ - "string" - ] + "examples": ["07"], + "type": ["string"] }, "required": true, "deprecated": false @@ -1096,9 +992,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -1120,12 +1014,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -1469,9 +1359,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -1826,9 +1714,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -1838,12 +1724,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -2191,14 +2073,10 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -2553,9 +2431,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -2910,9 +2786,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -2935,9 +2809,7 @@ "summary": "", "schema": { "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3010,9 +2882,7 @@ "type": "integer" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3033,9 +2903,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -3057,12 +2925,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -3406,9 +3270,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3430,21 +3292,13 @@ "description": "[]auth.Permission", "summary": "", "schema": { - "examples": [ - [ - "admin" - ] - ], + "examples": [["admin"]], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -3455,12 +3309,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -3482,12 +3332,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -3498,21 +3344,13 @@ "description": "[]auth.Permission", "summary": "", "schema": { - "examples": [ - [ - "admin" - ] - ], + "examples": [["admin"]], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -3549,9 +3387,7 @@ "type": "integer" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3573,12 +3409,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -3588,12 +3420,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -3603,9 +3431,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -3627,12 +3453,8 @@ "description": "bool", "summary": "", "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + "examples": [true], + "type": ["boolean"] }, "required": true, "deprecated": false @@ -3657,9 +3479,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -3693,9 +3513,7 @@ "type": "integer" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3717,12 +3535,8 @@ "description": "protocol.ID", "summary": "", "schema": { - "examples": [ - "/celestia/mocha/ipfs/bitswap" - ], - "type": [ - "string" - ] + "examples": ["/celestia/mocha/ipfs/bitswap"], + "type": ["string"] }, "required": true, "deprecated": false @@ -3756,9 +3570,7 @@ "type": "integer" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3803,9 +3615,7 @@ "type": "integer" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3830,9 +3640,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -3842,9 +3650,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -3869,9 +3675,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -3881,9 +3685,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -3908,9 +3710,7 @@ "examples": [ { "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + "Addrs": ["/ip6/::1/udp/2121/quic-v1"] } ], "additionalProperties": false, @@ -3925,9 +3725,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -3937,9 +3735,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -3964,9 +3760,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -3977,12 +3771,8 @@ "description": "network.Connectedness", "summary": "", "schema": { - "examples": [ - 1 - ], - "type": [ - "integer" - ] + "examples": [1], + "type": ["integer"] }, "required": true, "deprecated": false @@ -4007,9 +3797,7 @@ "examples": [ { "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + "Addrs": ["/ip6/::1/udp/2121/quic-v1"] } ], "additionalProperties": false, @@ -4024,9 +3812,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -4051,9 +3837,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -4063,12 +3847,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -4079,12 +3859,8 @@ "description": "bool", "summary": "", "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + "examples": [true], + "type": ["boolean"] }, "required": true, "deprecated": false @@ -4113,14 +3889,10 @@ ], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -4142,12 +3914,8 @@ "description": "network.Reachability", "summary": "", "schema": { - "examples": [ - 2 - ], - "type": [ - "integer" - ] + "examples": [2], + "type": ["integer"] }, "required": true, "deprecated": false @@ -4172,9 +3940,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -4188,9 +3954,7 @@ "examples": [ { "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + "Addrs": ["/ip6/::1/udp/2121/quic-v1"] } ], "additionalProperties": false, @@ -4205,9 +3969,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -4236,14 +3998,10 @@ ], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -4268,9 +4026,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -4280,12 +4036,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -4295,9 +4047,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -4319,12 +4069,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -4342,14 +4088,10 @@ ], "items": [ { - "type": [ - "string" - ] + "type": ["string"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -4599,9 +4341,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -4626,9 +4366,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -4638,9 +4376,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -4665,9 +4401,7 @@ "examples": [ "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -4677,12 +4411,8 @@ "description": "string", "summary": "", "schema": { - "examples": [ - "string value" - ], - "type": [ - "string" - ] + "examples": ["string value"], + "type": ["string"] }, "required": true, "deprecated": false @@ -4693,12 +4423,8 @@ "description": "bool", "summary": "", "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + "examples": [true], + "type": ["boolean"] }, "required": true, "deprecated": false @@ -5053,9 +4779,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -5078,9 +4802,7 @@ } ], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -5435,9 +5157,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -5447,12 +5167,8 @@ "description": "int", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -5462,12 +5178,8 @@ "description": "int", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -5478,12 +5190,8 @@ "description": "share.Share", "summary": "", "schema": { - "examples": [ - "Ynl0ZSBhcnJheQ==" - ], - "type": [ - "string" - ] + "examples": ["Ynl0ZSBhcnJheQ=="], + "type": ["string"] }, "required": true, "deprecated": false @@ -5838,9 +5546,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -5850,12 +5556,8 @@ "description": "share.Namespace", "summary": "", "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] + "examples": ["AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA="], + "type": ["string"] }, "required": true, "deprecated": false @@ -5869,9 +5571,7 @@ "examples": [ [ { - "shares": [ - "Ynl0ZSBhcnJheQ==" - ], + "shares": ["Ynl0ZSBhcnJheQ=="], "proof": {} } ] @@ -5894,14 +5594,10 @@ "type": "array" } }, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -6256,9 +5952,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6268,9 +5962,7 @@ "name": "Null", "description": "Null", "schema": { - "type": [ - "null" - ] + "type": ["null"] }, "required": true, "deprecated": false @@ -6292,13 +5984,9 @@ "description": "state.Address", "summary": "", "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], + "examples": ["celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6336,9 +6024,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6360,13 +6046,9 @@ "description": "state.Address", "summary": "", "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], + "examples": ["celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6393,9 +6075,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6420,9 +6100,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -6435,9 +6113,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -6447,13 +6123,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6463,13 +6135,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6479,12 +6147,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -6810,9 +6474,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6837,9 +6499,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -6849,13 +6509,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6865,13 +6521,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6881,13 +6533,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -6897,12 +6545,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -7228,9 +6872,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7255,9 +6897,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -7267,13 +6907,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7283,13 +6919,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7299,12 +6931,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -7630,9 +7258,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7657,9 +7283,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -7723,9 +7347,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7750,9 +7372,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -7765,9 +7385,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -7914,9 +7532,7 @@ "type": "array" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -7941,9 +7557,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -8009,9 +7623,7 @@ "type": "object" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8033,13 +7645,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8049,12 +7657,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -8099,14 +7703,10 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] } ], - "type": [ - "array" - ] + "type": ["array"] }, "required": true, "deprecated": false @@ -8432,9 +8032,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8456,12 +8054,8 @@ "description": "state.Tx", "summary": "", "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] + "examples": ["Bw=="], + "type": ["string"] }, "required": true, "deprecated": false @@ -8787,9 +8381,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8811,12 +8403,8 @@ "description": "state.AccAddress", "summary": "", "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "type": [ - "string" - ] + "examples": ["celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h"], + "type": ["string"] }, "required": true, "deprecated": false @@ -8826,13 +8414,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8842,13 +8426,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -8858,12 +8438,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -9189,9 +8765,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -9216,9 +8790,7 @@ "examples": [ "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "type": [ - "string" - ] + "type": ["string"] }, "required": true, "deprecated": false @@ -9228,13 +8800,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -9244,13 +8812,9 @@ "description": "state.Int", "summary": "", "schema": { - "examples": [ - "42" - ], + "examples": ["42"], "additionalProperties": false, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -9260,12 +8824,8 @@ "description": "uint64", "summary": "", "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "examples": [42], + "type": ["integer"] }, "required": true, "deprecated": false @@ -9591,9 +9151,7 @@ "type": "string" } }, - "type": [ - "object" - ] + "type": ["object"] }, "required": true, "deprecated": false @@ -9605,4 +9163,4 @@ } } ] -} \ No newline at end of file +} diff --git a/public/specs/openrpc-v0.13.3.json b/public/specs/openrpc-v0.13.3.json index 24f00f4..02cddce 100644 --- a/public/specs/openrpc-v0.13.3.json +++ b/public/specs/openrpc-v0.13.3.json @@ -1,9608 +1,9166 @@ { - "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.13.3" - }, - "externalDocs": { - "description": "Celestia Node GitHub", - "url": "https://github.com/celestiaorg/celestia-node" + "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.13.3" + }, + "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=", + "index": -1 + } + ], + "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" + } }, - "methods": [ + { + "name": "blob.GetAll", + "description": "Auth level: read", + "summary": "GetAll returns all blobs at the given height under the given namespaces.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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=", + "index": -1 + } + ] + ], + "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": [ + [ + { + "end": 4, + "nodes": ["dGVzdA=="], + "is_max_namespace_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": [ + [ { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, + "end": 4, + "nodes": ["dGVzdA=="], + "is_max_namespace_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": [ + [ { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", + "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", + "share_version": 0, + "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=", + "index": -1 } + ] ], - "result": { - "name": "*blob.Blob", - "description": "*blob.Blob", - "summary": "", - "schema": { - "examples": [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=", - "index": -1 - } - ], + "items": [ + { + "additionalProperties": false, + "properties": { + "blob": { "additionalProperties": false, "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "blob": {}, + "commitment": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } }, - "type": [ - "object" - ] + "type": "object" + }, + "commitment": { + "media": { + "binaryEncoding": "base64" + }, + "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/blob/blob.go#L45" - } + "type": ["object"] + } + ], + "type": ["array"] + }, + "required": true, + "deprecated": false }, { - "name": "blob.GetAll", - "description": "Auth level: read", - "summary": "GetAll returns all blobs at the given height under the given namespaces.\n", - "paramStructure": "by-position", - "params": [ + "name": "gasPrice", + "description": "blob.GasPrice", + "summary": "", + "schema": { + "examples": [0.002], + "type": ["number"] + }, + "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": "das.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": [ { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1093, + "from": 1002, + "to": 1101 }, { - "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=", - "index": -1 - } - ] - ], - "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" - ] + "job_type": "catchup", + "current": 33343, + "from": 33302, + "to": 33401 }, - "required": true, - "deprecated": false - }, - "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 + "job_type": "catchup", + "current": 34047, + "from": 34002, + "to": 34101 }, { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1327, + "from": 1302, + "to": 1401 }, { - "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": [ - [ - { - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "is_max_namespace_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] + "job_type": "catchup", + "current": 1197, + "from": 1102, + "to": 1201 }, - "required": true, - "deprecated": false + { + "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" }, - "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" + "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": "das.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": "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": "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: read", + "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: read", + "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" }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "chain_id": "arabica-6", + "height": "67374", + "time": "2023-02-25T12:10:28.067566292Z", + "last_block_id": { + "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", + "parts": { + "total": 1, + "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" + } }, - { - "name": "proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "is_max_namespace_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] + "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=" }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "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" } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + }, + "commit": { + "height": 67374, + "round": 0, + "block_id": { + "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", + "parts": { + "total": 1, + "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" + } }, - "required": true, - "deprecated": false - }, - "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" + "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" + ] + } } - }, - { - "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=", - "index": -1 - } - ] - ], - "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" - ] + ], + "additionalProperties": false, + "properties": { + "commit": { + "additionalProperties": false, + "properties": { + "block_id": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" }, - "required": true, - "deprecated": false + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "total": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" }, - { - "name": "gasPrice", - "description": "blob.GasPrice", - "summary": "", - "schema": { - "examples": [ - 0.002 - ], - "type": [ - "number" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "uint64", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "height": { + "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": "das.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 - } - ], + "round": { + "type": "integer" + }, + "signatures": { + "items": { "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" - } + "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": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" }, - "required": true, - "deprecated": false + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" + } + }, + "type": "object" }, - "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": "das.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" - ] + "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" }, - "required": true, - "deprecated": false + "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" }, - "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" + "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: read", + "summary": "GetByHeight returns the ExtendedHeader at the given height if it is\ncurrently available.\n", + "paramStructure": "by-position", + "params": [ { - "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 + "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" } - ], - "result": { - "name": "[]Proof", - "description": "[]Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "proof_type": "badencodingv0.1", - "data": "ChJiYWQgZW5jb2RpbmcgcHJvb2YQKg==" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] + }, + "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": [ - "array" - ] + }, + "type": "object" + } + }, + "type": "object" + }, + "height": { + "type": "integer" }, - "required": true, - "deprecated": false + "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" }, - "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: read", - "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 + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" + }, + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" } - ], - "result": { - "name": "\u003c-chan *Proof", - "description": "\u003c-chan *Proof", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] + }, + "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" }, - "required": true, - "deprecated": false + "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" }, - "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" + "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.GetRangeByHeight", + "description": "Auth level: read", + "summary": "GetRangeByHeight 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": "header.GetByHash", - "description": "Auth level: read", - "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 + "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" + ] } + } ], - "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + }, + "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": "object" + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "name": "header.GetByHeight", - "description": "Auth level: read", - "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 + "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" + ] } - ], - "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==" - } - ] + } + ] + ], + "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" }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] + "total": { + "type": "integer" } + }, + "type": "object" } - ], - "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" + }, + "height": { + "type": "integer" + }, + "round": { + "type": "integer" + }, + "signatures": { + "items": { + "additionalProperties": false, + "properties": { + "block_id_flag": { + "type": "integer" + }, + "signature": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" }, - "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": "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" }, - "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" - } + "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": "object" + "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": "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" }, - "required": true, - "deprecated": false + "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: read", + "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: read", + "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" }, - "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" + "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": "header.GetRangeByHeight", - "description": "Auth level: read", - "summary": "GetRangeByHeight 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" - ] + "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=" }, - "required": true, - "deprecated": false + "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" + } }, - { - "name": "to", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "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" } - ], - "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": "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": [ - "array" - ] + }, + "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#L57" + } + }, + { + "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#L53" + } + }, + { + "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#L41" + } + }, + { + "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#L49" + } + }, + { + "name": "node.Ready", + "description": "Auth level: read", + "summary": "Ready returns true once the node's RPC is ready to accept requests.\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/node/node.go#L45" + } + }, + { + "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 }, - "required": true, - "deprecated": false + "type": "array" + }, + "ID": { + "type": "string" + } }, - "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" + "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$\b\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": "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" - ] - } - } - ], + "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: read", + "summary": "GetEDS gets the full EDS identified by the given extended header.\n", + "paramStructure": "by-position", + "params": [ + { + "name": "header", + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } + }, + "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#L91" - } - }, - { - "name": "header.NetworkHead", - "description": "Auth level: read", - "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" - ] - } - } - ], + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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": "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" + "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#L75" + } + }, + { + "name": "share.GetShare", + "description": "Auth level: read", + "summary": "GetShare gets a Share by coordinates in EDS.\n", + "paramStructure": "by-position", + "params": [ { - "name": "header.Subscribe", - "description": "Auth level: read", - "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" - ] + "name": "header", + "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" }, - "required": true, - "deprecated": false - }, - "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" - } - ], + "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": { - "end": { - "format": "date-time", - "type": "string" - }, - "error": { - "type": "string" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "from_hash": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { "media": { - "binaryEncoding": "base64" + "binaryEncoding": "base64" }, "type": "string" - }, - "from_height": { - "type": "integer" - }, - "height": { + }, + "total": { "type": "integer" + } }, - "id": { - "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" }, - "start": { - "format": "date-time", - "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" }, - "to_hash": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { "media": { - "binaryEncoding": "base64" + "binaryEncoding": "base64" }, "type": "string" - }, - "to_height": { + }, + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "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": "row", + "description": "int", + "summary": "", + "schema": { + "examples": [42], + "type": ["integer"] + }, + "required": true, + "deprecated": false }, { - "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 + "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#L71" + } + }, + { + "name": "share.GetSharesByNamespace", + "description": "Auth level: read", + "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": "header", + "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" + ] } + } ], - "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } + }, + "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#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" - ] + "type": "object" + }, + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" }, - "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#L57" - } - }, - { - "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" - ] + "type": "array" + }, + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "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#L53" - } - }, - { - "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" - } - ], + "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": { - "api_version": { - "type": "string" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "total": { "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/node/node.go#L41" - } - }, - { - "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" - ] + "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" + } }, - "required": true, - "deprecated": false + "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" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "name": "node.Ready", - "description": "Auth level: read", - "summary": "Ready returns true once the node's RPC is ready to accept requests.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + "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": {} + } + ] + ], + "items": [ + { + "additionalProperties": false, + "properties": { + "proof": { + "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/node/node.go#L45" + "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#L79" + } + }, + { + "name": "share.SharesAvailable", + "description": "Auth level: read", + "summary": "SharesAvailable subjectively validates if Shares committed to the given\nExtendedHeader are available on the Network.\n", + "paramStructure": "by-position", + "params": [ { - "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 + "name": "header", + "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" + ] } + } ], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], + "additionalProperties": false, + "properties": { + "commit": { + "additionalProperties": false, + "properties": { + "block_id": { "additionalProperties": false, "properties": { - "RateIn": { - "type": "number" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "RateOut": { - "type": "number" - }, - "TotalIn": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "total": { "type": "integer" + } }, - "TotalOut": { - "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": [ - "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/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 - } - ], + "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": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "TotalIn": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "total": { "type": "integer" + } }, - "TotalOut": { - "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } + }, + "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#L67" + } + }, + { + "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#L256" + } + }, + { + "name": "state.BalanceForAddress", + "description": "Auth level: read", + "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" }, - "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" + "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#L170" + } + }, + { + "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": "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": [ + "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" + }, { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 + "key": "amount", + "value": "30utia" } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "RateOut": { - "type": "number" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "TotalIn": { - "type": "integer" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "TotalOut": { - "type": "integer" + { + "key": "module", + "value": "bank" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + ] + } + ], + "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" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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": { + "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": [ - "object" - ] + "type": { + "type": "string" + } + }, + "type": "object" }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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" + "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#L208" + } + }, + { + "name": "state.CancelUnbondingDelegation", + "description": "Auth level: write", + "summary": "CancelUnbondingDelegation cancels a user's pending undelegation from a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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 - } + "name": "valAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "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" - } + "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": "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": [ + "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": [ { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "ID": { - "type": "string" + { + "key": "amount", + "value": "30utia" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + { + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "result": { - "name": "peer.AddrInfo", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + ] + } + ], + "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" } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true + }, + "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": "array" + "type": "object" + }, + "type": "array" }, - "ID": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "type": [ - "object" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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#L197" + } + }, + { + "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": "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 - } + "name": "delAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "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" - } + "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": "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": "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "type": [ - "string" - ] + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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": [ + ] + }, + { + "type": "coin_spent", + "attributes": [ { - "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$\b\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 - } - } + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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" + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "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" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "System": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "Transient": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, { - "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" - ] + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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: read", - "summary": "GetEDS gets the full EDS identified by the given extended header.\n", - "paramStructure": "by-position", - "params": [ { - "name": "header", - "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" - ] + "type": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "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" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L75" - } - }, - { - "name": "share.GetShare", - "description": "Auth level: read", - "summary": "GetShare gets a Share by coordinates in EDS.\n", - "paramStructure": "by-position", - "params": [ { - "name": "header", - "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" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "row", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "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" - ] + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L71" - } - }, - { - "name": "share.GetSharesByNamespace", - "description": "Auth level: read", - "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": "header", - "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" - ] + "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" }, - "required": true, - "deprecated": false + "type": "array" + }, + "type": { + "type": "string" + } }, - { - "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": {} - } - ] - ], - "items": [ - { + "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": { - "proof": { - "additionalProperties": false, - "type": "object" - }, - "shares": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, - "type": [ - "object" - ] + "type": "object" + }, + "type": "array" + }, + "type": { + "type": "string" } - ], - "type": [ - "array" - ] + }, + "type": "object" + }, + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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#L79" - } - }, - { - "name": "share.SharesAvailable", - "description": "Auth level: read", - "summary": "SharesAvailable subjectively validates if Shares committed to the given\nExtendedHeader are available on the Network.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "header", - "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 - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L67" + "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#L228" + } + }, + { + "name": "state.QueryDelegation", + "description": "Auth level: read", + "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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" - ] + "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" }, - "required": true, - "deprecated": false - }, - "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" + "balance": { + "denom": "string value", + "amount": "42" + } + } } - }, - { - "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" - } + ], + "additionalProperties": false, + "properties": { + "delegation_response": { + "additionalProperties": false, + "properties": { + "balance": { + "additionalProperties": false, + "properties": { + "amount": { + "additionalProperties": false, + "type": "object" }, - "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#L256" + "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#L238" + } + }, + { + "name": "state.QueryRedelegations", + "description": "Auth level: read", + "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": "state.BalanceForAddress", - "description": "Auth level: read", - "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": "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": [ { - "name": "addr", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "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" + } + ] } - ], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "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": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } + "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" + } }, - "required": true, - "deprecated": false - }, - "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" + "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#L249" + } + }, + { + "name": "state.QueryUnbonding", + "description": "Auth level: read", + "summary": "QueryUnbonding retrieves the unbonding status between a delegator and a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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" }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], + "entries": { + "items": { + "additionalProperties": false, + "properties": { + "balance": { "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], + "type": "object" + }, + "completion_time": { + "format": "date-time", + "type": "string" + }, + "creation_height": { + "type": "integer" + }, + "initial_balance": { "additionalProperties": false, - "type": [ - "object" - ] + "type": "object" + } }, - "required": true, - "deprecated": false + "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#L242" + } + }, + { + "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": [ + [ { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", + "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", + "share_version": 0, + "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=", + "index": -1 } + ] ], - "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 - } - ] - } - ] - } - ], + "items": [ + { + "additionalProperties": false, + "properties": { + "blob": { "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" + "blob": {}, + "commitment": { + "media": { + "binaryEncoding": "base64" }, - "height": { - "type": "integer" + "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" }, - "info": { - "type": "string" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "raw_log": { - "type": "string" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "timestamp": { - "type": "string" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "txhash": { - "type": "string" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L208" - } - }, - { - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "height", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L197" + "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.SubmitTx", + "description": "Auth level: read", + "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": "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": "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": [ { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L228" + "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#L184" + } + }, + { + "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": "state.QueryDelegation", - "description": "Auth level: read", - "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ + "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "delegation_response": { - "delegation": { - "delegator_address": "string value", - "validator_address": "string value", - "shares": "0" - }, - "balance": { - "denom": "string value", - "amount": "42" - } - } + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" + }, + { + "key": "amount", + "value": "30utia" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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#L238" - } - }, - { - "name": "state.QueryRedelegations", - "description": "Auth level: read", - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "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": "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 }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L249" - } - }, - { - "name": "state.QueryUnbonding", - "description": "Auth level: read", - "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": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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.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" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "blobs", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=", - "index": -1 - } - ] - ], - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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#L174" + } + }, + { + "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": "state.SubmitTx", - "description": "Auth level: read", - "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 - } + "name": "delAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ + "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": [ { - "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" + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "info": { - "type": "string" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "raw_log": { - "type": "string" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "timestamp": { - "type": "string" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "txhash": { - "type": "string" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L184" - } - }, - { - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, { - "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": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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.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 + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L218" + "txhash": { + "type": "string" } - } - ] -} \ No newline at end of file + }, + "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#L218" + } + } + ] +} diff --git a/public/specs/openrpc-v0.13.4.json b/public/specs/openrpc-v0.13.4.json index 5760331..08638d3 100644 --- a/public/specs/openrpc-v0.13.4.json +++ b/public/specs/openrpc-v0.13.4.json @@ -1,9608 +1,9166 @@ { - "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.13.4" - }, - "externalDocs": { - "description": "Celestia Node GitHub", - "url": "https://github.com/celestiaorg/celestia-node" + "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.13.4" + }, + "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=", + "index": -1 + } + ], + "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" + } }, - "methods": [ + { + "name": "blob.GetAll", + "description": "Auth level: read", + "summary": "GetAll returns all blobs at the given height under the given namespaces.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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=", + "index": -1 + } + ] + ], + "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": [ + [ + { + "end": 4, + "nodes": ["dGVzdA=="], + "is_max_namespace_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": [ + [ { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, + "end": 4, + "nodes": ["dGVzdA=="], + "is_max_namespace_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": [ + [ { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", + "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", + "share_version": 0, + "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=", + "index": -1 } + ] ], - "result": { - "name": "*blob.Blob", - "description": "*blob.Blob", - "summary": "", - "schema": { - "examples": [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=", - "index": -1 - } - ], + "items": [ + { + "additionalProperties": false, + "properties": { + "blob": { "additionalProperties": false, "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "blob": {}, + "commitment": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } }, - "type": [ - "object" - ] + "type": "object" + }, + "commitment": { + "media": { + "binaryEncoding": "base64" + }, + "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/blob/blob.go#L45" - } + "type": ["object"] + } + ], + "type": ["array"] + }, + "required": true, + "deprecated": false }, { - "name": "blob.GetAll", - "description": "Auth level: read", - "summary": "GetAll returns all blobs at the given height under the given namespaces.\n", - "paramStructure": "by-position", - "params": [ + "name": "gasPrice", + "description": "blob.GasPrice", + "summary": "", + "schema": { + "examples": [0.002], + "type": ["number"] + }, + "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": "das.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": [ { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1093, + "from": 1002, + "to": 1101 }, { - "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=", - "index": -1 - } - ] - ], - "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" - ] + "job_type": "catchup", + "current": 33343, + "from": 33302, + "to": 33401 }, - "required": true, - "deprecated": false - }, - "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 + "job_type": "catchup", + "current": 34047, + "from": 34002, + "to": 34101 }, { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1327, + "from": 1302, + "to": 1401 }, { - "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": [ - [ - { - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "is_max_namespace_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] + "job_type": "catchup", + "current": 1197, + "from": 1102, + "to": 1201 }, - "required": true, - "deprecated": false + { + "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" }, - "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" + "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": "das.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": "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": "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: read", + "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: read", + "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" }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "chain_id": "arabica-6", + "height": "67374", + "time": "2023-02-25T12:10:28.067566292Z", + "last_block_id": { + "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", + "parts": { + "total": 1, + "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" + } }, - { - "name": "proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "is_max_namespace_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] + "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=" }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "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" } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + }, + "commit": { + "height": 67374, + "round": 0, + "block_id": { + "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", + "parts": { + "total": 1, + "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" + } }, - "required": true, - "deprecated": false - }, - "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" + "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" + ] + } } - }, - { - "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=", - "index": -1 - } - ] - ], - "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" - ] + ], + "additionalProperties": false, + "properties": { + "commit": { + "additionalProperties": false, + "properties": { + "block_id": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" }, - "required": true, - "deprecated": false + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "total": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" }, - { - "name": "gasPrice", - "description": "blob.GasPrice", - "summary": "", - "schema": { - "examples": [ - 0.002 - ], - "type": [ - "number" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "uint64", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "height": { + "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": "das.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 - } - ], + "round": { + "type": "integer" + }, + "signatures": { + "items": { "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" - } + "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": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" }, - "required": true, - "deprecated": false + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" + } + }, + "type": "object" }, - "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": "das.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" - ] + "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" }, - "required": true, - "deprecated": false + "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" }, - "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" + "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: read", + "summary": "GetByHeight returns the ExtendedHeader at the given height if it is\ncurrently available.\n", + "paramStructure": "by-position", + "params": [ { - "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 + "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" } - ], - "result": { - "name": "[]Proof", - "description": "[]Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "proof_type": "badencodingv0.1", - "data": "ChJiYWQgZW5jb2RpbmcgcHJvb2YQKg==" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] + }, + "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": [ - "array" - ] + }, + "type": "object" + } + }, + "type": "object" + }, + "height": { + "type": "integer" }, - "required": true, - "deprecated": false + "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" }, - "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: read", - "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 + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" + }, + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" } - ], - "result": { - "name": "\u003c-chan *Proof", - "description": "\u003c-chan *Proof", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] + }, + "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" }, - "required": true, - "deprecated": false + "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" }, - "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" + "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.GetRangeByHeight", + "description": "Auth level: read", + "summary": "GetRangeByHeight 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": "header.GetByHash", - "description": "Auth level: read", - "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 + "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" + ] } + } ], - "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + }, + "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": "object" + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "name": "header.GetByHeight", - "description": "Auth level: read", - "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 + "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" + ] } - ], - "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==" - } - ] + } + ] + ], + "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" }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] + "total": { + "type": "integer" } + }, + "type": "object" } - ], - "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" + }, + "height": { + "type": "integer" + }, + "round": { + "type": "integer" + }, + "signatures": { + "items": { + "additionalProperties": false, + "properties": { + "block_id_flag": { + "type": "integer" + }, + "signature": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" }, - "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": "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" }, - "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" - } + "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": "object" + "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": "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" }, - "required": true, - "deprecated": false + "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: read", + "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: read", + "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" }, - "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" + "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": "header.GetRangeByHeight", - "description": "Auth level: read", - "summary": "GetRangeByHeight 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" - ] + "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=" }, - "required": true, - "deprecated": false + "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" + } }, - { - "name": "to", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "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" } - ], - "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": "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": [ - "array" - ] + }, + "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#L57" + } + }, + { + "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#L53" + } + }, + { + "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#L41" + } + }, + { + "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#L49" + } + }, + { + "name": "node.Ready", + "description": "Auth level: read", + "summary": "Ready returns true once the node's RPC is ready to accept requests.\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/node/node.go#L45" + } + }, + { + "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 }, - "required": true, - "deprecated": false + "type": "array" + }, + "ID": { + "type": "string" + } }, - "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" + "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$\b\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": "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" - ] - } - } - ], + "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: read", + "summary": "GetEDS gets the full EDS identified by the given extended header.\n", + "paramStructure": "by-position", + "params": [ + { + "name": "header", + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } + }, + "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#L91" - } - }, - { - "name": "header.NetworkHead", - "description": "Auth level: read", - "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" - ] - } - } - ], + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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": "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" + "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#L75" + } + }, + { + "name": "share.GetShare", + "description": "Auth level: read", + "summary": "GetShare gets a Share by coordinates in EDS.\n", + "paramStructure": "by-position", + "params": [ { - "name": "header.Subscribe", - "description": "Auth level: read", - "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" - ] + "name": "header", + "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" }, - "required": true, - "deprecated": false - }, - "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" - } - ], + "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": { - "end": { - "format": "date-time", - "type": "string" - }, - "error": { - "type": "string" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "from_hash": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { "media": { - "binaryEncoding": "base64" + "binaryEncoding": "base64" }, "type": "string" - }, - "from_height": { - "type": "integer" - }, - "height": { + }, + "total": { "type": "integer" + } }, - "id": { - "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" }, - "start": { - "format": "date-time", - "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" }, - "to_hash": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { "media": { - "binaryEncoding": "base64" + "binaryEncoding": "base64" }, "type": "string" - }, - "to_height": { + }, + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "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": "row", + "description": "int", + "summary": "", + "schema": { + "examples": [42], + "type": ["integer"] + }, + "required": true, + "deprecated": false }, { - "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 + "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#L71" + } + }, + { + "name": "share.GetSharesByNamespace", + "description": "Auth level: read", + "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": "header", + "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" + ] } + } ], - "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } + }, + "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#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" - ] + "type": "object" + }, + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" }, - "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#L57" - } - }, - { - "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" - ] + "type": "array" + }, + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "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#L53" - } - }, - { - "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" - } - ], + "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": { - "api_version": { - "type": "string" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "total": { "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/node/node.go#L41" - } - }, - { - "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" - ] + "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" + } }, - "required": true, - "deprecated": false + "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" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "name": "node.Ready", - "description": "Auth level: read", - "summary": "Ready returns true once the node's RPC is ready to accept requests.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + "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": {} + } + ] + ], + "items": [ + { + "additionalProperties": false, + "properties": { + "proof": { + "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/node/node.go#L45" + "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#L79" + } + }, + { + "name": "share.SharesAvailable", + "description": "Auth level: read", + "summary": "SharesAvailable subjectively validates if Shares committed to the given\nExtendedHeader are available on the Network.\n", + "paramStructure": "by-position", + "params": [ { - "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 + "name": "header", + "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" + ] } + } ], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], + "additionalProperties": false, + "properties": { + "commit": { + "additionalProperties": false, + "properties": { + "block_id": { "additionalProperties": false, "properties": { - "RateIn": { - "type": "number" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "RateOut": { - "type": "number" - }, - "TotalIn": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "total": { "type": "integer" + } }, - "TotalOut": { - "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": [ - "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/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 - } - ], + "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": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "TotalIn": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "total": { "type": "integer" + } }, - "TotalOut": { - "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } + }, + "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#L67" + } + }, + { + "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#L256" + } + }, + { + "name": "state.BalanceForAddress", + "description": "Auth level: read", + "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" }, - "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" + "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#L170" + } + }, + { + "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": "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": [ + "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" + }, { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 + "key": "amount", + "value": "30utia" } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "RateOut": { - "type": "number" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "TotalIn": { - "type": "integer" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "TotalOut": { - "type": "integer" + { + "key": "module", + "value": "bank" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + ] + } + ], + "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" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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": { + "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": [ - "object" - ] + "type": { + "type": "string" + } + }, + "type": "object" }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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" + "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#L208" + } + }, + { + "name": "state.CancelUnbondingDelegation", + "description": "Auth level: write", + "summary": "CancelUnbondingDelegation cancels a user's pending undelegation from a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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 - } + "name": "valAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "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" - } + "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": "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": [ + "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": [ { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "ID": { - "type": "string" + { + "key": "amount", + "value": "30utia" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + { + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "result": { - "name": "peer.AddrInfo", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + ] + } + ], + "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" } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true + }, + "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": "array" + "type": "object" + }, + "type": "array" }, - "ID": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "type": [ - "object" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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#L197" + } + }, + { + "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": "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 - } + "name": "delAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "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" - } + "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": "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": "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "type": [ - "string" - ] + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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": [ + ] + }, + { + "type": "coin_spent", + "attributes": [ { - "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$\b\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 - } - } + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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" + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "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" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "System": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "Transient": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, { - "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" - ] + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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: read", - "summary": "GetEDS gets the full EDS identified by the given extended header.\n", - "paramStructure": "by-position", - "params": [ { - "name": "header", - "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" - ] + "type": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "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" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L75" - } - }, - { - "name": "share.GetShare", - "description": "Auth level: read", - "summary": "GetShare gets a Share by coordinates in EDS.\n", - "paramStructure": "by-position", - "params": [ { - "name": "header", - "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" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "row", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "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" - ] + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L71" - } - }, - { - "name": "share.GetSharesByNamespace", - "description": "Auth level: read", - "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": "header", - "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" - ] + "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" }, - "required": true, - "deprecated": false + "type": "array" + }, + "type": { + "type": "string" + } }, - { - "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": {} - } - ] - ], - "items": [ - { + "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": { - "proof": { - "additionalProperties": false, - "type": "object" - }, - "shares": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, - "type": [ - "object" - ] + "type": "object" + }, + "type": "array" + }, + "type": { + "type": "string" } - ], - "type": [ - "array" - ] + }, + "type": "object" + }, + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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#L79" - } - }, - { - "name": "share.SharesAvailable", - "description": "Auth level: read", - "summary": "SharesAvailable subjectively validates if Shares committed to the given\nExtendedHeader are available on the Network.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "header", - "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 - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L67" + "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#L228" + } + }, + { + "name": "state.QueryDelegation", + "description": "Auth level: read", + "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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" - ] + "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" }, - "required": true, - "deprecated": false - }, - "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" + "balance": { + "denom": "string value", + "amount": "42" + } + } } - }, - { - "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" - } + ], + "additionalProperties": false, + "properties": { + "delegation_response": { + "additionalProperties": false, + "properties": { + "balance": { + "additionalProperties": false, + "properties": { + "amount": { + "additionalProperties": false, + "type": "object" }, - "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#L256" + "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#L238" + } + }, + { + "name": "state.QueryRedelegations", + "description": "Auth level: read", + "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": "state.BalanceForAddress", - "description": "Auth level: read", - "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": "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": [ { - "name": "addr", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "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" + } + ] } - ], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "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": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } + "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" + } }, - "required": true, - "deprecated": false - }, - "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" + "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#L249" + } + }, + { + "name": "state.QueryUnbonding", + "description": "Auth level: read", + "summary": "QueryUnbonding retrieves the unbonding status between a delegator and a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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" }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], + "entries": { + "items": { + "additionalProperties": false, + "properties": { + "balance": { "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], + "type": "object" + }, + "completion_time": { + "format": "date-time", + "type": "string" + }, + "creation_height": { + "type": "integer" + }, + "initial_balance": { "additionalProperties": false, - "type": [ - "object" - ] + "type": "object" + } }, - "required": true, - "deprecated": false + "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#L242" + } + }, + { + "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": [ + [ { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", + "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", + "share_version": 0, + "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=", + "index": -1 } + ] ], - "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 - } - ] - } - ] - } - ], + "items": [ + { + "additionalProperties": false, + "properties": { + "blob": { "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" + "blob": {}, + "commitment": { + "media": { + "binaryEncoding": "base64" }, - "height": { - "type": "integer" + "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" }, - "info": { - "type": "string" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "raw_log": { - "type": "string" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "timestamp": { - "type": "string" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "txhash": { - "type": "string" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L208" - } - }, - { - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "height", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L197" + "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.SubmitTx", + "description": "Auth level: read", + "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": "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": "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": [ { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L228" + "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#L184" + } + }, + { + "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": "state.QueryDelegation", - "description": "Auth level: read", - "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ + "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "delegation_response": { - "delegation": { - "delegator_address": "string value", - "validator_address": "string value", - "shares": "0" - }, - "balance": { - "denom": "string value", - "amount": "42" - } - } + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" + }, + { + "key": "amount", + "value": "30utia" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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#L238" - } - }, - { - "name": "state.QueryRedelegations", - "description": "Auth level: read", - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "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": "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 }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L249" - } - }, - { - "name": "state.QueryUnbonding", - "description": "Auth level: read", - "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": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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.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" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "blobs", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=", - "index": -1 - } - ] - ], - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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#L174" + } + }, + { + "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": "state.SubmitTx", - "description": "Auth level: read", - "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 - } + "name": "delAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ + "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": [ { - "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" + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "info": { - "type": "string" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "raw_log": { - "type": "string" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "timestamp": { - "type": "string" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "txhash": { - "type": "string" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L184" - } - }, - { - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, { - "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": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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.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 + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L218" + "txhash": { + "type": "string" } - } - ] -} \ No newline at end of file + }, + "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#L218" + } + } + ] +} diff --git a/public/specs/openrpc-v0.13.5.json b/public/specs/openrpc-v0.13.5.json index f20b24d..a833dd4 100644 --- a/public/specs/openrpc-v0.13.5.json +++ b/public/specs/openrpc-v0.13.5.json @@ -1,9608 +1,9166 @@ { - "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.13.5" - }, - "externalDocs": { - "description": "Celestia Node GitHub", - "url": "https://github.com/celestiaorg/celestia-node" + "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.13.5" + }, + "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=", + "index": -1 + } + ], + "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" + } }, - "methods": [ + { + "name": "blob.GetAll", + "description": "Auth level: read", + "summary": "GetAll returns all blobs at the given height under the given namespaces.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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=", + "index": -1 + } + ] + ], + "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": [ + [ + { + "end": 4, + "nodes": ["dGVzdA=="], + "is_max_namespace_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": [ + [ { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false - }, + "end": 4, + "nodes": ["dGVzdA=="], + "is_max_namespace_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": [ + [ { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", + "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", + "share_version": 0, + "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=", + "index": -1 } + ] ], - "result": { - "name": "*blob.Blob", - "description": "*blob.Blob", - "summary": "", - "schema": { - "examples": [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=", - "index": -1 - } - ], + "items": [ + { + "additionalProperties": false, + "properties": { + "blob": { "additionalProperties": false, "properties": { - "blob": {}, - "commitment": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "blob": {}, + "commitment": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } }, - "type": [ - "object" - ] + "type": "object" + }, + "commitment": { + "media": { + "binaryEncoding": "base64" + }, + "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/blob/blob.go#L45" - } + "type": ["object"] + } + ], + "type": ["array"] + }, + "required": true, + "deprecated": false }, { - "name": "blob.GetAll", - "description": "Auth level: read", - "summary": "GetAll returns all blobs at the given height under the given namespaces.\n", - "paramStructure": "by-position", - "params": [ + "name": "gasPrice", + "description": "blob.GasPrice", + "summary": "", + "schema": { + "examples": [0.002], + "type": ["number"] + }, + "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": "das.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": [ { - "name": "height", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1093, + "from": 1002, + "to": 1101 }, { - "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=", - "index": -1 - } - ] - ], - "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" - ] + "job_type": "catchup", + "current": 33343, + "from": 33302, + "to": 33401 }, - "required": true, - "deprecated": false - }, - "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 + "job_type": "catchup", + "current": 34047, + "from": 34002, + "to": 34101 }, { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "job_type": "catchup", + "current": 1327, + "from": 1302, + "to": 1401 }, { - "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": [ - [ - { - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "is_max_namespace_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] + "job_type": "catchup", + "current": 1197, + "from": 1102, + "to": 1201 }, - "required": true, - "deprecated": false + { + "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" }, - "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" + "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": "das.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": "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": "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: read", + "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: read", + "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" }, - { - "name": "namespace", - "description": "share.Namespace", - "summary": "", - "schema": { - "examples": [ - "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "chain_id": "arabica-6", + "height": "67374", + "time": "2023-02-25T12:10:28.067566292Z", + "last_block_id": { + "hash": "47A2C7758760988500B2F043D3903BBBF1C8B383CA33CF7056AA45E22055663E", + "parts": { + "total": 1, + "hash": "33B012F244E27672169DD3D62CDBC92DA9486E410A5530F41FE6A890D8E2EE42" + } }, - { - "name": "proof", - "description": "*blob.Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "end": 4, - "nodes": [ - "dGVzdA==" - ], - "is_max_namespace_ignored": true - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] - } - ], - "type": [ - "array" - ] + "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=" }, - "required": true, - "deprecated": false - }, - { - "name": "commitment", - "description": "blob.Commitment", - "summary": "", - "schema": { - "examples": [ - "Bw==" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "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" } - ], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + }, + "commit": { + "height": 67374, + "round": 0, + "block_id": { + "hash": "A7F6B1CF33313121539206754A73FDC22ADA48C4AA8C4BB4F707ED2E089E59D3", + "parts": { + "total": 1, + "hash": "6634FE1E1DDDCB9914ACE81F146013986F5FDA03A8F1C16DC5ECA0D9B0E08FBC" + } }, - "required": true, - "deprecated": false - }, - "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" + "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" + ] + } } - }, - { - "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=", - "index": -1 - } - ] - ], - "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" - ] + ], + "additionalProperties": false, + "properties": { + "commit": { + "additionalProperties": false, + "properties": { + "block_id": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" }, - "required": true, - "deprecated": false + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "total": { + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" }, - { - "name": "gasPrice", - "description": "blob.GasPrice", - "summary": "", - "schema": { - "examples": [ - 0.002 - ], - "type": [ - "number" - ] - }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "uint64", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] + "height": { + "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": "das.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 - } - ], + "round": { + "type": "integer" + }, + "signatures": { + "items": { "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" - } + "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": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" }, - "required": true, - "deprecated": false + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" + } + }, + "type": "object" }, - "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": "das.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" - ] + "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" }, - "required": true, - "deprecated": false + "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" }, - "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" + "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: read", + "summary": "GetByHeight returns the ExtendedHeader at the given height if it is\ncurrently available.\n", + "paramStructure": "by-position", + "params": [ { - "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 + "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" } - ], - "result": { - "name": "[]Proof", - "description": "[]Proof", - "summary": "", - "schema": { - "examples": [ - [ - { - "proof_type": "badencodingv0.1", - "data": "ChJiYWQgZW5jb2RpbmcgcHJvb2YQKg==" - } - ] - ], - "items": [ - { - "additionalProperties": false, - "type": [ - "object" - ] + }, + "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": [ - "array" - ] + }, + "type": "object" + } + }, + "type": "object" + }, + "height": { + "type": "integer" }, - "required": true, - "deprecated": false + "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" }, - "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: read", - "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 + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" + }, + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "type": "array" } - ], - "result": { - "name": "\u003c-chan *Proof", - "description": "\u003c-chan *Proof", - "summary": "", - "schema": { - "title": "typeUnsupportedByJSONSchema", - "type": [ - "object" - ] + }, + "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" }, - "required": true, - "deprecated": false + "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" }, - "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" + "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.GetRangeByHeight", + "description": "Auth level: read", + "summary": "GetRangeByHeight 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": "header.GetByHash", - "description": "Auth level: read", - "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 + "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" + ] } + } ], - "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + }, + "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": "object" + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "name": "header.GetByHeight", - "description": "Auth level: read", - "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 + "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" + ] } - ], - "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==" - } - ] + } + ] + ], + "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" }, - "dah": { - "row_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ], - "column_roots": [ - "//////////7//////////ql+/VFmJ8PWE9BcjrTDLrY/hzVeGdzFCpfEhiXDXZmt", - "/////////////////////zHeGnUtPJn8QyPpePSYl4qRVrcUvG2fwptyoA85Myik" - ] + "total": { + "type": "integer" } + }, + "type": "object" } - ], - "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" + }, + "height": { + "type": "integer" + }, + "round": { + "type": "integer" + }, + "signatures": { + "items": { + "additionalProperties": false, + "properties": { + "block_id_flag": { + "type": "integer" + }, + "signature": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" }, - "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": "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" }, - "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" - } + "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": "object" + "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": "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" }, - "required": true, - "deprecated": false + "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: read", + "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: read", + "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" }, - "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" + "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": "header.GetRangeByHeight", - "description": "Auth level: read", - "summary": "GetRangeByHeight 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" - ] + "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=" }, - "required": true, - "deprecated": false + "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" + } }, - { - "name": "to", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "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" } - ], - "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": "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": [ - "array" - ] + }, + "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#L57" + } + }, + { + "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#L53" + } + }, + { + "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#L41" + } + }, + { + "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#L49" + } + }, + { + "name": "node.Ready", + "description": "Auth level: read", + "summary": "Ready returns true once the node's RPC is ready to accept requests.\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/node/node.go#L45" + } + }, + { + "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 }, - "required": true, - "deprecated": false + "type": "array" + }, + "ID": { + "type": "string" + } }, - "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" + "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$\b\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": "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" - ] - } - } - ], + "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: read", + "summary": "GetEDS gets the full EDS identified by the given extended header.\n", + "paramStructure": "by-position", + "params": [ + { + "name": "header", + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } + }, + "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#L91" - } - }, - { - "name": "header.NetworkHead", - "description": "Auth level: read", - "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" - ] - } - } - ], + "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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": "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" + "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#L75" + } + }, + { + "name": "share.GetShare", + "description": "Auth level: read", + "summary": "GetShare gets a Share by coordinates in EDS.\n", + "paramStructure": "by-position", + "params": [ { - "name": "header.Subscribe", - "description": "Auth level: read", - "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" - ] + "name": "header", + "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" }, - "required": true, - "deprecated": false - }, - "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" - } - ], + "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": { - "end": { - "format": "date-time", - "type": "string" - }, - "error": { - "type": "string" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "from_hash": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { "media": { - "binaryEncoding": "base64" + "binaryEncoding": "base64" }, "type": "string" - }, - "from_height": { - "type": "integer" - }, - "height": { + }, + "total": { "type": "integer" + } }, - "id": { - "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" }, - "start": { - "format": "date-time", - "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" }, - "to_hash": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { "media": { - "binaryEncoding": "base64" + "binaryEncoding": "base64" }, "type": "string" - }, - "to_height": { + }, + "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "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": "row", + "description": "int", + "summary": "", + "schema": { + "examples": [42], + "type": ["integer"] + }, + "required": true, + "deprecated": false }, { - "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 + "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#L71" + } + }, + { + "name": "share.GetSharesByNamespace", + "description": "Auth level: read", + "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": "header", + "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" + ] } + } ], - "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": { - "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" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "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": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": "object" + "type": "string" + }, + "total": { + "type": "integer" + } }, - "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" + "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" }, - "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" + "timestamp": { + "format": "date-time", + "type": "string" + }, + "validator_address": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" } + }, + "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#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" - ] + "type": "object" + }, + "dah": { + "additionalProperties": false, + "properties": { + "column_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" }, - "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#L57" - } - }, - { - "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" - ] + "type": "array" + }, + "row_roots": { + "items": { + "media": { + "binaryEncoding": "base64" + }, + "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#L53" - } - }, - { - "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" - } - ], + "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": { - "api_version": { - "type": "string" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "type": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "total": { "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/node/node.go#L41" - } - }, - { - "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" - ] + "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" + } }, - "required": true, - "deprecated": false + "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" + } }, - "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" - } + "type": ["object"] + }, + "required": true, + "deprecated": false }, { - "name": "node.Ready", - "description": "Auth level: read", - "summary": "Ready returns true once the node's RPC is ready to accept requests.\n", - "paramStructure": "by-position", - "params": [], - "result": { - "name": "bool", - "description": "bool", - "summary": "", - "schema": { - "examples": [ - true - ], - "type": [ - "boolean" - ] + "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": {} + } + ] + ], + "items": [ + { + "additionalProperties": false, + "properties": { + "proof": { + "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/node/node.go#L45" + "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#L79" + } + }, + { + "name": "share.SharesAvailable", + "description": "Auth level: read", + "summary": "SharesAvailable subjectively validates if Shares committed to the given\nExtendedHeader are available on the Network.\n", + "paramStructure": "by-position", + "params": [ { - "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 + "name": "header", + "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" + ] } + } ], - "result": { - "name": "metrics.Stats", - "description": "metrics.Stats", - "summary": "", - "schema": { - "examples": [ - { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 - } - ], + "additionalProperties": false, + "properties": { + "commit": { + "additionalProperties": false, + "properties": { + "block_id": { "additionalProperties": false, "properties": { - "RateIn": { - "type": "number" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "RateOut": { - "type": "number" - }, - "TotalIn": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "total": { "type": "integer" + } }, - "TotalOut": { - "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": [ - "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/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 - } - ], + "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": { - "RateIn": { - "type": "number" - }, - "RateOut": { - "type": "number" + "hash": { + "media": { + "binaryEncoding": "base64" }, - "TotalIn": { + "type": "string" + }, + "parts": { + "additionalProperties": false, + "properties": { + "hash": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + }, + "total": { "type": "integer" + } }, - "TotalOut": { - "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": [ - "object" - ] + "type": "array" + } }, - "required": true, - "deprecated": false + "type": "object" + } + }, + "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#L67" + } + }, + { + "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#L165" + } + }, + { + "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#L255" + } + }, + { + "name": "state.BalanceForAddress", + "description": "Auth level: read", + "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" }, - "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" + "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#L169" + } + }, + { + "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": "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": [ + "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" + }, { - "TotalIn": 42, - "TotalOut": 42, - "RateIn": 42, - "RateOut": 42 + "key": "amount", + "value": "30utia" } - ], - "additionalProperties": false, - "properties": { - "RateIn": { - "type": "number" + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "RateOut": { - "type": "number" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "TotalIn": { - "type": "integer" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "TotalOut": { - "type": "integer" + { + "key": "module", + "value": "bank" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + ] + } + ], + "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" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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": { + "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": [ - "object" - ] + "type": { + "type": "string" + } + }, + "type": "object" }, - "required": true, - "deprecated": false - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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" + "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#L207" + } + }, + { + "name": "state.CancelUnbondingDelegation", + "description": "Auth level: write", + "summary": "CancelUnbondingDelegation cancels a user's pending undelegation from a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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 - } + "name": "valAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "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" - } + "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": "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": [ + "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": [ { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true - }, - "type": "array" + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "ID": { - "type": "string" + { + "key": "amount", + "value": "30utia" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + { + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "result": { - "name": "peer.AddrInfo", - "description": "peer.AddrInfo", - "summary": "", - "schema": { - "examples": [ - { - "ID": "CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo", - "Addrs": [ - "/ip6/::1/udp/2121/quic-v1" - ] + ] + } + ], + "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" } - ], - "additionalProperties": false, - "properties": { - "Addrs": { - "items": { - "additionalProperties": true + }, + "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": "array" + "type": "object" + }, + "type": "array" }, - "ID": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "type": [ - "object" - ] + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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" + "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#L196" + } + }, + { + "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": "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 - } + "name": "delAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "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" - } + "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": "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": "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "type": [ - "string" - ] + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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": [ + ] + }, + { + "type": "coin_spent", + "attributes": [ { - "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$\b\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 - } - } + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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" + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "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" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "System": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "Transient": { - "additionalProperties": false, - "properties": { - "Memory": { - "type": "integer" - }, - "NumConnsInbound": { - "type": "integer" - }, - "NumConnsOutbound": { - "type": "integer" - }, - "NumFD": { - "type": "integer" - }, - "NumStreamsInbound": { - "type": "integer" - }, - "NumStreamsOutbound": { - "type": "integer" - } - }, - "type": "object" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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" - ] + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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 + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, { - "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" - ] + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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: read", - "summary": "GetEDS gets the full EDS identified by the given extended header.\n", - "paramStructure": "by-position", - "params": [ { - "name": "header", - "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" - ] + "type": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "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" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L75" - } - }, - { - "name": "share.GetShare", - "description": "Auth level: read", - "summary": "GetShare gets a Share by coordinates in EDS.\n", - "paramStructure": "by-position", - "params": [ { - "name": "header", - "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" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "row", - "description": "int", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "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" - ] + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L71" - } - }, - { - "name": "share.GetSharesByNamespace", - "description": "Auth level: read", - "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": "header", - "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" - ] + "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" }, - "required": true, - "deprecated": false + "type": "array" + }, + "type": { + "type": "string" + } }, - { - "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": {} - } - ] - ], - "items": [ - { + "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": { - "proof": { - "additionalProperties": false, - "type": "object" - }, - "shares": { - "items": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - }, - "type": "array" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, - "type": [ - "object" - ] + "type": "object" + }, + "type": "array" + }, + "type": { + "type": "string" } - ], - "type": [ - "array" - ] + }, + "type": "object" + }, + "type": "array" + }, + "log": { + "type": "string" + }, + "msg_index": { + "type": "integer" + } }, - "required": true, - "deprecated": false + "type": "object" + }, + "type": "array" }, - "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#L79" - } - }, - { - "name": "share.SharesAvailable", - "description": "Auth level: read", - "summary": "SharesAvailable subjectively validates if Shares committed to the given\nExtendedHeader are available on the Network.\n", - "paramStructure": "by-position", - "params": [ - { - "name": "header", - "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 - } - ], - "result": { - "name": "Null", - "description": "Null", - "schema": { - "type": [ - "null" - ] + "raw_log": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "tx": { + "additionalProperties": false, + "properties": { + "type_url": { + "type": "string" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L67" + "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#L227" + } + }, + { + "name": "state.QueryDelegation", + "description": "Auth level: read", + "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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" - ] + "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" }, - "required": true, - "deprecated": false - }, - "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#L165" + "balance": { + "denom": "string value", + "amount": "42" + } + } } - }, - { - "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" - } + ], + "additionalProperties": false, + "properties": { + "delegation_response": { + "additionalProperties": false, + "properties": { + "balance": { + "additionalProperties": false, + "properties": { + "amount": { + "additionalProperties": false, + "type": "object" }, - "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#L255" + "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#L237" + } + }, + { + "name": "state.QueryRedelegations", + "description": "Auth level: read", + "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": "state.BalanceForAddress", - "description": "Auth level: read", - "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": "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": [ { - "name": "addr", - "description": "state.Address", - "summary": "", - "schema": { - "examples": [ - "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "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" + } + ] } - ], - "result": { - "name": "*state.Balance", - "description": "*state.Balance", - "summary": "", - "schema": { - "examples": [ - { - "denom": "string value", - "amount": "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": { - "amount": { - "additionalProperties": false, - "type": "object" - }, - "denom": { - "type": "string" - } + "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" + } }, - "required": true, - "deprecated": false - }, - "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#L169" + "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#L248" + } + }, + { + "name": "state.QueryUnbonding", + "description": "Auth level: read", + "summary": "QueryUnbonding retrieves the unbonding status between a delegator and a validator.\n", + "paramStructure": "by-position", + "params": [ { - "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": "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" }, - { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], + "entries": { + "items": { + "additionalProperties": false, + "properties": { + "balance": { "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false - }, - { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], + "type": "object" + }, + "completion_time": { + "format": "date-time", + "type": "string" + }, + "creation_height": { + "type": "integer" + }, + "initial_balance": { "additionalProperties": false, - "type": [ - "object" - ] + "type": "object" + } }, - "required": true, - "deprecated": false + "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#L241" + } + }, + { + "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": [ + [ { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", + "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", + "share_version": 0, + "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=", + "index": -1 } + ] ], - "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 - } - ] - } - ] - } - ], + "items": [ + { + "additionalProperties": false, + "properties": { + "blob": { "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" + "blob": {}, + "commitment": { + "media": { + "binaryEncoding": "base64" }, - "height": { - "type": "integer" + "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" }, - "info": { - "type": "string" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "raw_log": { - "type": "string" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "timestamp": { - "type": "string" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "txhash": { - "type": "string" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L207" - } - }, - { - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "height", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L196" + "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#L187" + } + }, + { + "name": "state.SubmitTx", + "description": "Auth level: read", + "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": "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": "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": [ { - "name": "delAddr", - "description": "state.ValAddress", - "summary": "", - "schema": { - "examples": [ - "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" - ], - "type": [ - "string" - ] - }, - "required": true, - "deprecated": false + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "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 }, - "required": true, - "deprecated": false + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L227" + "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#L183" + } + }, + { + "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": "state.QueryDelegation", - "description": "Auth level: read", - "summary": "QueryDelegation retrieves the delegation information between a delegator and a validator.\n", - "paramStructure": "by-position", - "params": [ + "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": [ { - "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": [ + "msg_index": 0, + "events": [ + { + "type": "coin_received", + "attributes": [ { - "delegation_response": { - "delegation": { - "delegator_address": "string value", - "validator_address": "string value", - "shares": "0" - }, - "balance": { - "denom": "string value", - "amount": "42" - } - } + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" + }, + { + "key": "amount", + "value": "30utia" } - ], - "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": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" + }, + { + "key": "amount", + "value": "30utia" } + ] }, - "type": [ - "object" - ] + { + "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 + } + ] }, - "required": true, - "deprecated": false - }, - "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#L237" - } - }, - { - "name": "state.QueryRedelegations", - "description": "Auth level: read", - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "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": "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 }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L248" - } - }, - { - "name": "state.QueryUnbonding", - "description": "Auth level: read", - "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": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L241" - } - }, - { - "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" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "blobs", - "description": "[]*blob.Blob", - "summary": "", - "schema": { - "examples": [ - [ - { - "namespace": "AAAAAAAAAAAAAAAAAAAAAAAAAAECAwQFBgcICRA=", - "data": "VGhpcyBpcyBhbiBleGFtcGxlIG9mIHNvbWUgYmxvYiBkYXRh", - "share_version": 0, - "commitment": "AD5EzbG0/EMvpw0p8NIjMVnoCP4Bv6K+V6gjmwdXUKU=", - "index": -1 - } - ] - ], - "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 + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L187" + "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#L173" + } + }, + { + "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": "state.SubmitTx", - "description": "Auth level: read", - "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 - } + "name": "delAddr", + "description": "state.ValAddress", + "summary": "", + "schema": { + "examples": [ + "celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p" ], - "result": { - "name": "*state.TxResponse", - "description": "*state.TxResponse", - "summary": "", - "schema": { - "examples": [ + "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": [ { - "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" + "key": "receiver", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "info": { - "type": "string" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "coin_spent", + "attributes": [ + { + "key": "spender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "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" + { + "key": "amount", + "value": "30utia" + } + ] + }, + { + "type": "message", + "attributes": [ + { + "key": "action", + "value": "/cosmos.bank.v1beta1.MsgSend" }, - "raw_log": { - "type": "string" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "timestamp": { - "type": "string" + { + "key": "module", + "value": "bank" + } + ] + }, + { + "type": "transfer", + "attributes": [ + { + "key": "recipient", + "value": "celestia12les8l8gzsacjjxwum9wdy7me8x9xajqch4gyw" }, - "tx": { - "additionalProperties": false, - "properties": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } - }, - "type": "object" + { + "key": "sender", + "value": "celestia1377k5an3f94v6wyaceu0cf4nq6gk2jtpc46g7h" }, - "txhash": { - "type": "string" + { + "key": "amount", + "value": "30utia" } - }, - "type": [ - "object" - ] + ] + } + ] + } + ], + "gas_wanted": 10000000, + "gas_used": 69085, + "events": [ + { + "type": "tx", + "attributes": [ + { + "key": "ZmVl", + "value": null, + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L183" - } - }, - { - "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 + "type": "tx", + "attributes": [ + { + "key": "YWNjX3NlcQ==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2gvMA==", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "tx", + "attributes": [ + { + "key": "c2lnbmF0dXJl", + "value": "R3NlVjhGNThFNGphR05LU0NicDBvNmRILytKK3BNQjNvUmtoNVpKNE8rVjdvNVVYQkJNNXpmNkdiYnN6OW9Takc1OUZkSHJRYzFvVVVBbnRBZW1wV0E9PQ==", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "YWN0aW9u", + "value": "L2Nvc21vcy5iYW5rLnYxYmV0YTEuTXNnU2VuZA==", + "index": true + } + ] }, { - "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": "coin_spent", + "attributes": [ + { + "key": "c3BlbmRlcg==", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "type": [ - "object" - ] + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, - "required": true, - "deprecated": false - }, - "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#L173" - } - }, - { - "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 + "type": "coin_received", + "attributes": [ + { + "key": "cmVjZWl2ZXI=", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "amount", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] + "type": "transfer", + "attributes": [ + { + "key": "cmVjaXBpZW50", + "value": "Y2VsZXN0aWExMmxlczhsOGd6c2Fjamp4d3VtOXdkeTdtZTh4OXhhanFjaDRneXc=", + "index": true + }, + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true }, - "required": true, - "deprecated": false + { + "key": "YW1vdW50", + "value": "MzB1dGlh", + "index": true + } + ] }, { - "name": "fee", - "description": "state.Int", - "summary": "", - "schema": { - "examples": [ - "42" - ], - "additionalProperties": false, - "type": [ - "object" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "c2VuZGVy", + "value": "Y2VsZXN0aWExMzc3azVhbjNmOTR2Nnd5YWNldTBjZjRucTZnazJqdHBjNDZnN2g=", + "index": true + } + ] }, { - "name": "gasLim", - "description": "uint64", - "summary": "", - "schema": { - "examples": [ - 42 - ], - "type": [ - "integer" - ] - }, - "required": true, - "deprecated": false + "type": "message", + "attributes": [ + { + "key": "bW9kdWxl", + "value": "YmFuaw==", + "index": true + } + ] } - ], - "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" } - ], - "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": { + }, + "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": { - "type_url": { - "type": "string" - }, - "value": { - "media": { - "binaryEncoding": "base64" - }, - "type": "string" - } + "key": { + "type": "string" + }, + "value": { + "type": "string" + } }, "type": "object" + }, + "type": "array" }, - "txhash": { - "type": "string" + "type": { + "type": "string" } + }, + "type": "object" }, - "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" }, - "required": true, - "deprecated": false + "value": { + "media": { + "binaryEncoding": "base64" + }, + "type": "string" + } + }, + "type": "object" }, - "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#L217" + "txhash": { + "type": "string" } - } - ] -} \ No newline at end of file + }, + "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#L217" + } + } + ] +} diff --git a/src/components/NotificationModal.tsx b/src/components/NotificationModal.tsx new file mode 100644 index 0000000..5e5e097 --- /dev/null +++ b/src/components/NotificationModal.tsx @@ -0,0 +1,77 @@ +import { Transition } from '@headlessui/react'; +import { + CheckCircleIcon, + XCircleIcon, + XMarkIcon, +} from '@heroicons/react/24/outline'; + +import { INotification } from '@/lib/types'; +const NotificationModal = ({ + notification, + setNotification, +}: { + notification: INotification; + setNotification: (notification: INotification) => void; +}) => { + return ( +
+
+ +
+
+
+
+ {notification.success ? ( +
+
+

+ {notification.success + ? 'Request Succeeded' + : 'Request Failed With Error:'} +

+

+ {notification.message} +

+
+
+ +
+
+
+
+
+
+
+ ); +}; +export default NotificationModal; diff --git a/src/components/Playground.tsx b/src/components/Playground.tsx new file mode 100644 index 0000000..7ae8e47 --- /dev/null +++ b/src/components/Playground.tsx @@ -0,0 +1,336 @@ +import { + Dialog, + DialogPanel, + DialogTitle, + Transition, + TransitionChild, +} from '@headlessui/react'; +import { CommandLineIcon } from '@heroicons/react/24/solid'; +import { Editor } from '@monaco-editor/react'; +import { + Client, + JSONRPCError, + RequestManager, + WebSocketTransport, +} from '@open-rpc/client-js'; +import { useState } from 'react'; + +import { classNames } from '@/lib/helper'; +import { INotification, NodeError } from '@/lib/types'; + +const tabs = [ + { name: 'Request', href: '#' }, + { name: 'Response', href: '#' }, + { name: 'Configuration', href: '#' }, +]; + +const Playground = ({ + playgroundOpen, + currentRequest, + setPlaygroundOpen, + setCurrentRequest, + setNotification, +}: { + playgroundOpen: boolean; + currentRequest: string; + setPlaygroundOpen: (open: boolean) => void; + setCurrentRequest: (request: string) => void; + setNotification: (notification: INotification) => void; +}) => { + const [hostname, setHostname] = useState(''); + // request: 0, response: 1, config: 2 + const [currentTab, setCurrentTab] = useState(0); + const [currentResponse, setCurrentResponse] = useState(''); + + const sendRequest = async ( + request: string, + hostname: string + ): Promise => { + if (hostname == '') { + hostname = 'ws://localhost:26658'; + } else { + hostname = 'ws://' + hostname; + } + + const transport = new WebSocketTransport(hostname); + + transport.connection.onerror = () => { + setNotification({ + active: true, + success: false, + message: + "Failed to connect to the node's WebSocket server at " + hostname, + }); + }; + + const requestManager = new RequestManager([transport]); + const client = new Client(requestManager); + + // if (authtoken != '') { + // axios.defaults.headers.common['Authorization'] = `Bearer ${authtoken}`; + // } + + // I know, this looks stupid, but it's the easiest way to display the response without writing a custom WS client + const { method, params } = JSON.parse(request); + try { + const response = await client.request({ method, params }); + return { id: 1, jsonrpc: '2.0', result: response }; + } catch (err: unknown) { + if (err instanceof JSONRPCError) { + return { + id: 1, + jsonrpc: '2.0', + error: { code: err.code, message: err.message }, + }; + } else { + throw err; + } + } + }; + + return ( + + + +
+ + +
+
+ + +
+
+
+
+ + Node Playground + +
+
+
+

+ This playground allows you to send JSON-RPC requests to + a local running node. Note: you must start your node + with `--rpc.skip-auth` to make this work. +

+ {/* TABS */} +
+ + {/* Use an "onChange" listener to redirect the user to the selected tab URL. */} + +
+ + {/* PLAYGROUND */} + { + { + 0: ( +
+ + value && + value != currentResponse && + setCurrentRequest(value) + } + /> +
+ ), + 1: ( +
+ +
+ ), + 2: ( +
+ +
+ + ws:// + + setHostname(e.target.value)} + /> +
+

+ only ws:// is supported at this time +

+
+ ), + }[currentTab] + } +
+
+
+
+ + +
+
+
+
+
+
+
+ ); +}; +export default Playground; diff --git a/src/components/RPCMethod.tsx b/src/components/RPCMethod.tsx new file mode 100644 index 0000000..757bfad --- /dev/null +++ b/src/components/RPCMethod.tsx @@ -0,0 +1,171 @@ +import { ChevronDownIcon, ChevronRightIcon } from '@heroicons/react/24/solid'; +import { useRef } from 'react'; +import { useState } from 'react'; +import { CopyToClipboard } from 'react-copy-to-clipboard'; +import SyntaxHighlighter from 'react-syntax-highlighter'; + +import { getExampleRequest } from '@/lib/helper'; +import { Method, Param } from '@/lib/types'; + +const RPCMethod = ({ + pkg, + method, + activateSidebar, + selectedVersion, + setCurrentRequest, + setPlaygroundOpen, +}: { + pkg: string; + method: Method; + activateSidebar: (param: Param) => void; + selectedVersion: string; + setCurrentRequest: (req: string) => void; + setPlaygroundOpen: (open: boolean) => void; +}) => { + const [showRequest, setShowRequest] = useState(false); + const [showResponse, setShowResponse] = useState(false); + const methodRef = useRef(null); // create a ref + + const handleCopyClick = () => { + const hash = window.location.hash.substring(1); + const element = document.getElementById(hash); + element?.scrollIntoView(); + }; + + return ( +
+
+

+ {method.name}( + {method.params.map((param, i, { length }) => ( + + {param.name}{' '} + activateSidebar(param)} + > + {param.description} + {length - 1 != i && ', '} + + + ))} + ) + {method.result.description != 'Null' && ( + activateSidebar(method.result)} + > + {method.result.description} + + )} + + perms: {method.auth} + +

+ + { + window.location.hash = `${pkg}.${method.name}`; + }} + > + # + + +
+

{method.description}

+ +
+
setShowRequest(!showRequest)} + > + {showRequest ? ( +
+ {showRequest && ( +
+ + {JSON.stringify( + { + id: 1, + jsonrpc: '2.0', + method: pkg + '.' + method.name, + params: method.params.map((param) => + param.schema && param.schema.examples + ? param.schema.examples[0] + : undefined + ), + }, + null, + 2 + )} + +
+ )} +
setShowResponse(!showResponse)} + > + {showResponse ? ( +
+ {showResponse && ( +
+ + {JSON.stringify( + { + id: 1, + jsonrpc: '2.0', + result: + method.result.description == 'Null' || + !method.result.schema.examples + ? [] + : method.result.schema.examples[0], + }, + null, + 2 + )} + +
+ )} +
+
+ ); +}; +export default RPCMethod; diff --git a/src/components/buttons/Button.tsx b/src/components/buttons/Button.tsx index 868c22b..117a90a 100644 --- a/src/components/buttons/Button.tsx +++ b/src/components/buttons/Button.tsx @@ -88,7 +88,7 @@ const Button = React.forwardRef( {isLoading && (
{ + return JSON.stringify( + { + id: 1, + jsonrpc: '2.0', + method: pkg + '.' + method.name, + params: method.params.map((param) => + param.schema && param.schema.examples + ? param.schema.examples[0] + : undefined + ), + }, + null, + 2 + ); +}; + +export const getExampleResponse = (method: Method): string => { + return JSON.stringify( + { + id: 1, + jsonrpc: '2.0', + result: + method.result.description == 'Null' || !method.result.schema.examples + ? [] + : [method.result.schema.examples[0]], + }, + null, + 2 + ); +}; diff --git a/src/lib/types.ts b/src/lib/types.ts new file mode 100644 index 0000000..0e26c39 --- /dev/null +++ b/src/lib/types.ts @@ -0,0 +1,27 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +export interface INotification { + message: string; + success: boolean; + active: boolean; +} + +export interface NodeError { + code: number; + message: string; +} + +export type Param = { + name: string; + description: string; + schema: any; +}; + +export type Method = { + name: string; + description: string; + auth: string; + params: Param[]; + result: Param; +}; + +export type MethodByPkg = { [key: string]: Method[] }; diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 9654d9d..6fed4ce 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,17 +1,26 @@ /* eslint-disable @next/next/no-html-link-for-pages */ /* eslint-disable unused-imports/no-unused-vars */ -/* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @next/next/no-img-element */ -import { Dialog, Transition } from '@headlessui/react'; +import { + Dialog, + DialogPanel, + DialogTitle, + Transition, + TransitionChild, +} from '@headlessui/react'; import { Bars3BottomLeftIcon, XMarkIcon } from '@heroicons/react/24/outline'; -import { ChevronDownIcon, ChevronRightIcon } from '@heroicons/react/24/solid'; import axios from 'axios'; import { Fragment, useEffect, useState } from 'react'; -import { useRef } from 'react'; import { CopyToClipboard } from 'react-copy-to-clipboard'; import { FiClipboard } from 'react-icons/fi'; import SyntaxHighlighter from 'react-syntax-highlighter'; +import { classNames } from '@/lib/helper'; +import { INotification, MethodByPkg, Param } from '@/lib/types'; + +import NotificationModal from '@/components/NotificationModal'; +import Playground from '@/components/Playground'; +import RPCMethod from '@/components/RPCMethod'; import Seo from '@/components/Seo'; const clients = [ @@ -37,30 +46,11 @@ const clients = [ }, ]; -function classNames(...classes: any[]) { - return classes.filter(Boolean).join(' '); -} - -type Param = { - name: string; - description: string; - schema: any; -}; - -type Method = { - name: string; - description: string; - auth: string; - params: Param[]; - result: Param; -}; - -type MethodByPkg = { [key: string]: Method[] }; - function extractAuth(methodDescription: string): string { return methodDescription.split('Auth level: ')[1]; } +// eslint-disable-next-line @typescript-eslint/no-explicit-any function getMethodsByPackage(spec: any): MethodByPkg { const methodsByPackage: MethodByPkg = {}; for (const method of spec.methods) { @@ -118,6 +108,7 @@ export default function Example() { setSelectedVersion(event.target.value); window.history.pushState({}, '', `?version=${event.target.value}`); }; + // eslint-disable-next-line @typescript-eslint/no-explicit-any const [spec, setSpec] = useState(); const [open, setOpen] = useState(false); const [sidebarOpen, setSidebarOpen] = useState(false); @@ -126,6 +117,15 @@ export default function Example() { description: '', schema: {}, }); + + const [currentRequest, setCurrentRequest] = useState(''); + const [playgroundOpen, setPlaygroundOpen] = useState(false); + const [notification, setNotification] = useState({ + message: '', + success: true, + active: false, + }); + const [selectedVersion, setSelectedVersion] = useState(versions[0]); const [showHash, setShowHash] = useState(''); const [searchTerm, setSearchTerm] = useState(''); @@ -179,6 +179,7 @@ export default function Example() { } }, [spec]); + // eslint-disable-next-line @typescript-eslint/no-explicit-any const activateSidebar = (param: any) => { setOpen(true); setCurrentParam(param); @@ -188,13 +189,14 @@ export default function Example() { <>
- + {/* SIDEBAR MOBILE */} + -
- +
- - - +
- +
- - + +
{/* Dummy element to force sidebar to shrink to fit close icon */}
-
+ - {/* Static sidebar for desktop */} + {/* SIDEBAR DESKTOP */}
{/* Sidebar component, swap this element with another sidebar if you like */}
@@ -319,7 +321,7 @@ export default function Example() { placeholder='Search modules & methods...' value={searchTerm} onChange={(e) => setSearchTerm(e.target.value)} - className='mb-4 mt-4 w-full rounded border border-gray-300 py-1 text-sm shadow-sm focus:border-indigo-500 focus:ring-2 focus:ring-indigo-500' + className='mb-4 mt-4 w-full rounded border border-gray-300 py-1 text-sm shadow-sm focus:border-purple-500 focus:ring-2 focus:ring-purple-500' />
@@ -412,10 +414,11 @@ export default function Example() {
+ {/* TOP NAVBAR */}