HYCON
API/V1
API/V3
Search…
Docs
Topics api/v1
Introduction
Installation
Make your first call
API Request
API Response
Interacting directly with the network api/v1
Prerequisites
Address Management
Querying an address
Transaction Management
Interacting with local Hycon Node api/v1
Prerequisites
Wallet Management
Getting Blockchain Information
Getting block info at a specific height
Getting highest block on current chain
Fetching Block(s)
Fetching Peer(s)
Miscellaneous Tools
Reference api/v1
Language Support
Blockchain Reorganization
Topics api/v3
Introduction
Installation
Make your first call
API Request
API Response
Address API api/v3
Prerequisites (/address)
Getting address information
Block API api/v3
Prerequisites (/block)
Getting the latest block information
Getting specific block information
Getting mined block information
Getting tip information
Network API api/v3
Prerequisites (/network)
Getting market information
Getting list of peers
Getting information of specific peer
Transaction API api/v3
Prerequisites (/tx)
Getting specific transaction information
Getting transactions by address
Getting pending transactions
Creating an outgoing transaction
Wallet API api/v3
Prerequisites (/wallet)
Getting information of wallet list
Getting information of specific wallet
Delete Wallet
Generate random mnemonic
Generate / Recover normal wallet or HD wallet with password or passphrase
Decrypt and get an HD wallet information
Reference api/v3
Blockchain Reorganization
Language Support
Powered By
GitBook
Getting highest block on current chain
api/v1
Response -
200 OK, application/json
Parameter
Type
Description
height
string
Block number of the highest block
Response Error Table
Status
Error
Message
404
NOT_FOUND
Fail to getTopTipHeight
GET/api/v1/toptipHeight
Example request
$ curl -X GET http://localhost:2442/api/v1/toptipHeight \
-H 'Content-Type: application/json;charset=utf-8'
Response (Success)
{ "height": 346151 }
Previous
Getting block info at a specific height
Next - Interacting with local Hycon Node api/v1
Fetching Block(s)
Last modified
1yr ago
Copy link