Sei

Sei Service API

The Service API from Sei — 10 operation(s) for service.

Operations 11

GET /cosmos/base/tendermint/v1beta1/blocks/latest GetLatestBlock returns the latest block. #
GET /cosmos/base/tendermint/v1beta1/blocks/{height} GetBlockByHeight queries block for given height. #
GET /cosmos/base/tendermint/v1beta1/node_info GetNodeInfo queries the current node info. #
GET /cosmos/base/tendermint/v1beta1/syncing GetSyncing queries node syncing. #
GET /cosmos/base/tendermint/v1beta1/validatorsets/latest GetLatestValidatorSet queries latest validator-set. #
GET /cosmos/base/tendermint/v1beta1/validatorsets/{height} GetValidatorSetByHeight queries validator-set at a given height. #
POST /cosmos/tx/v1beta1/simulate Simulate simulates executing a transaction for estimating gas usage. #
GET /cosmos/tx/v1beta1/txs GetTxsEvent fetches txs by event. #
POST /cosmos/tx/v1beta1/txs BroadcastTx broadcast transaction. #
GET /cosmos/tx/v1beta1/txs/block/{height} GetBlockWithTxs fetches a block with decoded txs. #
GET /cosmos/tx/v1beta1/txs/{hash} GetTx fetches a tx by hash. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sei-service-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sei-service-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HTTP API Console Service API
  name: ''
  description: ''
tags:
- name: Service
paths:
  /cosmos/base/tendermint/v1beta1/blocks/latest:
    get:
      summary: GetLatestBlock returns the latest block.
      operationId: CosmosBaseTendermintV1Beta1GetLatestBlock
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  block_id:
                    type: object
                    properties:
                      hash:
                        type: string
                        format: byte
                      part_set_header:
                        type: object
                        properties:
                          total:
                            type: integer
                            format: int64
                          hash:
                            type: string
                            format: byte
                        title: PartsetHeader
                    title: BlockID
                  block:
                    type: object
                    properties:
                      header:
                        type: object
                        properties:
                          version:
                            title: basic block info
                            type: object
                            properties:
                              block:
                                type: string
                                format: uint64
                              app:
                                type: string
                                format: uint64
                            description: 'Consensus captures the consensus rules for processing a block in the blockchain,

                              including all blockchain data structures and the rules of the application''s

                              state transition machine.'
                          chain_id:
                            type: string
                          height:
                            type: string
                            format: int64
                          time:
                            type: string
                            format: date-time
                          last_block_id:
                            type: object
                            properties:
                              hash:
                                type: string
                                format: byte
                              part_set_header:
                                type: object
                                properties:
                                  total:
                                    type: integer
                                    format: int64
                                  hash:
                                    type: string
                                    format: byte
                                title: PartsetHeader
                            title: BlockID
                          last_commit_hash:
                            type: string
                            format: byte
                            description: commit from validators from the last block
                            title: hashes of block data
                          data_hash:
                            type: string
                            format: byte
                            title: transactions
                          validators_hash:
                            type: string
                            format: byte
                            description: validators for the current block
                            title: hashes from the app output from the prev block
                          next_validators_hash:
                            type: string
                            format: byte
                            title: validators for the next block
                          consensus_hash:
                            type: string
                            format: byte
                            title: consensus params for current block
                          app_hash:
                            type: string
                            format: byte
                            title: state after txs from the previous block
                          last_results_hash:
                            type: string
                            format: byte
                            title: root hash of all results from the txs from the previous block
                          evidence_hash:
                            type: string
                            format: byte
                            description: evidence included in the block
                            title: consensus info
                          proposer_address:
                            type: string
                            format: byte
                            title: original proposer of the block
                        description: Header defines the structure of a Tendermint block header.
                      data:
                        type: object
                        properties:
                          txs:
                            type: array
                            items:
                              type: string
                              format: byte
                            description: 'Txs that will be applied by state @ block.Height+1.

                              NOTE: not all txs here are valid.  We''re just agreeing on the order first.

                              This means that block.AppHash does not include these txs.'
                        title: Data contains the set of transactions included in the block
                      evidence:
                        type: object
                        properties:
                          evidence:
                            type: array
                            items:
                              type: object
                              properties:
                                duplicate_vote_evidence:
                                  type: object
                                  properties:
                                    vote_a:
                                      type: object
                                      properties:
                                        type:
                                          type: string
                                          enum:
                                          - SIGNED_MSG_TYPE_UNKNOWN
                                          - SIGNED_MSG_TYPE_PREVOTE
                                          - SIGNED_MSG_TYPE_PRECOMMIT
                                          - SIGNED_MSG_TYPE_PROPOSAL
                                          default: SIGNED_MSG_TYPE_UNKNOWN
                                          description: "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals"
                                        height:
                                          type: string
                                          format: int64
                                        round:
                                          type: integer
                                          format: int32
                                        block_id:
                                          type: object
                                          properties:
                                            hash:
                                              type: string
                                              format: byte
                                            part_set_header:
                                              type: object
                                              properties:
                                                total:
                                                  type: integer
                                                  format: int64
                                                hash:
                                                  type: string
                                                  format: byte
                                              title: PartsetHeader
                                          title: BlockID
                                          description: zero if vote is nil.
                                        timestamp:
                                          type: string
                                          format: date-time
                                        validator_address:
                                          type: string
                                          format: byte
                                        validator_index:
                                          type: integer
                                          format: int32
                                        signature:
                                          type: string
                                          format: byte
                                          description: 'Vote signature by the validator if they participated in consensus for the

                                            associated block.'
                                        extension:
                                          type: string
                                          format: byte
                                          description: 'Vote extension provided by the application. Only valid for precommit

                                            messages.'
                                        extension_signature:
                                          type: string
                                          format: byte
                                          description: 'Vote extension signature by the validator if they participated in

                                            consensus for the associated block. Only valid for precommit messages.'
                                      description: 'Vote represents a prevote, precommit, or commit vote from validators for

                                        consensus.'
                                    vote_b:
                                      type: object
                                      properties:
                                        type:
                                          type: string
                                          enum:
                                          - SIGNED_MSG_TYPE_UNKNOWN
                                          - SIGNED_MSG_TYPE_PREVOTE
                                          - SIGNED_MSG_TYPE_PRECOMMIT
                                          - SIGNED_MSG_TYPE_PROPOSAL
                                          default: SIGNED_MSG_TYPE_UNKNOWN
                                          description: "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals"
                                        height:
                                          type: string
                                          format: int64
                                        round:
                                          type: integer
                                          format: int32
                                        block_id:
                                          type: object
                                          properties:
                                            hash:
                                              type: string
                                              format: byte
                                            part_set_header:
                                              type: object
                                              properties:
                                                total:
                                                  type: integer
                                                  format: int64
                                                hash:
                                                  type: string
                                                  format: byte
                                              title: PartsetHeader
                                          title: BlockID
                                          description: zero if vote is nil.
                                        timestamp:
                                          type: string
                                          format: date-time
                                        validator_address:
                                          type: string
                                          format: byte
                                        validator_index:
                                          type: integer
                                          format: int32
                                        signature:
                                          type: string
                                          format: byte
                                          description: 'Vote signature by the validator if they participated in consensus for the

                                            associated block.'
                                        extension:
                                          type: string
                                          format: byte
                                          description: 'Vote extension provided by the application. Only valid for precommit

                                            messages.'
                                        extension_signature:
                                          type: string
                                          format: byte
                                          description: 'Vote extension signature by the validator if they participated in

                                            consensus for the associated block. Only valid for precommit messages.'
                                      description: 'Vote represents a prevote, precommit, or commit vote from validators for

                                        consensus.'
                                    total_voting_power:
                                      type: string
                                      format: int64
                                    validator_power:
                                      type: string
                                      format: int64
                                    timestamp:
                                      type: string
                                      format: date-time
                                  description: 'DuplicateVoteEvidence contains evidence of a validator signed two conflicting

                                    votes.'
                                light_client_attack_evidence:
                                  type: object
                                  properties:
                                    conflicting_block:
                                      type: object
                                      properties:
                                        signed_header:
                                          type: object
                                          properties:
                                            header:
                                              type: object
                                              properties:
                                                version:
                                                  title: basic block info
                                                  type: object
                                                  properties:
                                                    block:
                                                      type: string
                                                      format: uint64
                                                    app:
                                                      type: string
                                                      format: uint64
                                                  description: 'Consensus captures the consensus rules for processing a block in the blockchain,

                                                    including all blockchain data structures and the rules of the application''s

                                                    state transition machine.'
                                                chain_id:
                                                  type: string
                                                height:
                                                  type: string
                                                  format: int64
                                                time:
                                                  type: string
                                                  format: date-time
                                                last_block_id:
                                                  type: object
                                                  properties:
                                                    hash:
                                                      type: string
                                                      format: byte
                                                    part_set_header:
                                                      type: object
                                                      properties:
                                                        total:
                                                          type: integer
                                                          format: int64
                                                        hash:
                                                          type: string
                                                          format: byte
                                                      title: PartsetHeader
                                                  title: BlockID
                                                last_commit_hash:
                                                  type: string
                                                  format: byte
                                                  description: commit from validators from the last block
                                                  title: hashes of block data
                                                data_hash:
                                                  type: string
                                                  format: byte
                                                  title: transactions
                                                validators_hash:
                                                  type: string
                                                  format: byte
                                                  description: validators for the current block
                                                  title: hashes from the app output from the prev block
                                                next_validators_hash:
                                                  type: string
                                                  format: byte
                                                  title: validators for the next block
                                                consensus_hash:
                                                  type: string
                                                  format: byte
                                                  title: consensus params for current block
                                                app_hash:
                                                  type: string
                                                  format: byte
                                                  title: state after txs from the previous block
                                                last_results_hash:
                                                  type: string
                                                  format: byte
                                                  title: root hash of all results from the txs from the previous block
                                                evidence_hash:
                                                  type: string
                                                  format: byte
                                                  description: evidence included in the block
                                                  title: consensus info
                                                proposer_address:
                                                  type: string
                                                  format: byte
                                                  title: original proposer of the block
                                              description: Header defines the structure of a Tendermint block header.
                                            commit:
                                              type: object
                                              properties:
                                                height:
                                                  type: string
                                                  format: int64
                                                round:
                                                  type: integer
                                                  format: int32
                                                block_id:
                                                  type: object
                                                  properties:
                                                    hash:
                                                      type: string
                                                      format: byte
                                                    part_set_header:
                                                      type: object
                                                      properties:
                                                        total:
                                                          type: integer
                                                          format: int64
                                                        hash:
                                                          type: string
                                                          format: byte
                                                      title: PartsetHeader
                                                  title: BlockID
                                                signatures:
                                                  type: array
                                                  items:
                                                    type: object
                                                    properties:
                                                      block_id_flag:
                                                        type: string
                                                        enum:
                                                        - BLOCK_ID_FLAG_UNKNOWN
                                                        - BLOCK_ID_FLAG_ABSENT
                                                        - BLOCK_ID_FLAG_COMMIT
                                                        - BLOCK_ID_FLAG_NIL
                                                        default: BLOCK_ID_FLAG_UNKNOWN
                                                        title: BlockIdFlag indicates which BlockID the signature is for
                                                      validator_address:
                                                        type: string
                                                        format: byte
                                                      timestamp:
                                                        type: string
                                                        format: date-time
                                                      signature:
                                                        type: string
                                                        format: byte
                                                    description: CommitSig is a part of the Vote included in a Commit.
                                              description: 'Commit contains the evidence that a block was committed by a set of

                                                validators.'
                                        validator_set:
                                          type: object
                                          properties:
                                            validators:
                                              type: array
                                              items:
                                                type: object
                                                properties:
                                                  address:
                                                    type: string
                                                    format: byte
                                                  pub_key:
                                                    type: object
                                                    properties:
                                                      ed25519:
                                                        type: string
                                                        format: byte
                                                      secp256k1:
                                                        type: string
                                                        format: byte
                                                    title: PublicKey defines the keys available for use with Tendermint Validators
                                                  voting_power:
                                                    type: string
                                                    format: int64
                                                  proposer_priority:
                                                    type: string
                                                    format: int64
                                            proposer:
                                              type: object
                                              properties:
                                                address:
                                                  type: string
                                                  format: byte
                                                pub_key:
                                                  type: object
                                                  properties:
                                                    ed25519:
                                                      type: string
                                                      format: byte
                                                    secp256k1:
                                                      type: string
                                                      format: byte
                                                  title: PublicKey defines the keys available for use with Tendermint Validators
                                                voting_power:
                                                  type: string
                                                  format: int64
                                                proposer_priority:
                                                  type: string
                                                  format: int64
                                            total_voting_power:
                                              type: string
                                              format: int64
                                    common_height:
                                      type: string
                                      format: int64
                                    byzantine_validators:
                                      type: array
                                      items:
                                        type: object
                                        properties:
                                          address:
                                            type: string
                                            format: byte
                                          pub_key:
                                            type: object
                                            properties:
                                              ed25519:
                                                type: string
                                                format: byte
                                              secp256k1:
                                                type: string
                                                format: byte
                                            title: PublicKey defines the keys available for use with Tendermint Validators
                                          voting_power:
                                            type: string
                                            format: int64
                                          proposer_priority:
                                            type: string
                                            format: int64
                                    total_voting_power:
                                      type: string
                                      format: int64
                                    timestamp:
                                      type: string
                                      format: date-time
                                  description: 'LightClientAttackEvidence contains evidence of a set of validators attempting

                                    to mislead a light client.'
                      last_commit:
                        type: object
                        properties:
                          height:
                            type: string
                            format: int64
                          round:
                            type: integer
                            format: int32
                          block_id:
                            type: object
                            properties:
                              hash:
                                type: string
                                format: byte
                              part_set_header:
                                type: object
                                properties:
                                  total:
                                    type: integer
                                    format: int64
                                  hash:
                                    type: string
                                    format: byte
                                title: PartsetHeader
                            title: BlockID
                          signatures:
                            type: array
                            items:
                              type: object
                              properties:
                                block_id_flag:
                                  type: string
                                  enum:
                                  - BLOCK_ID_FLAG_UNKNOWN
                                  - BLOCK_ID_FLAG_ABSENT
                                  - BLOCK_ID_FLAG_COMMIT
                                  - BLOCK_ID_FLAG_NIL
                                  default: BLOCK_ID_FLAG_UNKNOWN
                                  title: BlockIdFlag indicates which BlockID the signature is for
                                validator_address:
                                  type: string
                                  format: byte
                                timestamp:
                                  type: string
                                  format: date-time
                                signature:
                                  type: string
                                  format: byte
                              description: CommitSig is a part of the Vote included in a Commit.
                        description: 'Commit contains the evidence that a block was committed by a set of

                          validators.'
                description: GetLatestBlockResponse is the response typ

# --- truncated at 32 KB (208 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/sei/refs/heads/main/openapi/sei-service-api-openapi.yml