Skip to content

Instantly share code, notes, and snippets.

@sayon-bitquery
Created June 9, 2021 11:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sayon-bitquery/45c718e6138a94b1c375be50cb518da6 to your computer and use it in GitHub Desktop.
Save sayon-bitquery/45c718e6138a94b1c375be50cb518da6 to your computer and use it in GitHub Desktop.
Finally, display the data as shown
return (
<div>
<h1>BitQuery & React</h1>
<ul>
{data.bitcoin.blocks.map((query) => (
<li key={query.height}>{query.blockHash}</li>
))}
</ul>
</div>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment