Preparing search index...
The search index is not available
cardano-sdk
cardano-sdk
@cardano-sdk/cardano-services
DbSyncNetworkInfoProvider
Class DbSyncNetworkInfoProvider
Hierarchy
RunnableModule
<
this
>
&
{
cardanoNode
:
CardanoNode
;
dbPools
:
DbPools
;
healthCheck
:
(
(
)
=>
Promise
<
HealthCheckResponse
>
)
;
logger
:
Logger
;
}
DbSyncNetworkInfoProvider
Implements
NetworkInfoProvider
Index
Constructors
constructor
Properties
#builder
#cache
#current
Epoch
#current
Hash
#epoch
Monitor
#epoch
Rollover
Disposer
#genesis
Data
#ledger
Tip
Ttl
#logger
#slot
Epoch
Calc
cardano
Node
db
Pools
health
Check
logger
name
state
Methods
#get
Ledger
Tip
Ttl
#get
Slot
Epoch
Calc
era
Summaries
genesis
Parameters
initialize
initialize
After
initialize
Before
initialize
Impl
ledger
Tip
lovelace
Supply
protocol
Parameters
shutdown
shutdown
After
shutdown
Before
shutdown
Impl
stake
start
start
After
start
Before
start
Impl
Constructors
constructor
new
Db
Sync
Network
Info
Provider
(
__namedParameters
:
NetworkInfoProviderDependencies
)
:
DbSyncNetworkInfoProvider
Parameters
__namedParameters:
NetworkInfoProviderDependencies
Returns
DbSyncNetworkInfoProvider
Properties
Private
#builder
#builder
:
NetworkInfoBuilder
Private
#cache
#cache
:
InMemoryCache
Private
#current
Epoch
#current
Epoch
:
EpochNo
Private
#current
Hash
#current
Hash
:
undefined
|
BlockId
Private
#epoch
Monitor
#epoch
Monitor
:
EpochMonitor
Private
#epoch
Rollover
Disposer
#epoch
Rollover
Disposer
:
Disposer
Private
#genesis
Data
#genesis
Data
:
GenesisData
Private
#ledger
Tip
Ttl
#ledger
Tip
Ttl
:
Seconds
Private
#logger
#logger
:
Logger
Private
#slot
Epoch
Calc
#slot
Epoch
Calc
:
(
(
slotNo
:
Slot
)
=>
EpochNo
)
Type declaration
(
slotNo
:
Slot
)
:
EpochNo
Parameters
slotNo:
Slot
Returns
EpochNo
cardano
Node
cardano
Node
:
CardanoNode
db
Pools
db
Pools
:
DbPools
health
Check
health
Check
:
(
(
)
=>
Promise
<
HealthCheckResponse
>
)
Type declaration
(
)
:
Promise
<
HealthCheckResponse
>
Returns
Promise
<
HealthCheckResponse
>
logger
logger
:
Logger
name
name
:
string
state
state
:
RunnableModuleState
Methods
Private
#get
Ledger
Tip
Ttl
#get
Ledger
Tip
Ttl
(
)
:
Promise
<
Seconds
>
Returns
Promise
<
Seconds
>
Private
#get
Slot
Epoch
Calc
#get
Slot
Epoch
Calc
(
)
:
Promise
<
(
(
slotNo
:
Slot
)
=>
EpochNo
)
>
Returns
Promise
<
(
(
slotNo
:
Slot
)
=>
EpochNo
)
>
era
Summaries
era
Summaries
(
)
:
Promise
<
EraSummary
[]
>
Returns
Promise
<
EraSummary
[]
>
genesis
Parameters
genesis
Parameters
(
)
:
Promise
<
CompactGenesis
>
Returns
Promise
<
CompactGenesis
>
initialize
initialize
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
initialize
After
initialize
After
(
)
:
void
Returns
void
initialize
Before
initialize
Before
(
)
:
void
Returns
void
initialize
Impl
initialize
Impl
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
ledger
Tip
ledger
Tip
(
)
:
Promise
<
PartialBlockHeader
>
Returns
Promise
<
PartialBlockHeader
>
lovelace
Supply
lovelace
Supply
(
)
:
Promise
<
SupplySummary
>
Returns
Promise
<
SupplySummary
>
protocol
Parameters
protocol
Parameters
(
)
:
Promise
<
ProtocolParameters
>
Returns
Promise
<
ProtocolParameters
>
shutdown
shutdown
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
shutdown
After
shutdown
After
(
)
:
void
Returns
void
shutdown
Before
shutdown
Before
(
)
:
void
Returns
void
shutdown
Impl
shutdown
Impl
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
stake
stake
(
)
:
Promise
<
StakeSummary
>
Returns
Promise
<
StakeSummary
>
start
start
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
start
After
start
After
(
)
:
void
Returns
void
start
Before
start
Before
(
)
:
void
Returns
void
start
Impl
start
Impl
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
cardano-
sdk
@cardano-
sdk/cardano-
services
<internal>
errors
util
@cardano-
sdk/cardano-
services-
client
<internal>
@cardano-
sdk/core
<internal>
Asset
Asset
Name
Label
util
Cardano
Asset
Fingerprint
Asset
Id
Asset
Name
Cip1854
Extended
Account
Public
Key
DRepID
Pool
Id
Reward
Account
Transaction
Id
Vrf
Vk
Bech32
util
Cardano
Node
Util
Days
Hours
Milliseconds
Minutes
Provider
Util
Seconds
Serialization
Tx
BodyCBOR
TxCBOR
metadatum
util
@cardano-
sdk/e2e
<internal>
@cardano-
sdk/golden-
test-
generator
<internal>
@cardano-
sdk/governance
<internal>
cip36
@cardano-
sdk/input-
selection
<internal>
@cardano-
sdk/key-
management
<internal>
cip8
errors
util
@cardano-
sdk/ogmios
<internal>
ogmios
To
Core
@cardano-
sdk/projection
<internal>
Bootstrap
In
Memory
Mappers
@cardano-
sdk/util
<internal>
Base64
Blob
Hex
Blob
@cardano-
sdk/util-
dev
<internal>
Asset
Id
Docker
Util
Tx
Test
Util
cip19
Test
Vectors
handle
Provider
Mocks
mock
Providers
@cardano-
sdk/util-
rxjs
@cardano-
sdk/wallet
<internal>
cip30
storage
@cardano-
sdk/web-
extension
<internal>
cip30
Db
Sync
Network
Info
Provider
constructor
#builder
#cache
#current
Epoch
#current
Hash
#epoch
Monitor
#epoch
Rollover
Disposer
#genesis
Data
#ledger
Tip
Ttl
#logger
#slot
Epoch
Calc
cardano
Node
db
Pools
health
Check
logger
name
state
#get
Ledger
Tip
Ttl
#get
Slot
Epoch
Calc
era
Summaries
genesis
Parameters
initialize
initialize
After
initialize
Before
initialize
Impl
ledger
Tip
lovelace
Supply
protocol
Parameters
shutdown
shutdown
After
shutdown
Before
shutdown
Impl
stake
start
start
After
start
Before
start
Impl
Generated using
TypeDoc