# 运动控制系统 **Repository Path**: wang-yin1/motion-control-system ## Basic Information - **Project Name**: 运动控制系统 - **Description**: .Net 9 WPF+Opencv+Prism - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 8 - **Forks**: 10 - **Created**: 2025-06-13 - **Last Updated**: 2026-02-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Binance Chain Explorer API Document ## 1. Query Transaction Information **API address:** `/api/txs/{txHash}` **Request method:** `GET` ### Response Example: ```json { "tx": { "hash": "string", "blockNumber": "string", "timestamp": "string", "status": "string", "result": { "contractAddress": "string", "tokenSymbol": "string", "from": "string", "to": "string", "value": "string" } } } ``` ### Response Field Description: - `hash`: Transaction hash - `blockNumber`: Block number - `timestamp`: Transaction time (Unix timestamp) - `status`: Transaction status - `result.contractAddress`: Contract address - `result.tokenSymbol`: Token symbol - `result.from`: Sender address - `result.to`: Recipient address - `result.value`: Transaction amount ## 2. Query Block Information **API address:** `/api/blocks/{blockNumber}` **Request method:** `GET` ### Response Example: ```json { "block": { "number": "string", "hash": "string", "timestamp": "string", "txs": [ { "hash": "string", "from": "string", "to": "string", "value": "string" } ] } } ``` ### Response Field Description: - `number`: Block number - `hash`: Block hash - `timestamp`: Block timestamp (Unix timestamp) - `txs`: Transaction list in the block - `txs.hash`: Transaction hash - `txs.from`: Transaction sender address - `txs.to`: Transaction recipient address - `txs.value`: Transaction amount ## 3. Query Account Transaction History **API address:** `/api/accounts/{address}/transactions` **Request method:** `GET` ### Request Parameters: - `address`: Account address - `startTime`: Start time (Unix timestamp, optional) - `endTime`: End time (Unix timestamp, optional) - `page`: Page number (default 1) - `pageSize`: Number of records per page (default 20, maximum 100) ### Response Example: ```json { "transactions": [ { "hash": "string", "timestamp": "string", "from": "string", "to": "string", "value": "string" } ], "total": 100 } ``` ### Response Field Description: - `transactions`: Transaction list - `transactions.hash`: Transaction hash - `transactions.timestamp`: Transaction time (Unix timestamp) - `transactions.from`: Transaction sender address - `transactions.to`: Transaction recipient address - `transactions.value`: Transaction amount - `total`: Total number of transactions ## 4. Query Account Token Balance **API address:** `/api/accounts/{address}/tokens` **Request method:** `GET` ### Request Parameters: - `address`: Account address ### Response Example: ```json { "tokens": [ { "symbol": "string", "balance": "string" } ] } ``` ### Response Field Description: - `tokens`: Token list - `tokens.symbol`: Token symbol - `tokens.balance`: Token balance