align API docs with java-tron v4.8.2#353
Conversation
13d8c86 to
64d5c27
Compare
- Replace node.maxMessageSize error rows with node.http.maxMessageSize and HTTP 413 SizeLimitHandler behavior - Add oversized-body HTTP 413 rows to endpoints that lacked them - Document int64_as_string=true GET flag on applicable endpoints - Add blockTimestamp to JSON-RPC log outputs - Document maxLogFilterNum, maxAddressSize, maxResponseSize, maxBatchSize, and data/input alias handling for eth_call, eth_estimateGas, and buildTransaction - Align documented JSON parse errors with org.tron.json.JSONException after fastjson removal - Expand smart-contract trigger/constant/estimate error response rows with concrete CONTRACT_VALIDATE_ERROR messages - Document JSON-RPC safe block tag handling and eth_newFilter pending/safe errors - Correct JSON-RPC servlet-level error codes for parse errors, invalid requests, oversized responses, batch limits, and internal errors - Clarify unstable JSON-RPC error mappings and parameter-level validation for eth_chainId, net_version, eth_getStorageAt, eth_getLogs, and eth_estimateGas - Update demo JSONObject import to org.tron.json.JSONObject - Unify terminology: 区块号 -> 区块高度, 无效果 -> 无影响, abi.encode -> ABI 编码
64d5c27 to
139efc7
Compare
|
The API docs were updated for java-tron v4.8.2 behavior, but the machine-readable OpenAPI/OpenRPC definitions were not updated in the same PR. This creates a contract mismatch for SDK generators, tool integrations, and AI agents. For example, the human docs now describe |
Thanks. They are separated for now, and the spec will be updated later. To keep consistency, the maintainer of this repo can merge them together afterwards. |
Summary
Align the HTTP and JSON-RPC API docs with java-tron v4.8.2 behavior (Chinese translation).
node.maxMessageSizeerror rows withnode.http.maxMessageSizeand HTTP 413SizeLimitHandlerbehaviorint64_as_string=trueGET flag on applicable endpointsblockTimestampto JSON-RPC log outputsmaxLogFilterNum,maxAddressSize,maxResponseSize,maxBatchSize, anddata/inputalias handling foreth_call,eth_estimateGas, andbuildTransactionorg.tron.json.JSONExceptionafter fastjson removalCONTRACT_VALIDATE_ERRORmessagessafeblock tag handling andeth_newFilterpending/safeerrorsJSONObjectimport toorg.tron.json.JSONObjectTest plan