From 3d4367f5ca682020613b5b84820948014f6ea66e Mon Sep 17 00:00:00 2001 From: hunicus <93150691+hunicus@users.noreply.github.com> Date: Wed, 15 Dec 2021 13:17:37 -0500 Subject: [PATCH] Create skeleton layout for desktop docs nav This includes switching to a 2-column layout (1 for nav and 1 for content) and moving footer links to docs component so floats can be cleared properly. --- .../components/docs/api-docs.component.html | 1670 ++++++++--------- .../components/docs/api-docs.component.scss | 20 + .../app/components/docs/docs.component.html | 8 + .../app/components/docs/docs.component.scss | 4 + 4 files changed, 867 insertions(+), 835 deletions(-) diff --git a/frontend/src/app/components/docs/api-docs.component.html b/frontend/src/app/components/docs/api-docs.component.html index d683676b5..a09705b47 100644 --- a/frontend/src/app/components/docs/api-docs.component.html +++ b/frontend/src/app/components/docs/api-docs.component.html @@ -3,852 +3,860 @@
Reference for the {{ network.val === '' ? 'Bitcoin' : network.val.charAt(0).toUpperCase() + network.val.slice(1) }}
Placeholder.
+Reference for the {{ network.val === '' ? 'Bitcoin' : network.val.charAt(0).toUpperCase() + network.val.slice(1) }}
address, chain_stats, and mempool_stats. {{ '{' }}chain,mempool{{ '}' }}_stats each contain an object with tx_count, funded_txo_count, funded_txo_sum, spent_txo_count, and spent_txo_sum.:last_seen_txid (see below).txid, vout, value, and status (with the status of the funding tx).valuecommitment field that may appear in place of value, plus the following additional fields: asset/assetcommitment, nonce/noncecommitment, surjection_proof, and range_proof.id, height, version, timestamp, bits, nonce, merkle_root, tx_count, size, weight,proof,previousblockhash.:height.in_best_chain (boolean, false for orphaned blocks), next_best (the hash of the next block, only available for blocks in the best chain).:index within the specified block.start_index). Transactions returned here do not have the status field, since all the transactions share the same block and confirmation status.:start_height if specified.:start_height if specified.txid, fee, vsize, and value.txid, version, locktime, size, weight, fee, vin, vout, and status.spent (boolean), txid (optional), vin (optional), and status (optional, the status of the spending tx).confirmed (boolean), block_height (optional), and block_hash (optional).txid will be returned on success.address, chain_stats, and mempool_stats. {{ '{' }}chain,mempool{{ '}' }}_stats each contain an object with tx_count, funded_txo_count, funded_txo_sum, spent_txo_count, and spent_txo_sum.:last_seen_txid (see below).txid, vout, value, and status (with the status of the funding tx).valuecommitment field that may appear in place of value, plus the following additional fields: asset/assetcommitment, nonce/noncecommitment, surjection_proof, and range_proof.id, height, version, timestamp, bits, nonce, merkle_root, tx_count, size, weight,proof,previousblockhash.:height.in_best_chain (boolean, false for orphaned blocks), next_best (the hash of the next block, only available for blocks in the best chain).:index within the specified block.start_index). Transactions returned here do not have the status field, since all the transactions share the same block and confirmation status.:start_height if specified.:start_height if specified.txid, fee, vsize, and value.txid, version, locktime, size, weight, fee, vin, vout, and status.spent (boolean), txid (optional), vin (optional), and status (optional, the status of the spending tx).confirmed (boolean), block_height (optional), and block_hash (optional).txid will be returned on success.