How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Polkadot Contracts API

The Contracts API from Polkadot — 9 operation(s) for contracts.

Polkadot Contracts API is one of 57 APIs that Polkadot publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Contracts. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, rate-limit docs, and a GitHub repository.

This API exposes 9 operations across 9 paths, and defines 22 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 6 base URLs: https://https://www.subscan.io/, https://polkadot-public-sidecar.parity-chains.parity.io/, https://kusama-public-sidecar.parity-chains.parity.io/, https://polkadot-asset-hub-public-sidecar.parity-chains.parity.io/, https://kusama-asset-hub-public-sidecar.parity-chains.parity.io/, http://localhost:8080.

9 operations 9 paths 22 schemas 2 GET7 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://polkadot.api.subscan.io
Resource Areas
1

Paths & Operations 9

Across 9 paths, the API surfaces 9 operations — 2 GET, 7 POST. Each is listed below with its method, path, parameters, and response codes.

Contracts 9
POST
/api/scan/contracts/events
List WASM contract events
body → 200
POST
/api/scan/contracts/info
Get WASM contract details
body → 200
POST
/api/scan/contracts/list
List WASM contracts
body → 200
POST
/api/scan/contracts/meta
Get WASM contract aggregate metadata
→ 200
POST
/api/scan/contracts/timeline
Get a WASM contract timeline
body → 200
POST
/api/scan/contracts/transactions
List WASM contract transactions
body → 200
GET
/api/scan/contracts/verify/compiler_images
List supported contract compiler images
→ 200
GET
/api/scan/contracts/verify/compiler_version
List supported contract compiler versions
→ 200
POST
/contracts/ink/{address}/query
Query an !Ink contract with a given message (method).
callContractQuery 5 params body → 200400

Schemas 22

The contract defines 22 schemas that model the data the API accepts and returns. The most detailed are subscan_internal_model.ContractDetailJson (15 properties), subscan_internal_model.AccountDisplay (10 properties), internal_server_http.contractTxsParams (6 properties), ContractsInkQuery (6 properties). Each schema is shown below with its type and property counts.

internal_server_http.contractTimelineParams
object
1 property
subscan_internal_model.ContractAction
string
subscan_internal_model.MerkleTag
object
4 properties
subscan_internal_model.ContractAccountListJson
object
5 properties
internal_server_http.J
object
4 properties
subscan_internal_model.ContractTimeline
object
4 properties
subscan_internal_model.AccountParentJson
object
4 properties
internal_server_http.contractsListParams
object
5 properties
subscan_internal_model.AccountDisplay
object
10 properties
subscan_internal_model.RegistrationJudgementJson
object
2 properties
internal_server_http.contractsEventsParams
object
4 properties
subscan_internal_model.ThirdPartyCompiler
object
3 properties
subscan_internal_model.EvmAccountDisplay
object
2 properties
internal_server_http.contractTxsParams
object
6 properties
subscan_internal_model.ContractDetailJson
object
15 properties
subscan_internal_model.ContractEventJson
object
4 properties
internal_server_http.contractInfoParams
object
1 property
subscan_internal_model.SampleIdentity
object
4 properties
subscan_internal_model.ContractTransactionListJson
object
5 properties
ContractsInkQuery
object
Result from calling a query to a Ink contract.
6 properties
Error
object
4 properties
ContractMetadata
object
Metadata used to instantiate a ContractPromise. This metadata can be generated by compiling the contract you are querying.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

polkadot-contracts-api-openapi.yml Raw ↑

Other APIs Polkadot publishes across the network.

Polkadot Account API
Polkadot accounts API
Polkadot ahm API
Polkadot Assets API
Polkadot Avail API
Polkadot Bifrost API
Polkadot Block API
Polkadot blocks API
Polkadot capabilities API
Polkadot Collator API
Polkadot Common API
Polkadot coretime API
Where this information came from

This is an independent, third-party profile of Polkadot Contracts API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.