From 40f1949654a441f4467fed6b3827f6ca40644532 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 01/15] 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.Placeholder.
+General
+ GET Difficulty Adjustment + +Markets
+ GET Market Currencies + GET Market Depth + GET Market HLOC + GET Markets + GET Market Offers + GET Market Ticker + GET Market Trades + GET Market Volumes + +General
+ GET Stats + +Addresses
+ GET Address + GET Address Transactions + GET Address Transactions Chain + GET Address Transactions Mempool + GET Address UTXO + +Assets
+ GET Assets + GET Asset Transactions + GET Asset Supply + +Blocks
+ GET Block + GET Block Header + GET Block Height + GET Block Raw + GET Block Status + GET Block Tip Height + GET Block Tip Hash + GET Block Transaction ID + GET Block Transaction IDs + GET Block Transactions + GET Blocks + GET Blocks + +Fees
+ GET Mempool Blocks Fees + GET Recommended Fees + +Mempool
+ GET Mempool + GET Mempool Transaction IDs + GET Mempool Recent + +Transactions
+ GET Children Pay for Parent + GET Transaction + GET Transaction Hex + GET Transaction Merkleblock Proof + GET Transaction Merkle Proof + GET Transaction Outspend + GET Transaction Outspends + GET Transaction Raw + GET Transaction Status + GET Transactions + POST Transaction +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
.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).: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
.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
.id
, height
, version
, timestamp
, bits
, nonce
, merkle_root
, tx_count
, size
, weight
,proof
,previousblockhash
.:height
.: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).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.: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_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.:start_height
if specified.:start_height
if specified.txid
, fee
, vsize
, and value
.txid
, fee
, vsize
, and value
.txid
, version
, locktime
, size
, weight
, fee
, vin
, vout
, and status
.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).spent
(boolean), txid
(optional), vin
(optional), and status
(optional, the status of the spending tx).confirmed
(boolean), block_height
(optional), and block_hash
(optional).confirmed
(boolean), block_height
(optional), and block_hash
(optional).txid
will be returned on success.txid
will be returned on success.Reference for the {{ network.val === '' ? 'Bitcoin' : network.val.charAt(0).toUpperCase() + network.val.slice(1) }}
txid
, version
, locktime
, size
, weight
, fee
, vin
, vout
, and status
.General
- GET Difficulty Adjustment + GET Difficulty AdjustmentMarkets
- GET Market Currencies - GET Market Depth - GET Market HLOC - GET Markets - GET Market Offers - GET Market Ticker - GET Market Trades - GET Market Volumes + GET Market Currencies + GET Market Depth + GET Market HLOC + GET Markets + GET Market Offers + GET Market Ticker + GET Market Trades + GET Market VolumesGeneral
- GET Stats + GET StatsAddresses
- GET Address - GET Address Transactions - GET Address Transactions Chain - GET Address Transactions Mempool - GET Address UTXO + GET Address + GET Address Transactions + GET Address Transactions Chain + GET Address Transactions Mempool + GET Address UTXOAssets
- GET Assets - GET Asset Transactions - GET Asset Supply + GET Assets + GET Asset Transactions + GET Asset SupplyBlocks
- GET Block - GET Block Header - GET Block Height - GET Block Raw - GET Block Status - GET Block Tip Height - GET Block Tip Hash - GET Block Transaction ID - GET Block Transaction IDs - GET Block Transactions - GET Blocks - GET Blocks + GET Block + GET Block Header + GET Block Height + GET Block Raw + GET Block Status + GET Block Tip Height + GET Block Tip Hash + GET Block Transaction ID + GET Block Transaction IDs + GET Block Transactions + GET Blocks + GET BlocksFees
- GET Mempool Blocks Fees - GET Recommended Fees + GET Mempool Blocks Fees + GET Recommended FeesMempool
- GET Mempool - GET Mempool Transaction IDs - GET Mempool Recent + GET Mempool + GET Mempool Transaction IDs + GET Mempool RecentTransactions
- GET Children Pay for Parent - GET Transaction - GET Transaction Hex - GET Transaction Merkleblock Proof - GET Transaction Merkle Proof - GET Transaction Outspend - GET Transaction Outspends - GET Transaction Raw - GET Transaction Status - GET Transactions - POST Transaction + GET Children Pay for Parent + GET Transaction + GET Transaction Hex + GET Transaction Merkleblock Proof + GET Transaction Merkle Proof + GET Transaction Outspend + GET Transaction Outspends + GET Transaction Raw + GET Transaction Status + GET Transactions + POST Transaction