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) }} API service.

+
+

Placeholder.

+
-
-

General

- +
- - - GET Difficulty Adjustment - - -
+

Reference for the {{ network.val === '' ? 'Bitcoin' : network.val.charAt(0).toUpperCase() + network.val.slice(1) }} API service.

+ +
+

General

+ + + + + GET Difficulty Adjustment + + +
+ +
+
Description
+
Returns details about difficulty adjustment.
+
+ +
+
+
+ +
+
+ +
+

Markets

+ + + + + GET Market Currencies + +
Description
-
Returns details about difficulty adjustment.
+
Provides list of available currencies for a given base currency.
- -
- - + + + - -
- -
-

Markets

- - - - - GET Market Currencies - - - -
-
Description
-
Provides list of available currencies for a given base currency.
-
- -
-
- - - - GET Market Depth - - - -
-
Description
-
Provides list of open offer prices for a single market.
-
- -
-
- - - - GET Market HLOC - - - -
-
Description
-
Provides hi/low/open/close data for a given market. This can be used to generate a candlestick chart.
-
- -
-
- - - - GET Markets - - - -
-
Description
-
Provides list of available markets.
-
- -
-
- - - - GET Market Offers - - - -
-
Description
-
Provides list of open offer details for a single market.
-
- -
-
- - - - GET Market Ticker - - - -
-
Description
-
Provides 24 hour price ticker for single market or all markets
-
- -
-
- - - - GET Market Trades - - - -
-
Description
-
Provides list of completed trades for a single market.
-
- -
-
- - - - GET Market Volumes - - - -
-
Description
-
Provides periodic volume data in terms of base currency for one or all markets.
-
- -
-
- -
-
- -
-

General

- - - - - GET Stats - - - -
-
Description
-
Returns statistics about all Bisq transactions.
-
- -
-
- -
-
- -
-

Addresses

- - - - - GET Address - - - -
-
Description
-
Returns details about an address. Available fields: 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.
-
- -
-
- - - - GET Address Transactions - - - -
-
Description
-
Get transaction history for the specified address/scripthash, sorted with newest first. Returns up to 50 mempool transactions plus the first 25 confirmed transactions. You can request more confirmed transactions using :last_seen_txid (see below).
-
- -
-
- - - - GET Address Transactions Chain - - - -
-
Description
-
Get confirmed transaction history for the specified address/scripthash, sorted with newest first. Returns 25 transactions per page. More can be requested by specifying the last txid seen by the previous query.
-
- -
-
- - - - GET Address Transactions Mempool - - - -
-
Description
-
Get unconfirmed transaction history for the specified address/scripthash. Returns up to 50 transactions (no paging).
-
- -
-
- - - - GET Address UTXO - - - -
-
Description
-
Get the list of unspent transaction outputs associated with the address/scripthash. Available fields: txid, vout, value, and status (with the status of the funding tx).There is also a valuecommitment field that may appear in place of value, plus the following additional fields: asset/assetcommitment, nonce/noncecommitment, surjection_proof, and range_proof.
-
- -
-
- -
-
- -
-

Assets

- - - - - GET Assets - - - -
-
Description
-
Returns information about a Liquid asset.
-
- -
-
- - - - GET Asset Transactions - - - -
-
Description
-
Returns transactions associated with the specified Liquid asset. For the network's native asset, returns a list of peg in, peg out, and burn transactions. For user-issued assets, returns a list of issuance, reissuance, and burn transactions. Does not include regular transactions transferring this asset.
-
- -
-
- - - - GET Asset Supply - - - -
-
Description
-
Get the current total supply of the specified asset. For the native asset (L-BTC), this is calculated as [chain,mempool]_stats.peg_in_amount - [chain,mempool]_stats.peg_out_amount - [chain,mempool]_stats.burned_amount. For issued assets, this is calculated as [chain,mempool]_stats.issued_amount - [chain,mempool]_stats.burned_amount. Not available for assets with blinded issuances. If /decimal is specified, returns the supply as a decimal according to the asset's divisibility. Otherwise, returned in base units.
-
- -
-
- -
-
- -
-

Blocks

- - - - - GET Block - - - -
-
Description
-
Returns details about a block. Available fields: id, height, version, timestamp, bits, nonce, merkle_root, tx_count, size, weight, proof, and previousblockhash.
-
- -
-
- - - - GET Block Header - - - -
-
Description
-
Returns the hex-encoded block header.
-
- -
-
- - - - GET Block Height - - - -
-
Description
-
Returns the hash of the block currently at :height.
-
- -
-
- - - - GET Block Raw - - - -
-
Description
-
Returns the raw block representation in binary.
-
- -
-
- - - - GET Block Status - - -
Get Block Status
- -
-
Description
-
Returns the confirmation status of a block. Available fields: in_best_chain (boolean, false for orphaned blocks), next_best (the hash of the next block, only available for blocks in the best chain).
-
- -
-
- - - - GET Block Tip Height - - - -
-
Description
-
Returns the height of the last block.
-
- -
-
- - - - GET Block Tip Hash - - - -
-
Description
-
Returns the hash of the last block.
-
- -
-
- - - - GET Block Transaction ID - - - -
-
Description
-
Returns the transaction at index :index within the specified block.
-
- -
-
- - - - GET Block Transaction IDs - - - -
-
Description
-
Returns a list of all txids in the block.
-
- -
-
- - - - GET Block Transactions - - - -
-
Description
-
Returns a list of transactions in the block (up to 25 transactions beginning at start_index). Transactions returned here do not have the status field, since all the transactions share the same block and confirmation status.
-
- -
-
- - - - GET Blocks - - - -
-
Description
-
Returns the 10 newest blocks starting at the tip or at :start_height if specified.
-
- -
-
- - - - GET Blocks - - - -
-
Description
-
Returns the 10 newest blocks starting at the tip or at :start_height if specified.
-
- -
-
- -
-
- -
-

Fees

- - - - - GET Mempool Blocks Fees - - - -
-
Description
-
Returns current mempool as projected blocks.
-
- -
-
- - - - GET Recommended Fees - - - -
-
Description
-
Returns our currently suggested fees for new transactions.
-
- -
-
- -
-
- -
-

Mempool

- - - - - GET Mempool - - - -
-
Description
-
Returns current mempool backlog statistics.
-
- -
-
- - - - GET Mempool Transactions IDs - - - -
-
Description
-
Get the full list of txids in the mempool as an array. The order of the txids is arbitrary and does not match bitcoind.
-
- -
-
- - - - GET Mempool Recent - - - -
-
Description
-
Get a list of the last 10 transactions to enter the mempool. Each transaction object contains simplified overview data, with the following fields: txid, fee, vsize, and value.
-
- -
-
- -
-
- -
-

Transactions

- - - - - GET Children Pay for Parent - - - -
-
Description
-
Returns the ancestors and the best descendant fees for a transaction.
-
- -
-
- - - - GET Transaction - - - -
-
Description
-
Returns details about a transaction. Available fields: txid, version, locktime, size, weight, fee, vin, vout, and status.
-
- -
-
- - - - GET Transaction Hex - - -
-
Endpoint
- GET {{ baseNetworkUrl }}/api/tx/:txid/hex + + + GET Market Depth + + + -
-
Description
-
Returns a transaction serialized as hex.
-
- -
-
+
+
Description
+
Provides list of open offer prices for a single market.
+
+ + + - - - GET Transaction Merkleblock Proof - - - -
-
Description
-
Returns a merkle inclusion proof for the transaction using bitcoind's merkleblock format.
-
- -
-
+ + + GET Market HLOC + + + +
+
Description
+
Provides hi/low/open/close data for a given market. This can be used to generate a candlestick chart.
+
+ +
+
- - - GET Transaction Merkle Proof - - - -
-
Description
-
Returns a merkle inclusion proof for the transaction using Electrum's blockchain.transaction.get_merkle format.
-
- -
-
+ + + GET Markets + + + +
+
Description
+
Provides list of available markets.
+
+ +
+
- - - GET Transaction Outspend - - - -
-
Description
-
Returns the spending status of a transaction output. Available fields: spent (boolean), txid (optional), vin (optional), and status (optional, the status of the spending tx).
-
- -
-
+ + + GET Market Offers + + + +
+
Description
+
Provides list of open offer details for a single market.
+
+ +
+
- - - GET Transaction Outspends - - - -
-
Description
-
Returns the spending status of all transaction outputs.
-
- -
-
+ + + GET Market Ticker + + + +
+
Description
+
Provides 24 hour price ticker for single market or all markets
+
+ +
+
- - - GET Transaction Raw - - - -
-
Description
-
Returns a transaction as binary data.
-
- -
-
+ + + GET Market Trades + + + +
+
Description
+
Provides list of completed trades for a single market.
+
+ +
+
- - - GET Transaction Status - - - -
-
Description
-
Returns the confirmation status of a transaction. Available fields: confirmed (boolean), block_height (optional), and block_hash (optional).
-
- -
-
+ + + GET Market Volumes + + + +
+
Description
+
Provides periodic volume data in terms of base currency for one or all markets.
+
+ +
+
- - - GET Transactions - - -
Get Mempool Txids
- -
-
Description
-
Returns :length of latest Bisq transactions, starting from :index.
-
- -
-
+ +
- - - POST Transaction - - -
-
Endpoint
-
POST /api/tx
-
-
-
Description
-
Broadcast a raw transaction to the network. The transaction should be provided as hex in the request body. The txid will be returned on success.
-
- -
-
+
+

General

+ - + + + GET Stats + + + +
+
Description
+
Returns statistics about all Bisq transactions.
+
+ +
+
+ + +
+ +
+

Addresses

+ + + + + GET Address + + + +
+
Description
+
Returns details about an address. Available fields: 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.
+
+ +
+
+ + + + GET Address Transactions + + + +
+
Description
+
Get transaction history for the specified address/scripthash, sorted with newest first. Returns up to 50 mempool transactions plus the first 25 confirmed transactions. You can request more confirmed transactions using :last_seen_txid (see below).
+
+ +
+
+ + + + GET Address Transactions Chain + + + +
+
Description
+
Get confirmed transaction history for the specified address/scripthash, sorted with newest first. Returns 25 transactions per page. More can be requested by specifying the last txid seen by the previous query.
+
+ +
+
+ + + + GET Address Transactions Mempool + + + +
+
Description
+
Get unconfirmed transaction history for the specified address/scripthash. Returns up to 50 transactions (no paging).
+
+ +
+
+ + + + GET Address UTXO + + + +
+
Description
+
Get the list of unspent transaction outputs associated with the address/scripthash. Available fields: txid, vout, value, and status (with the status of the funding tx).There is also a valuecommitment field that may appear in place of value, plus the following additional fields: asset/assetcommitment, nonce/noncecommitment, surjection_proof, and range_proof.
+
+ +
+
+ +
+
+ +
+

Assets

+ + + + + GET Assets + + + +
+
Description
+
Returns information about a Liquid asset.
+
+ +
+
+ + + + GET Asset Transactions + + + +
+
Description
+
Returns transactions associated with the specified Liquid asset. For the network's native asset, returns a list of peg in, peg out, and burn transactions. For user-issued assets, returns a list of issuance, reissuance, and burn transactions. Does not include regular transactions transferring this asset.
+
+ +
+
+ + + + GET Asset Supply + + + +
+
Description
+
Get the current total supply of the specified asset. For the native asset (L-BTC), this is calculated as [chain,mempool]_stats.peg_in_amount - [chain,mempool]_stats.peg_out_amount - [chain,mempool]_stats.burned_amount. For issued assets, this is calculated as [chain,mempool]_stats.issued_amount - [chain,mempool]_stats.burned_amount. Not available for assets with blinded issuances. If /decimal is specified, returns the supply as a decimal according to the asset's divisibility. Otherwise, returned in base units.
+
+ +
+
+ +
+
+ +
+

Blocks

+ + + + + GET Block + + + +
+
Description
+
Returns details about a block. Available fields: id, height, version, timestamp, bits, nonce, merkle_root, tx_count, size, weight, proof, and previousblockhash.
+
+ +
+
+ + + + GET Block Header + + + +
+
Description
+
Returns the hex-encoded block header.
+
+ +
+
+ + + + GET Block Height + + + +
+
Description
+
Returns the hash of the block currently at :height.
+
+ +
+
+ + + + GET Block Raw + + + +
+
Description
+
Returns the raw block representation in binary.
+
+ +
+
+ + + + GET Block Status + + +
Get Block Status
+ +
+
Description
+
Returns the confirmation status of a block. Available fields: in_best_chain (boolean, false for orphaned blocks), next_best (the hash of the next block, only available for blocks in the best chain).
+
+ +
+
+ + + + GET Block Tip Height + + + +
+
Description
+
Returns the height of the last block.
+
+ +
+
+ + + + GET Block Tip Hash + + + +
+
Description
+
Returns the hash of the last block.
+
+ +
+
+ + + + GET Block Transaction ID + + + +
+
Description
+
Returns the transaction at index :index within the specified block.
+
+ +
+
+ + + + GET Block Transaction IDs + + + +
+
Description
+
Returns a list of all txids in the block.
+
+ +
+
+ + + + GET Block Transactions + + + +
+
Description
+
Returns a list of transactions in the block (up to 25 transactions beginning at start_index). Transactions returned here do not have the status field, since all the transactions share the same block and confirmation status.
+
+ +
+
+ + + + GET Blocks + + + +
+
Description
+
Returns the 10 newest blocks starting at the tip or at :start_height if specified.
+
+ +
+
+ + + + GET Blocks + + + +
+
Description
+
Returns the 10 newest blocks starting at the tip or at :start_height if specified.
+
+ +
+
+ +
+
+ +
+

Fees

+ + + + + GET Mempool Blocks Fees + + + +
+
Description
+
Returns current mempool as projected blocks.
+
+ +
+
+ + + + GET Recommended Fees + + + +
+
Description
+
Returns our currently suggested fees for new transactions.
+
+ +
+
+ +
+
+ +
+

Mempool

+ + + + + GET Mempool + + + +
+
Description
+
Returns current mempool backlog statistics.
+
+ +
+
+ + + + GET Mempool Transactions IDs + + + +
+
Description
+
Get the full list of txids in the mempool as an array. The order of the txids is arbitrary and does not match bitcoind.
+
+ +
+
+ + + + GET Mempool Recent + + + +
+
Description
+
Get a list of the last 10 transactions to enter the mempool. Each transaction object contains simplified overview data, with the following fields: txid, fee, vsize, and value.
+
+ +
+
+ +
+
+ +
+

Transactions

+ + + + + GET Children Pay for Parent + + + +
+
Description
+
Returns the ancestors and the best descendant fees for a transaction.
+
+ +
+
+ + + + GET Transaction + + + +
+
Description
+
Returns details about a transaction. Available fields: txid, version, locktime, size, weight, fee, vin, vout, and status.
+
+ +
+
+ + + + GET Transaction Hex + + + +
+
Description
+
Returns a transaction serialized as hex.
+
+ +
+
+ + + + GET Transaction Merkleblock Proof + + + +
+
Description
+
Returns a merkle inclusion proof for the transaction using bitcoind's merkleblock format.
+
+ +
+
+ + + + GET Transaction Merkle Proof + + + +
+
Description
+
Returns a merkle inclusion proof for the transaction using Electrum's blockchain.transaction.get_merkle format.
+
+ +
+
+ + + + GET Transaction Outspend + + + +
+
Description
+
Returns the spending status of a transaction output. Available fields: spent (boolean), txid (optional), vin (optional), and status (optional, the status of the spending tx).
+
+ +
+
+ + + + GET Transaction Outspends + + + +
+
Description
+
Returns the spending status of all transaction outputs.
+
+ +
+
+ + + + GET Transaction Raw + + + +
+
Description
+
Returns a transaction as binary data.
+
+ +
+
+ + + + GET Transaction Status + + + +
+
Description
+
Returns the confirmation status of a transaction. Available fields: confirmed (boolean), block_height (optional), and block_hash (optional).
+
+ +
+
+ + + + GET Transactions + + +
Get Mempool Txids
+ +
+
Description
+
Returns :length of latest Bisq transactions, starting from :index.
+
+ +
+
+ + + + POST Transaction + + +
+
Endpoint
+
POST /api/tx
+
+
+
Description
+
Broadcast a raw transaction to the network. The transaction should be provided as hex in the request body. The txid will be returned on success.
+
+ +
+
+ +
+ +
@@ -868,13 +876,5 @@
-
- -
- Terms of Service - | - Privacy Policy -
- diff --git a/frontend/src/app/components/docs/api-docs.component.scss b/frontend/src/app/components/docs/api-docs.component.scss index e9d2cf52e..077bc3dc2 100644 --- a/frontend/src/app/components/docs/api-docs.component.scss +++ b/frontend/src/app/components/docs/api-docs.component.scss @@ -72,6 +72,26 @@ li.nav-item { padding: 15px; } +.doc-nav-desktop { + width: 25%; + float: left; +} + +.doc-content { + width: 75%; + float: right; +} + +@media (max-width: 992px){ + .doc-nav-desktop { + display: none; + } + + .doc-content { + width: 100%; + } +} + #restAPI .api-category { margin: 30px 0; } diff --git a/frontend/src/app/components/docs/docs.component.html b/frontend/src/app/components/docs/docs.component.html index f67ed8e32..8dc4a9e72 100644 --- a/frontend/src/app/components/docs/docs.component.html +++ b/frontend/src/app/components/docs/docs.component.html @@ -27,5 +27,13 @@
+
+ + + diff --git a/frontend/src/app/components/docs/docs.component.scss b/frontend/src/app/components/docs/docs.component.scss index 404782585..0f4b879eb 100644 --- a/frontend/src/app/components/docs/docs.component.scss +++ b/frontend/src/app/components/docs/docs.component.scss @@ -2,3 +2,7 @@ text-align: left; padding-top: 10px; } + +#footer { + clear: both; +} From 3ae46e6ba18790fe20b75dbcbf3f16d6e9fbc479 Mon Sep 17 00:00:00 2001 From: hunicus <93150691+hunicus@users.noreply.github.com> Date: Wed, 15 Dec 2021 21:31:00 -0500 Subject: [PATCH 02/15] Make desktop docs-nav sticky on scroll --- .../src/app/components/docs/api-docs.component.html | 4 ++-- .../src/app/components/docs/api-docs.component.scss | 9 +++++++++ .../src/app/components/docs/api-docs.component.ts | 11 +++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/components/docs/api-docs.component.html b/frontend/src/app/components/docs/api-docs.component.html index a09705b47..6fe7110ae 100644 --- a/frontend/src/app/components/docs/api-docs.component.html +++ b/frontend/src/app/components/docs/api-docs.component.html @@ -3,8 +3,8 @@
-
-

Placeholder.

+
+ Placeholder.
diff --git a/frontend/src/app/components/docs/api-docs.component.scss b/frontend/src/app/components/docs/api-docs.component.scss index 077bc3dc2..8049ef9aa 100644 --- a/frontend/src/app/components/docs/api-docs.component.scss +++ b/frontend/src/app/components/docs/api-docs.component.scss @@ -74,9 +74,18 @@ li.nav-item { .doc-nav-desktop { width: 25%; +} + +.doc-nav-desktop.relative { float: left; } +.doc-nav-desktop.fixed { + float: unset; + position: fixed; + top: 20px; +} + .doc-content { width: 75%; float: right; diff --git a/frontend/src/app/components/docs/api-docs.component.ts b/frontend/src/app/components/docs/api-docs.component.ts index a38ded836..724ecdc3f 100644 --- a/frontend/src/app/components/docs/api-docs.component.ts +++ b/frontend/src/app/components/docs/api-docs.component.ts @@ -17,6 +17,7 @@ export class ApiDocsComponent implements OnInit { code: any; baseNetworkUrl = ''; @Input() restTabActivated: Boolean; + docsNavPosition = "relative"; constructor( private stateService: StateService, @@ -35,6 +36,16 @@ export class ApiDocsComponent implements OnInit { }) ); + //to toggle fixed menu for desktop navigation + let that = this; + window.addEventListener('scroll', function() { + if( window.pageYOffset > 182 ) { + that.docsNavPosition = "fixed"; + } else { + that.docsNavPosition = "relative"; + } + }); + if (document.location.port !== '') { this.hostname = `${this.hostname}:${document.location.port}`; } From 1a8fd23b05b44de8dc68c1273c5dec2c7c44b862 Mon Sep 17 00:00:00 2001 From: hunicus <93150691+hunicus@users.noreply.github.com> Date: Wed, 15 Dec 2021 22:55:29 -0500 Subject: [PATCH 03/15] Add links and styling to fixed desktop docs nav --- .../components/docs/api-docs.component.html | 66 ++++++++++++++++++- .../components/docs/api-docs.component.scss | 38 ++++++++++- 2 files changed, 101 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/components/docs/api-docs.component.html b/frontend/src/app/components/docs/api-docs.component.html index 6fe7110ae..40aed1cd9 100644 --- a/frontend/src/app/components/docs/api-docs.component.html +++ b/frontend/src/app/components/docs/api-docs.component.html @@ -4,7 +4,71 @@
diff --git a/frontend/src/app/components/docs/api-docs.component.scss b/frontend/src/app/components/docs/api-docs.component.scss index 8049ef9aa..089e8d2cf 100644 --- a/frontend/src/app/components/docs/api-docs.component.scss +++ b/frontend/src/app/components/docs/api-docs.component.scss @@ -73,27 +73,61 @@ li.nav-item { } .doc-nav-desktop { - width: 25%; + width: 300px; } .doc-nav-desktop.relative { float: left; + overflow: hidden; } .doc-nav-desktop.fixed { float: unset; position: fixed; top: 20px; + overflow-y: auto; + height: calc(100vh - 50px); + scrollbar-color: #2d3348 #11131f; + scrollbar-width: thin; +} +::-webkit-scrollbar { + width: 3px; +} +::-webkit-scrollbar-track { + background: #11131f; +} +::-webkit-scrollbar-thumb { + background-color: #2d3348; + border-radius: 5px; + border: none; +} + +.doc-nav-desktop p { + color: #4a68b9; + font-weight: 700; + margin: 10px 0; + margin: 15px 0 10px 0; +} +.doc-nav-desktop p:first-child { + margin-top: 0 +} + +.doc-nav-desktop a { + color: #fff; + text-decoration: none; + display: block; + margin: 5px 0; } .doc-content { - width: 75%; + width: calc(100% - 330px); float: right; } @media (max-width: 992px){ .doc-nav-desktop { display: none; + height: auto; } .doc-content { From 010381aac460b8947cb048b163f27874c39e7733 Mon Sep 17 00:00:00 2001 From: hunicus <93150691+hunicus@users.noreply.github.com> Date: Thu, 16 Dec 2021 08:46:51 -0500 Subject: [PATCH 04/15] Convert accordions to plain html --- .../components/docs/api-docs.component.html | 1322 +++++++---------- 1 file changed, 564 insertions(+), 758 deletions(-) diff --git a/frontend/src/app/components/docs/api-docs.component.html b/frontend/src/app/components/docs/api-docs.component.html index 40aed1cd9..5f7d725e8 100644 --- a/frontend/src/app/components/docs/api-docs.component.html +++ b/frontend/src/app/components/docs/api-docs.component.html @@ -76,849 +76,655 @@

Reference for the {{ network.val === '' ? 'Bitcoin' : network.val.charAt(0).toUpperCase() + network.val.slice(1) }} API service.

-

General

- + +

General

- - - GET Difficulty Adjustment - - -
- -
-
Description
-
Returns details about difficulty adjustment.
-
- -
-
-
+
+ GET Difficulty Adjustment +
+ +
+
Description
+
Returns details about difficulty adjustment.
+
+ +
+
-
+

Markets

- - - - GET Market Currencies - - - -
-
Description
-
Provides list of available currencies for a given base currency.
-
- -
-
+
+ GET Market Currencies + +
+
Description
+
Provides list of available currencies for a given base currency.
+
+ +
- - - GET Market Depth - - - -
-
Description
-
Provides list of open offer prices for a single market.
-
- -
-
+
+ GET Market Depth + +
+
Description
+
Provides list of open offer prices for a single market.
+
+ +
- - - GET Market HLOC - - - -
-
Description
-
Provides hi/low/open/close data for a given market. This can be used to generate a candlestick chart.
-
- -
-
+
+ GET Market HLOC + +
+
Description
+
Provides hi/low/open/close data for a given market. This can be used to generate a candlestick chart.
+
+ +
- - - GET Markets - - - -
-
Description
-
Provides list of available markets.
-
- -
-
+
+ GET Markets + +
+
Description
+
Provides list of available markets.
+
+ +
- - - GET Market Offers - - - -
-
Description
-
Provides list of open offer details for a single market.
-
- -
-
+
+ GET Market Offers + +
+
Description
+
Provides list of open offer details for a single market.
+
+ +
- - - GET Market Ticker - - - -
-
Description
-
Provides 24 hour price ticker for single market or all markets
-
- -
-
+
+ GET Market Ticker + +
+
Description
+
Provides 24 hour price ticker for single market or all markets
+
+ +
- - - GET Market Trades - - - -
-
Description
-
Provides list of completed trades for a single market.
-
- -
-
+
+ GET Market Trades + +
+
Description
+
Provides list of completed trades for a single market.
+
+ +
- - - GET Market Volumes - - - -
-
Description
-
Provides periodic volume data in terms of base currency for one or all markets.
-
- -
-
+
+ GET Market Volumes + +
+
Description
+
Provides periodic volume data in terms of base currency for one or all markets.
+
+ +
-
-

General

- + +

General

- - - GET Stats - - - -
-
Description
-
Returns statistics about all Bisq transactions.
-
- -
-
+
+ GET Stats + +
+
Description
+
Returns statistics about all Bisq transactions.
+
+ +
-
+

Addresses

- - - - GET Address - - - -
-
Description
-
Returns details about an address. Available fields: 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.
-
- -
-
+
+ GET Address + +
+
Description
+
Returns details about an address. Available fields: 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.
+
+ +
- - - GET Address Transactions - - - -
-
Description
-
Get transaction history for the specified address/scripthash, sorted with newest first. Returns up to 50 mempool transactions plus the first 25 confirmed transactions. You can request more confirmed transactions using :last_seen_txid (see below).
-
- -
-
+
+ GET Address Transactions + +
+
Description
+
Get transaction history for the specified address/scripthash, sorted with newest first. Returns up to 50 mempool transactions plus the first 25 confirmed transactions. You can request more confirmed transactions using :last_seen_txid (see below).
+
+ +
- - - GET Address Transactions Chain - - - -
-
Description
-
Get confirmed transaction history for the specified address/scripthash, sorted with newest first. Returns 25 transactions per page. More can be requested by specifying the last txid seen by the previous query.
-
- -
-
+
+ GET Address Transactions Chain + +
+
Description
+
Get confirmed transaction history for the specified address/scripthash, sorted with newest first. Returns 25 transactions per page. More can be requested by specifying the last txid seen by the previous query.
+
+ +
- - - GET Address Transactions Mempool - - - -
-
Description
-
Get unconfirmed transaction history for the specified address/scripthash. Returns up to 50 transactions (no paging).
-
- -
-
+
+ GET Address Transactions Mempool + +
+
Description
+
Get unconfirmed transaction history for the specified address/scripthash. Returns up to 50 transactions (no paging).
+
+ +
- - - GET Address UTXO - - - -
-
Description
-
Get the list of unspent transaction outputs associated with the address/scripthash. Available fields: txid, vout, value, and status (with the status of the funding tx).There is also a valuecommitment field that may appear in place of value, plus the following additional fields: asset/assetcommitment, nonce/noncecommitment, surjection_proof, and range_proof.
-
- -
-
+
+ GET Address UTXO + +
+
Description
+
Get the list of unspent transaction outputs associated with the address/scripthash. Available fields: txid, vout, value, and status (with the status of the funding tx).There is also a valuecommitment field that may appear in place of value, plus the following additional fields: asset/assetcommitment, nonce/noncecommitment, surjection_proof, and range_proof.
+
+ +
-
+

Assets

- - - - GET Assets - - - -
-
Description
-
Returns information about a Liquid asset.
-
- -
-
+
+ GET Assets + +
+
Description
+
Returns information about a Liquid asset.
+
+ +
- - - GET Asset Transactions - - - -
-
Description
-
Returns transactions associated with the specified Liquid asset. For the network's native asset, returns a list of peg in, peg out, and burn transactions. For user-issued assets, returns a list of issuance, reissuance, and burn transactions. Does not include regular transactions transferring this asset.
-
- -
-
+
+ GET Asset Transactions + +
+
Description
+
Returns transactions associated with the specified Liquid asset. For the network's native asset, returns a list of peg in, peg out, and burn transactions. For user-issued assets, returns a list of issuance, reissuance, and burn transactions. Does not include regular transactions transferring this asset.
+
+ +
- - - GET Asset Supply - - - -
-
Description
-
Get the current total supply of the specified asset. For the native asset (L-BTC), this is calculated as [chain,mempool]_stats.peg_in_amount - [chain,mempool]_stats.peg_out_amount - [chain,mempool]_stats.burned_amount. For issued assets, this is calculated as [chain,mempool]_stats.issued_amount - [chain,mempool]_stats.burned_amount. Not available for assets with blinded issuances. If /decimal is specified, returns the supply as a decimal according to the asset's divisibility. Otherwise, returned in base units.
-
- -
-
+
+ GET Asset Supply + +
+
Description
+
Get the current total supply of the specified asset. For the native asset (L-BTC), this is calculated as [chain,mempool]_stats.peg_in_amount - [chain,mempool]_stats.peg_out_amount - [chain,mempool]_stats.burned_amount. For issued assets, this is calculated as [chain,mempool]_stats.issued_amount - [chain,mempool]_stats.burned_amount. Not available for assets with blinded issuances. If /decimal is specified, returns the supply as a decimal according to the asset's divisibility. Otherwise, returned in base units.
+
+ +
-
+

Blocks

- - - - GET Block - - - -
-
Description
-
Returns details about a block. Available fields: id, height, version, timestamp, bits, nonce, merkle_root, tx_count, size, weight, proof, and previousblockhash.
-
- -
-
+
+ GET Block + +
+
Description
+
Returns details about a block. Available fields: id, height, version, timestamp, bits, nonce, merkle_root, tx_count, size, weight, proof, and previousblockhash.
+
+ +
- - - GET Block Header - - - -
-
Description
-
Returns the hex-encoded block header.
-
- -
-
+
+ GET Block Header + +
+
Description
+
Returns the hex-encoded block header.
+
+ +
- - - GET Block Height - - - -
-
Description
-
Returns the hash of the block currently at :height.
-
- -
-
+
+ GET Block Height + +
+
Description
+
Returns the hash of the block currently at :height.
+
+ +
- - - GET Block Raw - - - -
-
Description
-
Returns the raw block representation in binary.
-
- -
-
+
+ GET Block Raw + +
+
Description
+
Returns the raw block representation in binary.
+
+ +
- - - GET Block Status - - -
Get Block Status
- -
-
Description
-
Returns the confirmation status of a block. Available fields: in_best_chain (boolean, false for orphaned blocks), next_best (the hash of the next block, only available for blocks in the best chain).
-
- -
-
+
+ GET Block Status +
Get Block Status
+ +
+
Description
+
Returns the confirmation status of a block. Available fields: in_best_chain (boolean, false for orphaned blocks), next_best (the hash of the next block, only available for blocks in the best chain).
+
+ +
- - - GET Block Tip Height - - - -
-
Description
-
Returns the height of the last block.
-
- -
-
+
+ GET Block Tip Height + +
+
Description
+
Returns the height of the last block.
+
+ +
- - - GET Block Tip Hash - - - -
-
Description
-
Returns the hash of the last block.
-
- -
-
+
+ GET Block Tip Hash + +
+
Description
+
Returns the hash of the last block.
+
+ +
- - - GET Block Transaction ID - - - -
-
Description
-
Returns the transaction at index :index within the specified block.
-
- -
-
+
+ GET Block Transaction ID + +
+
Description
+
Returns the transaction at index :index within the specified block.
+
+ +
- - - GET Block Transaction IDs - - - -
-
Description
-
Returns a list of all txids in the block.
-
- -
-
+
+ GET Block Transaction IDs + +
+
Description
+
Returns a list of all txids in the block.
+
+ +
- - - GET Block Transactions - - - -
-
Description
-
Returns a list of transactions in the block (up to 25 transactions beginning at start_index). Transactions returned here do not have the status field, since all the transactions share the same block and confirmation status.
-
- -
-
+
+ GET Block Transactions + +
+
Description
+
Returns a list of transactions in the block (up to 25 transactions beginning at start_index). Transactions returned here do not have the status field, since all the transactions share the same block and confirmation status.
+
+ +
- - - GET Blocks - - - -
-
Description
-
Returns the 10 newest blocks starting at the tip or at :start_height if specified.
-
- -
-
+
+ GET Blocks + +
+
Description
+
Returns the 10 newest blocks starting at the tip or at :start_height if specified.
+
+ +
- - - GET Blocks - - - -
-
Description
-
Returns the 10 newest blocks starting at the tip or at :start_height if specified.
-
- -
-
+
+ GET Blocks + +
+
Description
+
Returns the 10 newest blocks starting at the tip or at :start_height if specified.
+
+ +
-
+

Fees

- - - - GET Mempool Blocks Fees - - - -
-
Description
-
Returns current mempool as projected blocks.
-
- -
-
+
+ GET Mempool Blocks Fees + +
+
Description
+
Returns current mempool as projected blocks.
+
+ +
- - - GET Recommended Fees - - - -
-
Description
-
Returns our currently suggested fees for new transactions.
-
- -
-
+
+ GET Recommended Fees + +
+
Description
+
Returns our currently suggested fees for new transactions.
+
+ +
-
+

Mempool

- - - - GET Mempool - - - -
-
Description
-
Returns current mempool backlog statistics.
-
- -
-
+
+ GET Mempool + +
+
Description
+
Returns current mempool backlog statistics.
+
+ +
- - - GET Mempool Transactions IDs - - - -
-
Description
-
Get the full list of txids in the mempool as an array. The order of the txids is arbitrary and does not match bitcoind.
-
- -
-
+
+ GET Mempool Transactions IDs + +
+
Description
+
Get the full list of txids in the mempool as an array. The order of the txids is arbitrary and does not match bitcoind.
+
+ +
- - - GET Mempool Recent - - - -
-
Description
-
Get a list of the last 10 transactions to enter the mempool. Each transaction object contains simplified overview data, with the following fields: txid, fee, vsize, and value.
-
- -
-
+
+ GET Mempool Recent + +
+
Description
+
Get a list of the last 10 transactions to enter the mempool. Each transaction object contains simplified overview data, with the following fields: txid, fee, vsize, and value.
+
+ +
-
+

Transactions

- - - - GET Children Pay for Parent - - - -
-
Description
-
Returns the ancestors and the best descendant fees for a transaction.
-
- -
-
+
+ GET Children Pay for Parent + +
+
Description
+
Returns the ancestors and the best descendant fees for a transaction.
+
+ +
- - - GET Transaction - - - -
-
Description
-
Returns details about a transaction. Available fields: txid, version, locktime, size, weight, fee, vin, vout, and status.
-
- -
-
+
+ GET Transaction + +
+
Description
+
Returns details about a transaction. Available fields: txid, version, locktime, size, weight, fee, vin, vout, and status.
+
+ +
- - - GET Transaction Hex - - - -
-
Description
-
Returns a transaction serialized as hex.
-
- -
-
+
+ GET Transaction Hex + +
+
Description
+
Returns a transaction serialized as hex.
+
+ +
- - - GET Transaction Merkleblock Proof - - - -
-
Description
-
Returns a merkle inclusion proof for the transaction using bitcoind's merkleblock format.
-
- -
-
+
+ GET Transaction Merkleblock Proof + +
+
Description
+
Returns a merkle inclusion proof for the transaction using bitcoind's merkleblock format.
+
+ +
- - - GET Transaction Merkle Proof - - - -
-
Description
-
Returns a merkle inclusion proof for the transaction using Electrum's blockchain.transaction.get_merkle format.
-
- -
-
+
+ GET Transaction Merkle Proof + +
+
Description
+
Returns a merkle inclusion proof for the transaction using Electrum's blockchain.transaction.get_merkle format.
+
+ +
- - - GET Transaction Outspend - - - -
-
Description
-
Returns the spending status of a transaction output. Available fields: spent (boolean), txid (optional), vin (optional), and status (optional, the status of the spending tx).
-
- -
-
+
+ GET Transaction Outspend + +
+
Description
+
Returns the spending status of a transaction output. Available fields: spent (boolean), txid (optional), vin (optional), and status (optional, the status of the spending tx).
+
+ +
- - - GET Transaction Outspends - - - -
-
Description
-
Returns the spending status of all transaction outputs.
-
- -
-
+
+ GET Transaction Outspends + +
+
Description
+
Returns the spending status of all transaction outputs.
+
+ +
- - - GET Transaction Raw - - - -
-
Description
-
Returns a transaction as binary data.
-
- -
-
+
+ GET Transaction Raw + +
+
Description
+
Returns a transaction as binary data.
+
+ +
- - - GET Transaction Status - - - -
-
Description
-
Returns the confirmation status of a transaction. Available fields: confirmed (boolean), block_height (optional), and block_hash (optional).
-
- -
-
+
+ GET Transaction Status + +
+
Description
+
Returns the confirmation status of a transaction. Available fields: confirmed (boolean), block_height (optional), and block_hash (optional).
+
+ +
- - - GET Transactions - - -
Get Mempool Txids
- -
-
Description
-
Returns :length of latest Bisq transactions, starting from :index.
-
- -
-
+
+ GET Transactions +
Get Mempool Txids
+ +
+
Description
+
Returns :length of latest Bisq transactions, starting from :index.
+
+ +
- - - POST Transaction - - -
-
Endpoint
-
POST /api/tx
-
-
-
Description
-
Broadcast a raw transaction to the network. The transaction should be provided as hex in the request body. The txid will be returned on success.
-
- -
-
- -
+
+ POST Transaction +
+
Endpoint
+
POST /api/tx
+
+
+
Description
+
Broadcast a raw transaction to the network. The transaction should be provided as hex in the request body. The txid will be returned on success.
+
+ +
From f8a54784d0e278d57965b4fef769a607e5c76ba8 Mon Sep 17 00:00:00 2001 From: hunicus <93150691+hunicus@users.noreply.github.com> Date: Thu, 16 Dec 2021 09:28:57 -0500 Subject: [PATCH 05/15] Improve styling + switch section headings for tags --- .../components/docs/api-docs.component.html | 112 ++++++++---------- .../components/docs/api-docs.component.scss | 50 ++++++-- 2 files changed, 90 insertions(+), 72 deletions(-) diff --git a/frontend/src/app/components/docs/api-docs.component.html b/frontend/src/app/components/docs/api-docs.component.html index 5f7d725e8..9fc8feef2 100644 --- a/frontend/src/app/components/docs/api-docs.component.html +++ b/frontend/src/app/components/docs/api-docs.component.html @@ -76,11 +76,9 @@

Reference for the {{ network.val === '' ? 'Bitcoin' : network.val.charAt(0).toUpperCase() + network.val.slice(1) }} API service.

- -

General

- GET Difficulty Adjustment + GET Difficulty Adjustment General
Endpoint
@@ -97,11 +95,9 @@
- -

Markets

- GET Market Currencies + GET Market Currencies Markets
Endpoint
GET {{ baseNetworkUrl }}/api/currencies @@ -114,7 +110,7 @@
- GET Market Depth + GET Market Depth Markets
- GET Market HLOC + GET Market HLOC Markets
- GET Markets + GET Markets Markets
Endpoint
GET {{ baseNetworkUrl }}/api/markets @@ -153,7 +149,7 @@
- GET Market Offers + GET Market Offers Markets
- GET Market Ticker + GET Market Ticker Markets
- GET Market Trades + GET Market Trades Markets
- GET Market Volumes + GET Market Volumes Markets
- -

General

- GET Stats + GET Stats General
Endpoint
GET {{ baseNetworkUrl }}/api/stats @@ -226,11 +220,9 @@
- -

Addresses

- GET Address + GET Address Addresses
Endpoint
GET {{ baseNetworkUrl }}/api/address/:address @@ -243,7 +235,7 @@
- GET Address Transactions + GET Address Transactions Addresses
- GET Address Transactions Chain + GET Address Transactions Chain Addresses
- GET Address Transactions Mempool + GET Address Transactions Mempool Addresses
- GET Address UTXO + GET Address UTXO Addresses
- -

Assets

- GET Assets + GET Assets Assets
Endpoint
GET /liquid/api/asset/:asset_id @@ -314,7 +304,7 @@
- GET Asset Supply + GET Asset Supply Assets
Endpoint
GET /liquid/api/asset/:asset_id/supply[/decimal] @@ -341,11 +331,9 @@
- -

Blocks

- GET Block + GET Block Blocks
Endpoint
GET {{ baseNetworkUrl }}/api/block/:hash @@ -358,7 +346,7 @@
- GET Block Header + GET Block Header Blocks
- GET Block Height + GET Block Height Blocks
- GET Block Status + GET Block Status Blocks
Get Block Status
Endpoint
@@ -410,7 +398,7 @@
- GET Block Tip Height + GET Block Tip Height Blocks
Endpoint
GET {{ baseNetworkUrl }}/api/blocks/tip/height @@ -423,7 +411,7 @@
- GET Block Tip Hash + GET Block Tip Hash Blocks
Endpoint
GET {{ baseNetworkUrl }}/api/blocks/tip/hash @@ -436,7 +424,7 @@
- GET Block Transaction ID + GET Block Transaction ID Blocks
- GET Block Transaction IDs + GET Block Transaction IDs Blocks
Endpoint
GET {{ baseNetworkUrl }}/api/block/:hash/txids @@ -462,7 +450,7 @@
- GET Block Transactions + GET Block Transactions Blocks
- GET Blocks + GET Blocks Blocks
- GET Blocks + GET Blocks Blocks
- -

Fees

- GET Mempool Blocks Fees + GET Mempool Blocks Fees Fees
- GET Recommended Fees + GET Recommended Fees Fees
Endpoint
GET {{ baseNetworkUrl }}/api/v1/fees/recommended @@ -535,11 +521,9 @@
- -

Mempool

- GET Mempool + GET Mempool Fees
Endpoint
GET {{ baseNetworkUrl }}/api/mempool @@ -552,7 +536,7 @@
- GET Mempool Transactions IDs + GET Mempool Transactions IDs Fees
Endpoint
GET {{ baseNetworkUrl }}/api/mempool/txids @@ -565,7 +549,7 @@
- GET Mempool Recent + GET Mempool Recent Fees
Endpoint
GET {{ baseNetworkUrl }}/api/mempool/recent @@ -581,10 +565,8 @@
-

Transactions

-
- GET Children Pay for Parent + GET Children Pay for Parent Transactions
Endpoint
GET {{ baseNetworkUrl }}/api/v1/cpfp/:txid @@ -597,7 +579,7 @@
- GET Transaction + GET Transaction Transactions @@ -605,11 +587,11 @@
Description
Returns details about a transaction. Available fields: txid, version, locktime, size, weight, fee, vin, vout, and status.
- +
- GET Transaction Hex + GET Transaction Hex Transactions
Endpoint
GET {{ baseNetworkUrl }}/api/tx/:txid/hex @@ -622,7 +604,7 @@
- GET Transaction Merkleblock Proof + GET Transaction Merkleblock Proof Transactions
- GET Transaction Merkle Proof + GET Transaction Merkle Proof Transactions
- GET Transaction Outspend + GET Transaction Outspend Transactions
- GET Transaction Outspends + GET Transaction Outspends Transactions
- GET Transaction Raw + GET Transaction Raw Transactions
Endpoint
GET {{ baseNetworkUrl }}/api/tx/:txid/raw @@ -687,7 +669,7 @@
- GET Transaction Status + GET Transaction Status Transactions
Endpoint
GET {{ baseNetworkUrl }}/api/tx/:txid/status @@ -700,7 +682,7 @@
- GET Transactions + GET Transactions Transactions
Get Mempool Txids
Endpoint
@@ -714,7 +696,7 @@
- POST Transaction + POST Transaction Transactions
Endpoint
POST /api/tx
diff --git a/frontend/src/app/components/docs/api-docs.component.scss b/frontend/src/app/components/docs/api-docs.component.scss index 089e8d2cf..98222e8f8 100644 --- a/frontend/src/app/components/docs/api-docs.component.scss +++ b/frontend/src/app/components/docs/api-docs.component.scss @@ -124,6 +124,37 @@ li.nav-item { float: right; } +.endpoint-container .section-header { + display: block; + background-color: #2d3348; + color: #1bd8f4; + padding: 1rem 1.3rem 1rem 1.3rem; + font-weight: bold; + border-radius: 0.25rem; + margin: 40px 0 20px 0; + font-size: 24px; + position: relative; +} +.endpoint-container .section-header:first-child { + margin-top: 20px; +} +.endpoint-container .section-header:hover { + text-decoration: none; +} + +.endpoint-container .section-header span { + color: #fff; + background-color: #653b9c; + font-size: 12px; + text-transform: uppercase; + font-weight: 400; + padding: 8px 10px; + letter-spacing: 1px; + border-radius: 0.25rem; + font-family: monospace; + float: right; +} + @media (max-width: 992px){ .doc-nav-desktop { display: none; @@ -133,12 +164,17 @@ li.nav-item { .doc-content { width: 100%; } + + .endpoint-container .section-header { + margin: 40px 0 70px 0; + } + + .endpoint-container .section-header span { + float: none; + position: absolute; + top: unset; + left: 0; + bottom: -50px; + } } -#restAPI .api-category { - margin: 30px 0; -} - -.api-category h4 { - margin-bottom: 15px; -} From 89fede9e4886dab24177ce8be434ddbad180faf1 Mon Sep 17 00:00:00 2001 From: hunicus <93150691+hunicus@users.noreply.github.com> Date: Thu, 16 Dec 2021 09:37:50 -0500 Subject: [PATCH 06/15] Fix inconsistencies in api-docs markup --- .../components/docs/api-docs.component.html | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/frontend/src/app/components/docs/api-docs.component.html b/frontend/src/app/components/docs/api-docs.component.html index 9fc8feef2..d51c4eea5 100644 --- a/frontend/src/app/components/docs/api-docs.component.html +++ b/frontend/src/app/components/docs/api-docs.component.html @@ -79,17 +79,15 @@
GET Difficulty Adjustment General -
- -
-
Description
-
Returns details about difficulty adjustment.
-
- + +
+
Description
+
Returns details about difficulty adjustment.
+
+
@@ -374,6 +372,7 @@
GET Block Raw Blocks
@@ -385,7 +384,6 @@
GET Block Status Blocks -
Get Block Status
Endpoint
GET {{ baseNetworkUrl }}/api/block/:hash/status @@ -581,6 +579,7 @@
GET Transaction Transactions
@@ -683,7 +682,6 @@
GET Transactions Transactions -
Get Mempool Txids
Endpoint
GET {{ baseNetworkUrl }}/api/txs/:index/:length From 5d8c97035114b6e19f8271824008c934f7eb8fe1 Mon Sep 17 00:00:00 2001 From: hunicus <93150691+hunicus@users.noreply.github.com> Date: Thu, 16 Dec 2021 11:30:03 -0500 Subject: [PATCH 07/15] Update anchor links and add on-page links --- .../components/docs/api-docs.component.html | 276 +++++++++--------- 1 file changed, 138 insertions(+), 138 deletions(-) diff --git a/frontend/src/app/components/docs/api-docs.component.html b/frontend/src/app/components/docs/api-docs.component.html index d51c4eea5..f196b2fc1 100644 --- a/frontend/src/app/components/docs/api-docs.component.html +++ b/frontend/src/app/components/docs/api-docs.component.html @@ -6,68 +6,68 @@

General

- GET Difficulty Adjustment + 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 + 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 + GET Stats

Addresses

- 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 UTXO

Assets

- GET Assets - GET Asset Transactions - GET Asset Supply + 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 + 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 + GET Mempool Blocks Fees + GET Recommended Fees

Mempool

- GET Mempool - GET Mempool Transaction IDs - GET Mempool Recent + 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 + 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
@@ -77,8 +77,8 @@
-
- GET Difficulty Adjustment General +
+ GET Difficulty Adjustment General
Endpoint
GET {{ baseNetworkUrl }}/api/v1/difficulty-adjustment @@ -94,8 +94,8 @@
-
- GET Market Currencies Markets +
+ GET Market Currencies Markets
Endpoint
GET {{ baseNetworkUrl }}/api/currencies @@ -107,8 +107,8 @@
-
- GET Market Depth Markets +
+ GET Market Depth Markets -
- GET Market HLOC Markets +
+ GET Market HLOC Markets -
- GET Markets Markets +
+ GET Markets Markets
Endpoint
GET {{ baseNetworkUrl }}/api/markets @@ -146,8 +146,8 @@
-
- GET Market Offers Markets +
+ GET Market Offers Markets -
- GET Market Ticker Markets +
+ GET Market Ticker Markets -
- GET Market Trades Markets +
+ GET Market Trades Markets -
- GET Market Volumes Markets +
+ GET Market Volumes Markets
Endpoint
GET {{ baseNetworkUrl }}/api/volumes?basecurrency=[:basecurrency] @@ -202,8 +202,8 @@
-
- GET Stats General +
+ GET Stats General
Endpoint
GET {{ baseNetworkUrl }}/api/stats @@ -219,8 +219,8 @@
-
- GET Address Addresses +
+ GET Address Addresses
Endpoint
GET {{ baseNetworkUrl }}/api/address/:address @@ -232,8 +232,8 @@
-
- GET Address Transactions Addresses +
+ GET Address Transactions Addresses -
- GET Address Transactions Chain Addresses +
+ GET Address Transactions Chain Addresses -
- GET Address Transactions Mempool Addresses +
+ GET Address Transactions Mempool Addresses -
- GET Address UTXO Addresses +
+ GET Address UTXO Addresses
Endpoint
GET {{ baseNetworkUrl }}/api/address/:address/utxo @@ -288,8 +288,8 @@
-
- GET Assets Assets +
+ GET Assets Assets
Endpoint
GET /liquid/api/asset/:asset_id @@ -301,8 +301,8 @@
-
- GET Asset Transactions Assets + -
- GET Asset Supply Assets +
+ GET Asset Supply Assets
Endpoint
GET /liquid/api/asset/:asset_id/supply[/decimal] @@ -330,8 +330,8 @@
-
- GET Block Blocks +
+ GET Block Blocks
Endpoint
GET {{ baseNetworkUrl }}/api/block/:hash @@ -343,8 +343,8 @@
-
- GET Block Header Blocks +
+ GET Block Header Blocks -
- GET Block Height Blocks +
+ GET Block Height Blocks -
- GET Block Raw Blocks +
+ GET Block Raw Blocks
Endpoint
GET {{ baseNetworkUrl }}/api/block/:hash/raw @@ -382,8 +382,8 @@
-
- GET Block Status Blocks +
+ GET Block Status Blocks -
- GET Block Tip Height Blocks +
+ GET Block Tip Height Blocks
Endpoint
GET {{ baseNetworkUrl }}/api/blocks/tip/height @@ -408,8 +408,8 @@
-
- GET Block Tip Hash Blocks +
+ GET Block Tip Hash Blocks
Endpoint
GET {{ baseNetworkUrl }}/api/blocks/tip/hash @@ -421,8 +421,8 @@
-
- GET Block Transaction ID Blocks +
+ GET Block Transaction ID Blocks -
- GET Block Transaction IDs Blocks +
+ GET Block Transaction IDs Blocks
Endpoint
GET {{ baseNetworkUrl }}/api/block/:hash/txids @@ -447,8 +447,8 @@
-
- GET Block Transactions Blocks +
+ GET Block Transactions Blocks -
- GET Blocks Blocks +
+ GET Blocks Blocks -
- GET Blocks Blocks +
+ GET Blocks Blocks
Endpoint
GET {{ baseNetworkUrl }}/api/blocks/:index/:length @@ -490,8 +490,8 @@
-
- GET Mempool Blocks Fees Fees +
+ GET Mempool Blocks Fees Fees -
- GET Recommended Fees Fees +