From c4f73b80da09d89347df845143cfa8fcc342666d Mon Sep 17 00:00:00 2001 From: nymkappa <1612910616@pm.me> Date: Sat, 5 Oct 2024 16:19:19 +0900 Subject: [PATCH] [accelerator] public accel history filter by miner unique id --- .../src/app/docs/api-docs/api-docs-data.ts | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/frontend/src/app/docs/api-docs/api-docs-data.ts b/frontend/src/app/docs/api-docs/api-docs-data.ts index 12bb96166..bfce83ec5 100644 --- a/frontend/src/app/docs/api-docs/api-docs-data.ts +++ b/frontend/src/app/docs/api-docs/api-docs-data.ts @@ -9163,7 +9163,7 @@ export const restApiDocsData = [ Filters can be applied:
status
: all
, requested
, accelerating
, mined
, completed
, failed
timeframe
: 24h
, 3d
, 1w
, 1m
, 3m
, 6m
, 1y
, 2y
, 3y
, 4y
, all
poolUniqueId
: any id from https://github.com/mempool/mining-pools/blob/master/pools-v2.json. Note: This will return all acceleration requests accepted by the pool but the the listed transactions may have been mined by another pool.
+ minedByPoolUniqueId
: any id from pools-v2.json
blockHash
: a block hash
blockHeight
: a block height
page
: the requested page number if using pagination (min: 1)
@@ -9187,21 +9187,22 @@ export const restApiDocsData = [
headers: '',
response: `[
{
- "txid": "d7e1796d8eb4a09d4e6c174e36cfd852f1e6e6c9f7df4496339933cd32cbdd1d",
- "status": "completed",
- "added": 1707421053,
- "lastUpdated": 1719134667,
- "effectiveFee": 146,
- "effectiveVsize": 141,
- "feeDelta": 14000,
- "blockHash": "00000000000000000000482f0746d62141694b9210a813b97eb8445780a32003",
- "blockHeight": 829559,
- "bidBoost": 3239,
- "boostVersion": "v1",
+ "txid": "f829900985aad885c13fb90555d27514b05a338202c7ef5d694f4813ad474487",
+ "status": "completed_provisional",
+ "added": 1728111527,
+ "lastUpdated": 1728112113,
+ "effectiveFee": 1385,
+ "effectiveVsize": 276,
+ "feeDelta": 3000,
+ "blockHash": "00000000000000000000cde89e34036ece454ca2d07ddd7f71ab46307ca87423",
+ "blockHeight": 864248,
+ "bidBoost": 65,
+ "boostVersion": "v2",
"pools": [
- 111
+ 111,
+ 115,
],
- "minedByPoolUniqueId": 111
+ "minedByPoolUniqueId": 115
}
]`,
},