Query

Describe a schema: extract contract methods and context

Resolves the supplied contracts on the given chain and returns the fully expanded schema — contract methods, input/output types, and any context variables that are available to expressions. Call this first to discover what you can query against a set of contracts before authoring an expression.

Pass include: ["resolution"] to annotate the schema with where each method reads from: every contract gains an _extension.resolution with its dispatch route, and every method one naming the address it executes at and the source its ABI came from.

post/query/describe

Request

  • Base URL: https://api.evmquery.com/api/v1
  • URL: https://api.evmquery.com/api/v1/query/describe
  • Auth: one of:
    • API key in header X-API-Key
    • bearer (a scheme the document does not define)

Request body

chainstring required

Chain identifier

includestring[]

Optional detail to add to the schema. resolution annotates each contract and method with where its ABI came from and which address it executes at, under _extension.resolution.

Response

The resolved schema, including contract methods with their input and output types plus any available context variables.

versionstring required

Schema format version

enabledFeaturesstring[]

Names of features that are enabled in this schema.

_extensionSelSELExtension

Free-form, consumer-defined metadata bag for extending a schema entry with data that

Changes

No recorded changes to this operation across all 1 revision of this API.