1

Trying to create a scrip to convert wordpress posts/pages date and display it as blockNumber instead. For context, a similar question also posted on this stack.

Do anyone knows if there's any open API or where the blockNumber can be retrieved from?

2

1 Answer 1

2

You can use Bitquery Bitcoin APIs. https://docs.bitquery.io/v1/docs/category/bitcoin-examples

Here's the query to get latest block info: https://ide.bitquery.io/latest-Bitcoin-blocks-number

You can create a free developer account and use it.

Full disclosure: I work at Bitquery. Feel free to ask questions in our support channels.

0

Not the answer you're looking for? Browse other questions tagged or ask your own question.