-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
Description
The ask is to prepare new schema for new improved API v2.
List of endpoints required for now (spec is still in progress):
- current head layer number and nodeID hash
- known chain head block/layer
- current highest layer
- sync status (in sync, syncing, offline)
- detail of given layer by layer number
- empty layer, or return single canonical block with:
- block header/block ID
- list of transactions (effective and ineffective, possibly with option to filter effective only)
- empty layer, or return single canonical block with:
- account details by address
- current balance and counter
- projected balance and counter
- broadcast raw, signed tx
- return txid
- tx by txid
- state (unknown, pending, contextually invalid/malformed, duplicate, ineffective/contextually invalid, in mempool, included in block, passed hare, passed tortoise/verified, reorg'ed out/replaced)
- gas consumed
- execution success/failure (receipt)
- tx type
- single sig spend
- multi sig spend
- single sig spawn
- multi sig spawn
- principal
- parsed contents
- amount
- recipient
- gas estimation
- recommended maxGas per tx type
Metadata
Metadata
Assignees
Labels
No labels