Polkadot Search API

The Search API from Polkadot — 1 operation(s) for search.

OpenAPI Specification

polkadot-search-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Polkadot REST Account Search API
  description: High-performance Rust REST API for Substrate/Polkadot blockchain data. Drop-in replacement for substrate-api-sidecar.
  contact:
    url: https://github.com/paritytech/polkadot-rest-api
  license:
    name: GPL-3.0-or-later
  version: 0.1.3
servers:
- url: http://localhost:8080/v1
  description: Localhost
tags:
- name: Search
paths:
  /api/scan/check_hash:
    post:
      consumes:
      - application/json
      description: Resolves the supplied hash and returns the detected object type, such as account, extrinsic, EVM transaction, block, XCM message, or multisig call hash, together with any matching identifiers.
      parameters:
      - description: param
        in: body
        name: param
        required: true
        schema:
          $ref: '#/definitions/internal_server_http.checkHashParam'
      produces:
      - application/json
      responses:
        '200':
          description: OK
          schema: {}
      summary: Identify the object type for a hash
      tags:
      - Search
      x-synonyms:
      - check
      - hash
      - type
      - search
      - scan
      - lookup
      - find
      - query
definitions:
  internal_server_http.checkHashParam:
    properties:
      hash:
        type: string
    type: object