- Flowee the Hub/
- Service API overview
- Service/Blockchain
- Service/Live Transactions
- Service/Mining
- Service/Util
- Service/RegTest
- Service/Hub Control
- Service/Indexer
- Service/AddressMonitor
- Service/TransactionMonitor
- Service/BlockNotification
- Service/Double Spend
- Service/System
- Protocol Spec
- Example Message
Flowee the Hub — API documentation
Example Message
Example Message: Version (+ reply)
The version message is a request, the versionReply is the reply.
Requesting a version is essentially as simple as sending an empty message (no body) to the right service and with the right messageId.
MesageSize: 7 | 0x0700 | ||
ServiceId: 1 | positive-int | APIservice: 0 | 0x0800 |
MessageId: 1 | positive-int | Meta::Version: 0 | 0x1000 |
End-Header: 0 | boolean-true | 0x04 |
Answer is equally simple, except that it has an actual value with a string representation of the version.
MesageSize: 28 | 0x1c00 | ||
ServiceId: 1 | positive-int | APIservice: 0 | 0x0800 |
MessageId: 1 | positive-int | Meta::VersionReply: 1 | 0x1001 |
End-Header: 0 | boolean-true | 0x04 | |
Meta::GenericBytes: 0 | string: "Flowee:1 (2019-4.1)" | 0x0A13466C6F7765653A31 2028323031392D342E3129 |