Skip to content

Commit

Permalink
Trying to fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tjayrush committed May 28, 2024
1 parent 529c661 commit 668c8e9
Showing 1 changed file with 39 additions and 47 deletions.
86 changes: 39 additions & 47 deletions content/api/openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
openapi: 3.1.3
openapi: 3.1.0
info:
title: TrueBlocks API
contact:
Expand Down Expand Up @@ -226,15 +226,15 @@ paths:
{
"address": "0xff9387a9aae1f5daab1cd8eb0e92113ea9d19ca3",
"blockNumber": 4037786,
"transactionIndex": 47,
"transactionIndex": 47
},
{
"address": "0xff9387a9aae1f5daab1cd8eb0e92113ea9d19ca3",
"blockNumber": 4037800,
"transactionIndex": 77,
"transactionIndex": 77
},
{ "...": "..." },
],
{ "...": "..." }
]
}
"400":
description: bad input parameter
Expand Down Expand Up @@ -602,16 +602,16 @@ paths:
"contractAddress": "0x0",
"gasUsed": 21000,
"effectiveGasPrice": 20000000000,
"status": null,
"status": null
},
"compressedTx": "0x()",
"gasCost": 420000000000000,
"gasUsed": 21000,
"date": "2017-07-18 04:41:28 UTC",
"ether": 0.08435387,
"ether": 0.08435387
},
{ "...": "..." },
],
{ "...": "..." }
]
}
"400":
description: bad input parameter
Expand Down Expand Up @@ -968,8 +968,8 @@ paths:
"symbol": "LBA",
"source": "On chain",
"decimals": 18,
"petname": "actively-happy-mite",
},
"petname": "actively-happy-mite"
}
]
"400":
description: bad input parameter
Expand Down Expand Up @@ -1110,27 +1110,27 @@ paths:
"type": "address",
"name": "token0",
"indexed": true,
"internalType": "address",
"internalType": "address"
},
{
"type": "address",
"name": "token1",
"indexed": true,
"internalType": "address",
"internalType": "address"
},
{
"type": "address",
"name": "pair",
"internalType": "address",
"internalType": "address"
},
{
"type": "uint256",
"name": "val_0",
"internalType": "uint256",
},
],
},
],
"internalType": "uint256"
}
]
}
]
}
"400":
description: bad input parameter
Expand Down Expand Up @@ -1326,7 +1326,7 @@ paths:
"blockNumber": 3141592,
"hash": "0x0b4c6fb75ded4b90218cf0346b0885e442878f104e1b60bf75d5b6860eeacd53",
"...": "...",
"transactions": [],
"transactions": []
}
"400":
description: bad input parameter
Expand Down Expand Up @@ -2087,9 +2087,9 @@ paths:
"address": "0xa1e4380a3b1f749673e270229993ee55f35663b4",
"deployed": 0,
"accttype": "EOA",
"ether": 0.2588436983603185,
},
],
"ether": 0.2588436983603185
}
]
}
"400":
description: bad input parameter
Expand Down Expand Up @@ -2229,9 +2229,9 @@ paths:
"decimals": 1,
"isContract": true,
"isErc20": true,
"isErc721": true,
},
],
"isErc721": true
}
]
}
"400":
description: bad input parameter
Expand Down Expand Up @@ -2314,9 +2314,9 @@ paths:
"isTracing": true,
"hasEskey": true,
"hasPinkey": true,
"date": "2021-09-03 19:38:19 UTC",
},
],
"date": "2021-09-03 19:38:19 UTC"
}
]
}
"400":
description: bad input parameter
Expand Down Expand Up @@ -2685,15 +2685,15 @@ paths:
{
"fileName": "000000000-000000000",
"bloomHash": "QmbCQaYmfTR3sGNAvASoVjPynaY9UD31Hfxv7dGtzsptkb",
"indexHash": "QmPmfSrYT5HDpfjj4uYSycaFECo9EqPSuADQ3YPbVp3yu4",
"indexHash": "QmPmfSrYT5HDpfjj4uYSycaFECo9EqPSuADQ3YPbVp3yu4"
},
{
"fileName": "000000001-000590501",
"bloomHash": "QmSGuSQHgK4S9yiZQ3dKrykQVpLTmdFettY9sAwa537gPL",
"indexHash": "QmSaoxc3XA9DEaA3inhLW5ZKsk5C5LWvowSXpHwVHsMjQp",
"indexHash": "QmSaoxc3XA9DEaA3inhLW5ZKsk5C5LWvowSXpHwVHsMjQp"
},
{ "...": "..." },
],
{ "...": "..." }
]
}
"400":
description: bad input parameter
Expand Down Expand Up @@ -2945,8 +2945,8 @@ paths:
"hasToken": "0",
"gasUsed": "21000",
"date": "2015-08-07 03:50:51 UTC",
"ether": "0.000000000000000000",
},
"ether": "0.000000000000000000"
}
]
"400":
description: bad input parameter
Expand Down Expand Up @@ -3271,14 +3271,10 @@ components:
type: object
properties:
AddressRecord:
type: object
items:
$ref: "#/components/schemas/addrRecord"
type: string
description: "the address record for these appearances"
Appearances:
type: array
items:
$ref: "#/components/schemas/appRecord"
type: string
description: "all the appearances for this address"
block:
description: "block data as returned from the RPC (with slight enhancements)"
Expand Down Expand Up @@ -3986,9 +3982,7 @@ components:
format: uint64
description: "the number of decimals for the token contract"
type:
type: object
items:
$ref: "#/components/schemas/tokenType"
type: 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 @@ -4351,9 +4345,7 @@ components:
format: string
description: "the type of the cache"
items:
type: array
items:
$ref: "#/components/schemas/any"
type: string
description: "the individual items in the cache (if --verbose)"
lastCached:
type: string
Expand Down

0 comments on commit 668c8e9

Please sign in to comment.