Skip to content
This repository has been archived by the owner on Jan 31, 2025. It is now read-only.

Commit

Permalink
Updating version
Browse files Browse the repository at this point in the history
  • Loading branch information
tjayrush committed May 28, 2024
1 parent a9f3bf4 commit 1566d15
Showing 1 changed file with 9 additions and 25 deletions.
34 changes: 9 additions & 25 deletions content/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ info:
A REST layer over the TrueBlocks chifra command line. With `chifra daemon`, you can
run this on your own machine, and make calls to `localhost`.
## How to best use this API
## How to use this API effectively
The endpoints in this API are exact translations of the commands used by the chifra
CLI application, and the query parameters mirror the commands' options and
Expand Down Expand Up @@ -3271,14 +3271,12 @@ components:
type: object
properties:
AddressRecord:
type: object
items:
$ref: "#/components/schemas/addrRecord"
type: string
format: string
description: "the address record for these appearances"
Appearances:
type: array
items:
$ref: "#/components/schemas/appRecord"
type: string
format: string
description: "all the appearances for this address"
block:
description: "block data as returned from the RPC (with slight enhancements)"
Expand Down Expand Up @@ -3990,9 +3988,8 @@ components:
format: uint64
description: "the number of decimals for the token contract"
type:
type: object
items:
$ref: "#/components/schemas/tokenType"
type: string
format: string
description: "the type of token (ERC20 or ERC721) or none"
result:
description: "the result (articulated if possible, as bytes otherwise) of a call to a smart contract"
Expand Down Expand Up @@ -4355,9 +4352,8 @@ components:
format: string
description: "the type of the cache"
items:
type: array
items:
$ref: "#/components/schemas/any"
type: string
format: string
description: "the individual items in the cache (if --verbose)"
lastCached:
type: string
Expand Down Expand Up @@ -4664,15 +4660,3 @@ components:
format: bytes
description: "One of four 32-byte topics of a log"
example: "0xf128...1e98"
addrRecord:
type: string
description: "an address record in the Unchained Index chunk"
appRecord:
type: string
description: "any cache item found in the binary cache"
tokenType:
type: string
description: "an appearance record in the Unchained Index chunk"
any:
type: string
description: "a string representing the token type"

0 comments on commit 1566d15

Please sign in to comment.