<blockquote>
<p>How can I increase the gap so I can see (and consume) that utxo?</p>
</blockquote>
<p>Daedalus is simply a UI that (for wallet) serves the data provided by <code>cardano-wallet</code> component, you can either use the <a href="https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/postWallet" rel="nofollow noreferrer">API</a> to add <code>address_pool_gap</code> OR use cardano-wallet CLI to override the default address pool gap as below:</p>
<pre><code>cardano-wallet.exe wallet create from-recovery-phrase --address-pool-gap 100 --port XXX
</code></pre>
<p>With the reply to your question out the way, it is a very bad idea to use this component for anything beyond a very small centralised userbase service.</p>
<ol>
<li>The bigger the address gap is, slower will be the performance to fetch details about UTxO, as they have to scan larger amount of empty addresses.</li>
<li>Resource consumption of <code>cardano-wallet</code> with larger amount of addresses will be another trouble you will encounter even if you're alright with using large address gap.</li>
</ol>
<p>It isnt a new/unique problem, most exchanges who tried to use <code>cardano-wallet</code> face similar issues. They usually end up going with a more proficient solution based on querying a layer above <code>dbsync</code>. One common example, initially an attempt to provide a standard by coinbase - is Rosetta API (you can find cardano-rosetta implementation <a href="https://github.com/input-output-hk/cardano-rosetta" rel="nofollow noreferrer">here</a>, and a typical Construction overview <a href="https://www.rosetta-api.org/docs/construction_api_introduction.html" rel="nofollow noreferrer">here</a> ). It might be a change in your plans from where you are now, but it's an investment well worth the time - countless folks have wrongly started on cardano-wallet API due to familiarity of a wallet, and had to migrate later - the sooner the better if you're aiming for your solution to cater for larger than few hundred users.</p>

CC BY-SA 4.0
2022-03-09T23:26:56.970Z
2022-03-09T23:26:56.970Z
RdLrT
<p>Need a bit of environment info first:</p>
<ul>
<li>What operating system are you using and what version of Daedalus?</li>
<li>Roughly when was this transaction?</li>
<li>I presume mainnet not testnet?</li>
<li>Is the transaction not showing at all within Daedalus transaction list?</li>
<li>Can you see any transactions for the address via <a href="https://explorer.cardano.org/en" rel="nofollow noreferrer">https://explorer.cardano.org/en</a> ?</li>
</ul>
<p>Via the command line you can view all utxo's for an address using:</p>
<pre><code>cardano-cli query utxo --address addr1abc... --mainnet
</code></pre>
<p>Note: On Windows there are a few more steps needed first as per: <a href="https://cardano.stackexchange.com/questions/287/can-daedalus-be-used-to-query-the-blockchain-like-a-passive-node/7398#7398">Can Daedalus be used to query the blockchain, like a passive node?</a></p>
<p>From that output you can manually build a transaction and send your utxo, but there are a few steps to doing this via the command line.</p>

CC BY-SA 4.0
2022-03-08T18:16:22.383Z
We can get the UTXOs at an address with cardano-cli, but if we're doing 10,000 addresses, then we don't want to manually query those with the cli (even with a script it'd be too difficult). We want to have an automated monitoring system that can get all the transactions. We'd like to raise Daedalus from the 20 gap limit it has now to what CCVault has (200 address gap)... Also we've found an issue with Daedalus that it's stopping even before the 20 gap limit.
Eli Selkin
CC BY-SA 4.0
2022-03-09T02:09:15.803Z
I'm not sure of the nature/scope of your project but here are a couple of thoughts.

Cycling through trxs/addresses/utxos and performing checks/alerts would seem better suited to automated scripts and API calls.
https://api.koios.rest/#overview is a great API resource for querying Cardano data.

If not suitable then you could grab the Daedalus source code and tweak whatever values you want then build and run locally.
MC_Brisbane - JUST Pool
CC BY-SA 4.0
2022-03-09T02:36:08.363Z
Looks like the limit of 20 is built into cardano-wallet to adhere to industry standards.
This from github:
'Transactions on addresses that "belong" to the wallet but happen to be beyond its address_pool_gap will not be visible to the wallet. This is a technical limitation of the industry standard BIP-44. See also CIP-1852.'

Ref: https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/getWallet

You might need to tweak it and build cardano-wallet locally.
MC_Brisbane - JUST Pool
CC BY-SA 4.0
2022-03-06T06:11:07.300Z
2022-03-06T06:11:07.300Z
MC_Brisbane - JUST Pool
<p>Problem: Payments to a wallet don't show in a daedalus wallet, because it was sent to an address that exceeds the gap.</p>
<p>How can I increase the gap so I can see (and consume) that utxo?</p>

CC BY-SA 4.0
2022-03-05T15:12:26.370Z
I'm not sure I am following.. Can you provide more information? Is the problem that Daedalus isn't synced? It will need to be in order to see accurate balance data.
Tygar Pool
CC BY-SA 4.0
2022-03-06T04:46:11.690Z
daedalus is fully synced
Matthias Sieber
CC BY-SA 4.0
2022-03-06T05:10:35.390Z
https://forum.cardano.org/t/what-is-the-address-gap-limit-for-daedalus/28489
Matthias Sieber
CC BY-SA 4.0
2022-04-28T05:28:48.580Z
Should one of the answers be marked as accepted?
gRebel
<daedalus><utxo>
how can I increase the address gap limit in daedalus?
# how can I increase the address gap limit in daedalus?

(Asked by: username_0 on 2022-03-05)

Problem: Payments to a wallet don't show in a daedalus wallet, because it was sent to an address that exceeds the gap.

How can I increase the gap so I can see (and consume) that utxo?

**Tags:** daedalus, utxo
> **Comments:**
> **username_1**: I'm not sure I am following.. Can you provide more information? Is the problem that Daedalus isn't synced? It will need to be in order to see accurate balance data.  
> **username_0**: daedalus is fully synced  
> **username_0**: https://forum.cardano.org/t/what-is-the-address-gap-limit-for-daedalus/28489  
> **username_2**: Should one of the answers be marked as accepted?  

---

## 2 answers

### Answer by username_3 on 2022-03-09. Score: 1

How can I increase the gap so I can see (and consume) that utxo?

Daedalus is simply a UI that (for wallet) serves the data provided by cardano-wallet component, you can either use the API to add address_pool_gap OR use cardano-wallet CLI to override the default address pool gap as below:
cardano-wallet.exe wallet create from-recovery-phrase --address-pool-gap 100 --port XXX

With the reply to your question out the way, it is a very bad idea to use this component for anything beyond a very small centralised userbase service.

The bigger the address gap is, slower will be the performance to fetch details about UTxO, as they have to scan larger amount of empty addresses.
Resource consumption of cardano-wallet with larger amount of addresses will be another trouble you will encounter even if you're alright with using large address gap.

It isnt a new/unique problem, most exchanges who tried to use cardano-wallet face similar issues. They usually end up going with a more proficient solution based on querying a layer above dbsync. One common example, initially an attempt to provide a standard by coinbase - is Rosetta API (you can find cardano-rosetta implementation here, and a typical Construction overview here ). It might be a change in your plans from where you are now, but it's an investment well worth the time - countless folks have wrongly started on cardano-wallet API due to familiarity of a wallet, and had to migrate later - the sooner the better if you're aiming for your solution to cater for larger than few hundred users.


---

### Answer by username_4 on 2022-03-06. Score: 0

Need a bit of environment info first:

What operating system are you using and what version of Daedalus?
Roughly when was this transaction?
I presume mainnet not testnet?
Is the transaction not showing at all within Daedalus transaction list?
Can you see any transactions for the address via https://explorer.cardano.org/en ?

Via the command line you can view all utxo's for an address using:
cardano-cli query utxo --address addr1abc... --mainnet

Note: On Windows there are a few more steps needed first as per: Can Daedalus be used to query the blockchain, like a passive node?
From that output you can manually build a transaction and send your utxo, but there are a few steps to doing this via the command line.

> **Comments:**
> **username_5**: We can get the UTXOs at an address with cardano-cli, but if we're doing 10,000 addresses, then we don't want to manually query those with the cli (even with a script it'd be too difficult). We want to have an automated monitoring system that can get all the transactions. We'd like to raise Daedalus from the 20 gap limit it has now to what CCVault has (200 address gap)... Also we've found an issue with Daedalus that it's stopping even before the 20 gap limit.  
> **username_4**: I'm not sure of the nature/scope of your project but here are a couple of thoughts.  Cycling through trxs/addresses/utxos and performing checks/alerts would seem better suited to automated scripts and API calls. https://api.koios.rest/#overview is a great API resource for querying Cardano data.  If not suitable then you could grab the Daedalus source code and tweak whatever values you want then build and run locally.  
> **username_4**: Looks like the limit of 20 is built into cardano-wallet to adhere to industry standards. This from github: 'Transactions on addresses that "belong" to the wallet but happen to be beyond its address_pool_gap will not be visible to the wallet. This is a technical limitation of the industry standard BIP-44. See also CIP-1852.'  Ref: https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/getWallet  You might need to tweak it and build cardano-wallet locally.  

---

