Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Enhancement: API request for LIB timestamp #10128

Open
cc32d9 opened this issue Mar 13, 2021 · 0 comments
Open

Enhancement: API request for LIB timestamp #10128

cc32d9 opened this issue Mar 13, 2021 · 0 comments

Comments

@cc32d9
Copy link
Contributor

cc32d9 commented Mar 13, 2021

This document explains the importance of LIB timestamp for applications:
https://github.com/cc32d9/cc32d9_ideas_for_EOSIO/blob/master/Temporary_history_in_contract_tables.md

Currently LIB timestamp requires two API calls, get_info and get_block, and get_block response is quite bulky sometimes.

The enhancement would bring a cheaper way to retrieve the LIB timestamp: either as a new field in get_info response, or a new API call, like /v1/chain/get_lib which would return the LIB block number, hash and timestamp.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants