Commit Graph

126 Commits

Author SHA1 Message Date
pragmaxim
90f2645a91 Resync mempool using batch api with temporary outpoint cache 2026-01-24 13:19:42 +01:00
pragmaxim
052a30bb4b erc20 eth_call batching cleanup 2026-01-23 07:45:58 +01:00
etimofeeva
0e92dd124b feat: add alternative RPC provider support for sendTransaction 2025-08-27 12:20:07 +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
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
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
19a902360e EthereumType: Remove fetching of contract details from sync 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
ac46385f49 Add support of staking pools 2024-01-31 23:45:43 +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
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
c8c7e08a18 Golomb filter of scriptPubKeys for mempool txs 2023-05-11 15:36:03 +02:00
kevin
9ecfdfe11d Add BNB Smart Chain (#869) 2023-03-09 10:54:38 +01:00
Martin Boehm
55f3ad3caa Estimate mining time of mempool tx 2023-02-01 17:58:37 +01:00
Martin Boehm
070df1efcc Add NFT detail page 2023-02-01 17:58:37 +01:00
Martin Boehm
6edbc2d99b Calculate and return tx vsize for selected coins
Coins returning vsize: BTC, TEST, LTC, BTG, NMC, VTC, DGB
2023-02-01 17:58:37 +01:00
Martin Boehm
835d0e07ba Return ethereum consensus layer node version via API 2023-02-01 17:58:37 +01:00
Martin Boehm
db91824dc3 Store contract info in DB 2023-02-01 17:58:37 +01:00
Martin Boehm
8bdc3da694 Return address aliases from API 2023-02-01 17:58:37 +01:00
Martin Boehm
9a0790a71d Process ERC721 and ERC1155 tokens 2023-02-01 17:58:37 +01:00
Martin Boehm
91031715f7 Bulk import ETH internal transactions 2023-02-01 17:58:37 +01:00
Martin Boehm
c374ef86fd Update types in preparation for eth internal transactions,
bump dbVersion to 6
2023-02-01 17:58:37 +01:00
Martin Boehm
5818ce8aa2 Ethereum: process call trace to extract internal transactions 2023-02-01 17:58:37 +01:00
Martin Boehm
93ea126123 Add get raw block API request #736 2022-03-04 17:26:13 +01:00
Martin Boehm
e500d6873d Parse xpub descriptors 2021-11-10 00:32:11 +01:00
hewigovens
5534372e7c [Zcash] Expose zcash consensus info (#508) 2020-11-12 19:56:41 +01:00
Martin Boehm
0a3ea6e225 Send websocket notification on new tx for input addresses 2020-05-24 17:58:29 +02:00
Martin Boehm
ee3217aba8 Use common.JSONNumber instead of json.Number 2020-05-10 00:14:14 +02:00
Martin Boehm
273b880245 Add load address by serialized address descriptor 2020-02-24 23:11:46 +01:00
migwi
d4a7fcabd9 Check if unindexed confirmed tx height exists 2019-09-18 22:35:53 +02:00
Martin Boehm
39f2c73f3e Add coinbase flag (boolean) to UTXO response #236 2019-07-23 12:52:18 +02:00
Martin Boehm
917840d6b2 Stop indexing OP_RETURN scripts 2019-05-27 12:24:24 +02:00
Martin Boehm
4435dbbfb4 Pass correct blockchain object to mempool 2019-04-03 22:08:32 +02:00
Martin Boehm
b64d76d8f9 Show first seen date of mempool transaction in explorer 2019-04-03 14:09:27 +02:00
Martin Boehm
987aec47f9 Show mempool content in explorer 2019-04-02 11:39:38 +02:00
Martin Boehm
f2dc4a56d8 Store time of mempool transaction 2019-04-01 17:00:53 +02:00
Martin Boehm
c813f76336 Try to load mempool inputs from db to speed up mempool sync 2019-03-29 17:01:20 +01:00
Martin Boehm
ce3c7c5e66 Extract mempool interface from blockchain 2019-03-25 16:43:57 +01:00
Martin Boehm
64c8ae9a62 Estimate full derivation path from xpub 2019-02-05 20:47:54 +01:00
Martin Boehm
27dba68319 Add DeriveAddressDescriptors for list of indexes 2019-01-29 12:11:35 +01:00
Martin Boehm
986275bb76 Implement parser.DeriveAddressDescriptors from xpub 2019-01-28 18:29:12 +01:00
Martin Boehm
3ca593aff1 Handle error tx not found #94 2019-01-10 16:39:36 +01:00
Martin Boehm
341bf331c1 Add custom handling of unknown input txs during BitcoinType block import 2019-01-09 23:24:25 +01:00