Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added an example to get the contracts by trait #1699

Closed
wants to merge 7 commits into from
46 changes: 43 additions & 3 deletions docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -988,10 +988,50 @@ paths:
parameters:
- name: trait_abi
in: query
description: JSON abi of the trait.
description: JSON stringified ABI object e.g. `JSON.stringify(abi)`.
required: true
schema:
type: string
schema: # The request schema
type: object # JSON object type
properties:
functions:
type: array
items:
type: object
properties:
access:
type: string
args:
type: array
items: {}
name:
type: string
outputs:
type: object
properties:
type:
type: object
properties:
response:
type: object
properties:
ok:
type: string
format: uint128
error:
type: string
format: uint128
variables:
type: array
items: {}
maps:
type: array
items: {}
fungible_tokens:
type: array
items: {}
non_fungible_tokens:
type: array
items: {}
- name: limit
in: query
description: max number of contracts fetch
Expand Down
Loading