Commit Graph

373 Commits

Author SHA1 Message Date
Martin Boehm
4ce39bcdb0 Escape html in name and symbol shown in explorer 2025-10-20 17:25:36 +02:00
etimofeeva
0e92dd124b feat: add alternative RPC provider support for sendTransaction 2025-08-27 12:20:07 +02:00
highcloudwind
ca17fc5a95 chore: fix some function names in comment
Signed-off-by: highcloudwind <highcloud@aliyun.com>
2025-06-24 12:01:58 +02:00
Jiří Musil
ae0172dddf Add longTermFeeRate websocket endpoint (#1262)
* feat: add longTermFeeRate websocket endpoint

* chore: regenerate blockbook-api.ts with longTermFeeRate
2025-06-09 14:09:15 +02:00
grdddj
d328ed9e00 docs: document public API structs 2025-05-23 00:15:15 +02:00
Martin Boehm
e8cda83163 Support priority fees for mined transactions 2025-04-22 12:19:04 +02:00
Martin Boehm
95e965d5df Return 503 ServiceUnavailable from public interface if not synced 2025-02-21 19:32:23 +01:00
kevin
7d4872e830 Add Base Support (#1150)
* add base support

* backend config

* add base archive blockchain factory

* add dbProtoAddrContracts flag and default to legacy encoding. fix tests

* default cache behavior for dbMaxAddrContracts default value

* update to defer func to ensure addressContracts is reset and handle possible error

* base config default to use dbProtoAddrContracts

* add network config

* update op-geth and op-node versions

* remove coingecko url

* update coingecko platform identifier

* token type -> token standard

* reduce allocations as pack/unpack addr contracts is primary bottleneck for l2 chains

* archive snapshot no longer supported, use fullnode snapshot as best effort

* remove proto encoded addr contracts as bench marks indicate there is no performance gain as initially suspected

* revert address contract cache changes
2025-02-20 22:55:15 +01:00
Martin Boehm
cddbf7228a chore(blockbook): rename type to standard 2025-02-06 22:47:11 +01:00
Albina Nikiforova
9feda1a857 chore(blockbook): rename type to standard 2025-02-06 22:47:11 +01:00
Martin Boehm
a2ba8c4b09 Add Ethereum type EIP1559 fee estimate from infura 2025-02-06 22:47:11 +01:00
Martin Boehm
a3b0a05b14 Add Ethereum type EIP1559 fee estimate 2025-02-06 22:47:11 +01:00
Jiří Musil
a4f1730364 Show raw tx hex in UI (#1162)
* Fix Network configuration parameter

* feat: allow for showing raw transaction hex for ETH transactions

* chore: remove comments from JS code to avoid parsing issues in tests

* temp: comment out failing tx template tests

* chore: trim text from copyable before writing it to clipboard

* chore: improve the design of Transaction hex

* chore: add wrap to element showing raw hex data

* fixup! chore: add wrap to element showing raw hex data

* chore: remove redundant style, make HTML prettier

* Revert "temp: comment out failing tx template tests"

This reverts commit f104ebbf5111583b46996d7527a26c08cd9e29b6.

* chore: put rawTx javascript functionality into main.js

* chore: modify the expected HTML for changed tx template

* feat: support the raw transaction hex also for BTC-like coins

* chore: add on-hover effect for active button - make the background white

* Minify javascript and styles

---------

Co-authored-by: Martin Boehm <martin.boehm@1mbsoftware.net>
2024-12-09 11:30:02 +01:00
Martin Boehm
a55c69a8a1 EthereumType: admin interface to read and update contract info 2024-11-27 14:38:27 +01:00
Martin Boehm
76664cdbf3 Refactor ethCall method to rpcCall 2024-10-10 00:58:19 +02:00
Martin Boehm
3cf7e6abe8 Add ethCall websocket request 2024-09-24 15:24:26 +02:00
Martin Boehm
a0960c8e17 Add network parameter to getInfo ws request 2024-08-06 10:50:01 +02:00
Martin Boehm
c1f2e62c45 Show Nonce for ethereum type transactions in explorer 2024-07-30 14:46:38 +02:00
Martin Boehm
61bdb8a346 Fix internal admin styles 2023-12-08 18:30:21 +01:00
Martin Boehm
f4d06ab08d Load bootstrap css and js from local server 2023-12-03 23:00:03 +01:00
Martin Boehm
3c29b07c7c Disconnect ws connections exceeding limit of requests 2023-11-29 09:49:59 +01:00
Martin Boehm
6992be6f58 Fix linting errors 2023-11-21 23:37:42 +01:00
Martin Boehm
856c85e1e7 Add public interface block filter tests 2023-11-08 10:21:19 +01:00
Martin Boehm
8ef09d124e Fix tests 2023-11-08 10:21:18 +01:00
Jiří Musil
7d0c424ad8 Ignore Ordinals in Golomb filters (#967) 2023-11-08 10:21:18 +01:00
Martin Boehm
a1a17b4331 Add getBlockFiltersBatch websocket method 2023-11-08 10:21:18 +01:00
Martin Boehm
4b6f19632d Enable websocket per message compression 2023-11-08 10:21:18 +01:00
Martin Boehm
96dbc8c9dc Add configuration for block golomb filters 2023-11-08 10:21:18 +01:00
grdddj
911454f171 Implement Golomb block filters for each block
Contains a websocket method `getBlockFilter` and REST endpoint `block-filters`
2023-11-08 10:21:18 +01:00
Martin Boehm
4c41b414c4 Add getMempoolFilters websocket method 2023-05-11 15:36:03 +02:00
Martin Boehm
d83d501272 Adopt sats standard to show amounts (for Bitcoin) #924 2023-05-11 15:33:48 +02:00
Martin Boehm
a77f615e28 Return addrTxCount for get xpub endpoint 2023-05-09 00:21:47 +02:00
Martin Boehm
c4fff10e5f Disable secondary currency if fiat rates disabled 2023-05-02 23:26:03 +02:00
Martin Boehm
85112a20c7 Enable coingecko pro API endpoint, count coingecko requests in metrics 2023-04-27 17:41:32 +02:00
Martin Boehm
210ec75a3d Refactor fiat rates usage 2023-04-26 21:48:31 +02:00
Martin Boehm
a4f7f5b965 Get hourly and five minutes fiat rates 2023-04-25 09:13:43 +02:00
Martin Boehm
d856618607 Refactor fiat rates handler 2023-04-24 23:58:08 +02:00
Martin Boehm
fabad15c10 Refetch failed ethereum internal data 2023-04-13 11:28:52 +02:00
Martin Boehm
7b068e085f Add admin page for refetching internal data 2023-04-12 23:31:34 +02:00
Martin Boehm
a200f5cc83 Refactor html template handling 2023-04-12 23:31:34 +02:00
Martin Boehm
41a2c5472b Update generation of typescript documentation from golang types 2023-04-12 23:24:47 +02:00
Martin Boehm
bf45be9fdc Delay reporting of blockchain not in sync to avoid false monitoring alerts 2023-03-13 00:17:07 +01:00
Martin Boehm
15c19ac1fc Generate typescript documentation from golang types 2023-03-09 13:56:11 +01:00
kevin
9ecfdfe11d Add BNB Smart Chain (#869) 2023-03-09 10:54:38 +01:00
Martin Boehm
adf50156bf Enable websocket getBlock only for extended index 2023-03-08 17:04:20 +01:00
Martin Boehm
d52832f6f7 Add extended index option - spendingTxid 2023-03-08 17:04:20 +01:00
Martin Boehm
6626f330e9 Add getBlock websocket endpoint 2023-03-08 17:04:20 +01:00
Martin Boehm
0f23f10fe0 Handle raw display of huge transactions in explorer 2023-02-27 23:53:09 +01:00
Martin Boehm
7dac974ba2 Fix visual overflow in display of block in explorer 2023-02-22 10:58:51 +01:00
Martin Boehm
250a788d20 Minify css and js files 2023-02-01 17:58:37 +01:00