I'm creating this issue to debate the features and responsabilities of the SEBAK API.
The SEBAK API provides endpoints to obtain data such as blocks, transactions, operations, accounts, etc. This allows third parties to get the SEBAK blockchain state in real-time.
Third parties currently have two options to query data, through path parameters and through query parameters.
Path parameters
/blocks/{height} returns the block for the provided height
/accounts/{address} returns the account for the provided address
/transactions/{hash} returns the transaction for the provided hash
Query parameters
limit=x returns x amount of records
reverse=x sorts data in x order
cursor=x returns data starting from cursor x
While these options allow third parties to retrieve specific information, they don't provide many ways to query the data. If a third party for example wants to obtain all accounts having a balance > 10000 BOS, then there is no way to actually to retrieve this data through the use of the SEBAK API. This is just one example, but the possibilities could be endless as far as querying options are concerned.
Will the SEBAK API ever expose endpoints and query parameters for statistical purposes and data analysis? Would that be considered as a (future) responsability of the SEBAK API?
I'm creating this issue to debate the features and responsabilities of the SEBAK API.
The SEBAK API provides endpoints to obtain data such as blocks, transactions, operations, accounts, etc. This allows third parties to get the SEBAK blockchain state in real-time.
Third parties currently have two options to query data, through path parameters and through query parameters.
Path parameters
/blocks/{height}returns the block for the provided height/accounts/{address}returns the account for the provided address/transactions/{hash}returns the transaction for the provided hashQuery parameters
limit=xreturns x amount of recordsreverse=xsorts data in x ordercursor=xreturns data starting from cursor xWhile these options allow third parties to retrieve specific information, they don't provide many ways to query the data. If a third party for example wants to obtain all accounts having a balance > 10000 BOS, then there is no way to actually to retrieve this data through the use of the SEBAK API. This is just one example, but the possibilities could be endless as far as querying options are concerned.
Will the SEBAK API ever expose endpoints and query parameters for statistical purposes and data analysis? Would that be considered as a (future) responsability of the SEBAK API?