registerDust
registerDust(
conn,night?):Promise<void>
DUST for the wallet's fees: its NIGHT registered for DUST generation, unless it has DUST already. A new wallet has none, and neither has one whose registrations were cleared (a network fork can clear them), so it registers again. On the devnet NIGHT the wallet lacks comes from the faucet; on a network it throws NoNightError. A proven chain takes the registration proven.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
conn |
ChainConnection |
night? |
bigint |
Returns
Section titled “Returns”Promise<void>