Deprecated. Moved to API Repo
See also: https://docs.google.com/spreadsheets/d/1bZykfwMjcl4QOHCPKL-5jYUN3l3bxX9Km1qyMA0MecM/edit?usp=sharing
Overview: Data specific to a specific node instance. These should be only be accessible to the node's operator. Clients: apps, wallets. Provider: Full node.
-
Node / PoST - PoST setup and status functionality
- Get Post status - setup, size, progress, etc...
- Setup post
- Stop post setup
-
Node / Management - Set or get node configurable params
- Get current Smesher's ID
- Get Smesher's coinbase account
- Set Smesher's coinbase account
-
Node / Status
- Get sync status ( synced / total layers), sync status num
Overview: simple data access with focus on app and api clients. Provider: Full node. Clients: apps, wallets.
-
Mesh / General
- Get current layer # and epoch #
- Get Network Genesis time
- Get Network ID
- Get latest root-hash {layer #, hash}
-
Mesh / Transactions
- Get tx info/status
- Get txs info (pass several tx ids as args)
- Submit new signed transaction.
-
Mesh / Accounts
- Get account's nonce
- Get account's balance
- Get account's rewards (list)
- Get account txs (list)
- Get account type (coin or app instance)
-
Mesh / Smart Contracts
- Get app instance data for a var name / id
-
Mesh / Smeshers
- Get smesher's coinbase account
- Get smesher's ATXs (list)
-
Mesh / Streams Overview: Server-side streaming data feeds. Provider: Full node. Clients: apps, wallets.
- Subscribe to mesh progress: current layer, epoch, (state-root-hash/layer #)
- Subscribe to account's txs
- Subscribe to account's rewards
- Subscribe to Smesher's rewards
- Subscribe to Smesher's atxs
- Unsubscribe from any subscribed data stream - by subscription id ?
Overview: Advanced mesh readonly data. Provider: A full node which is synced from genesis under full data archival node. Clients: dashboard, explorer and backup agents data workers.
- Mesh / FullData / Streams
- Consistency: use canonical format for addresses e.g. 0x[20_bytes_suffix] and not byte arrays.
- Large results set support via pagination. Every response which returns a list of data items should have pagination support built-in. However, streaming pushed server results should contain all data and no pagination hints as the client is not expected to call the server for additional data in this use case.
- In methods that return enum values, we should always return the enum int value and not just string representation of an enum. For example /v1/gettransaction returns the status string e.g. 'confirmed' but not status id. e.g. 2.