- Ignore files in dist folder, adding .gitkeep instead. - Update readme text with CND instructions. - Update readme badges. - Update readme typo. - Update all the html examples with new CDN link.
27 lines
621 B
HTML
27 lines
621 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Page Title</title>
|
|
<script
|
|
type="text/javascript"
|
|
src="https://mempool.space/mempool.js"
|
|
></script>
|
|
<script>
|
|
const init = async () => {
|
|
const { mempool } = mempoolJS();
|
|
|
|
const getMempool = await mempool.getMempool();
|
|
console.log(getMempool);
|
|
|
|
const getMempoolRecent = await mempool.getMempoolRecent();
|
|
console.log(getMempoolRecent);
|
|
|
|
const getMempoolTxids = await mempool.getMempoolTxids();
|
|
console.log(getMempoolTxids);
|
|
};
|
|
init();
|
|
</script>
|
|
</head>
|
|
<body></body>
|
|
</html>
|