From 9d4659c3ba40a8e17752a275ccd31ccc48088146 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 18 Oct 2020 16:03:03 +0900 Subject: [PATCH] Add Terms of Service links with minor tweaks to text formatting --- .../app/components/about/about.component.html | 2 +- .../api-docs/api-docs.component.html | 24 +++++++------------ 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/frontend/src/app/components/about/about.component.html b/frontend/src/app/components/about/about.component.html index 39c571963..e84bc3768 100644 --- a/frontend/src/app/components/about/about.component.html +++ b/frontend/src/app/components/about/about.component.html @@ -136,7 +136,7 @@

-
+ diff --git a/frontend/src/app/components/api-docs/api-docs.component.html b/frontend/src/app/components/api-docs/api-docs.component.html index 560017793..e1a99403c 100644 --- a/frontend/src/app/components/api-docs/api-docs.component.html +++ b/frontend/src/app/components/api-docs/api-docs.component.html @@ -16,17 +16,7 @@ wss://{{ hostname }}{{ network.val === '' ? '' : '/' + network.val }}/api/v1/ws - - - Default push: {{ '{' }} action: 'want', data: ['blocks', ...] {{ '}' }} - to express what you want pushed. Available: 'blocks', 'mempool-blocks', 'live-2h-chart' and 'stats'. - -

- - Push transactions related to address: {{ '{' }} 'track-address': '3PbJ...bF9B' {{ '}' }} - to receive all new transactions containing that address as input or output. Returns an array of transactions. 'address-transactions' for new mempool transactions and 'block-transactions' for new block confirmed transactions. - - + Default push: {{ '{' }} action: 'want', data: ['blocks', ...] {{ '}' }} to express what you want pushed. Available: blocks, mempool-block, live-2h-chart, and stats.

Push transactions related to address: {{ '{' }} 'track-address': '3PbJ...bF9B' {{ '}' }} to receive all new transactions containing that address as input or output. Returns an array of transactions. address-transactions for new mempool transactions, and block-transactions for new block confirmed transactions. @@ -48,11 +38,11 @@ GET {{ network.val === '' ? '' : '/' + network.val }}/api/mempool/txids - Get the full list of txids in the mempool as an array. The order of the txids is arbitrary and does not match bitcoind's. + 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 {{ network.val === '' ? '' : '/' + network.val }}/api/mempool/recent - 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 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 {{ network.val === '' ? '' : '/' + network.val }}/api/v1/fees/recommended @@ -78,7 +68,7 @@ GET {{ network.val === '' ? '' : '/' + network.val }}/api/block/:hash - Returns details about a block. Available fields: id, height, version, timestamp, bits, nonce, merkle_root, tx_count, size, weight, proof, and previousblockhash. + Returns details about a block. Available fields: id, height, version, timestamp, bits, nonce, merkle_root, tx_count, size, weight, proof, and previousblockhash. GET {{ network.val === '' ? '' : '/' + network.val }}/api/block/:hash/status @@ -220,7 +210,7 @@ GET /liquid/api/asset/:asset_id/txs[/mempool|/chain] - 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. + 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 /liquid/api/asset/:asset_id/supply[/decimal] @@ -276,5 +266,9 @@
+ +