Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/navcoin/navexplorer-api-go
https://github.com/navcoin/navexplorer-api-go
gin-gonic golang navcoin navexplorer
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/navcoin/navexplorer-api-go
- Owner: navcoin
- Created: 2018-06-26T07:46:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-06T09:37:37.000Z (about 2 years ago)
- Last Synced: 2024-09-28T18:20:55.278Z (about 2 months ago)
- Topics: gin-gonic, golang, navcoin, navexplorer
- Language: Go
- Homepage: https://api.navexplorer.com
- Size: 6.76 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# navexplorer-api-go
REST API for Navexplorer.com## To run locally
```
go get -d ./...
go run main.go
```## Available endpoints
```
GET /address?size=100
GET /address/:hash
GET /address/:hash/summary
GET /address/:hash/history
GET /address/:hash/stakingGET /address/:hash/assoc/staking
GET /balance
GET /bestblock
GET /blockcycle
GET /blockgroupGET /block
GET /block/:hash
GET /block/:hash/cycle
GET /block/:hash/raw
GET /block/:hash/txGET /tx/:hash
GET /tx/:hash/rawGET /staking/blocks
GET /staking/rewardsGET /softfork
GET /softfork/cycleGET /dao/consensus/parameters
GET /dao/consensus/parameters/:id
GET /dao/consultation
GET /dao/consultation/:hash
GET /dao/consultation/:hash/:answer/votes
GET /dao/answer/:hashGET /dao/cfund/stats
GET /dao/cfund/proposal
GET /dao/cfund/proposal/:hash
GET /dao/cfund/proposal/:hash/votes
GET /dao/cfund/proposal/:hash/trend
GET /dao/cfund/proposal/:hash/payment-request
GET /dao/cfund/payment-request
GET /dao/cfund/payment-request/:hash
GET /dao/cfund/payment-request/:hash/votes
GET /dao/cfund/payment-request/:hash/trendGET /search
```## Network Header
Use the Network header to switch between the available NavCoin networks.
Set `header('Network: mainnet')` for mainnet data
Set `header('Network: testnet')` for testnet data