* FIX: getBlocks optional params * v2.3.0 - new minor version for mempool-js - Add support for Bisq API - Add support for Liquid API - Change the main object to export network objects. - Change README.md instructions. Co-authored-by: softsimon <softsimon@users.noreply.github.com>
25 lines
556 B
HTML
25 lines
556 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Page Title</title>
|
|
<script src="https://mempool.space/mempool.js"></script>
|
|
<script>
|
|
const init = async () => {
|
|
const {
|
|
bisq: { transactions },
|
|
} = mempoolJS();
|
|
|
|
const txid = 'B1DgwRN92rdQ9xpEVCdXRfgeqGw9X4YtrZz';
|
|
|
|
const tx = await transactions.getTx({ txid });
|
|
console.log(tx);
|
|
|
|
const txs = await transactions.getTxs({ index: 0, length: 1 });
|
|
console.log(txs);
|
|
};
|
|
init();
|
|
</script>
|
|
</head>
|
|
<body></body>
|
|
</html>
|