Preparing search index...
The search index is not available
cardano-sdk
cardano-sdk
@cardano-sdk/cardano-services-client
BlockfrostNetworkInfoProvider
Class BlockfrostNetworkInfoProvider
Hierarchy
BlockfrostProvider
BlockfrostNetworkInfoProvider
Implements
NetworkInfoProvider
Index
Constructors
constructor
Properties
#client
logger
Methods
era
Summaries
fetch
Era
Summaries
genesis
Parameters
health
Check
ledger
Tip
lovelace
Supply
parse
Era
Summaries
protocol
Parameters
request
stake
to
Provider
Error
Constructors
constructor
new
Blockfrost
Network
Info
Provider
(
client
:
BlockfrostClient
, logger
:
Logger
)
:
BlockfrostNetworkInfoProvider
Parameters
client:
BlockfrostClient
logger:
Logger
Returns
BlockfrostNetworkInfoProvider
Properties
Private
#client
#client
:
BlockfrostClient
Protected
logger
logger
:
Logger
Methods
era
Summaries
era
Summaries
(
)
:
Promise
<
EraSummary
[]
>
Returns
Promise
<
EraSummary
[]
>
Protected
fetch
Era
Summaries
fetch
Era
Summaries
(
)
:
Promise
<
{}
[]
>
Returns
Promise
<
{}
[]
>
genesis
Parameters
genesis
Parameters
(
)
:
Promise
<
CompactGenesis
>
Returns
Promise
<
CompactGenesis
>
health
Check
health
Check
(
)
:
Promise
<
HealthCheckResponse
>
Returns
Promise
<
HealthCheckResponse
>
ledger
Tip
ledger
Tip
(
)
:
Promise
<
PartialBlockHeader
>
Returns
Promise
<
PartialBlockHeader
>
lovelace
Supply
lovelace
Supply
(
)
:
Promise
<
SupplySummary
>
Returns
Promise
<
SupplySummary
>
Protected
parse
Era
Summaries
parse
Era
Summaries
(
summaries
:
{}
[]
, systemStart
:
Date
)
:
Promise
<
EraSummary
[]
>
Parameters
summaries:
{}
[]
systemStart:
Date
Returns
Promise
<
EraSummary
[]
>
protocol
Parameters
protocol
Parameters
(
)
:
Promise
<
ProtocolParameters
>
Returns
Promise
<
ProtocolParameters
>
Protected
request
request
<
T
>
(
endpoint
:
string
, requestInit
?:
RequestInit
)
:
Promise
<
T
>
Throws
Type Parameters
T
Parameters
endpoint:
string
e.g. 'blocks/latest'
Optional
requestInit:
RequestInit
request options
Returns
Promise
<
T
>
stake
stake
(
)
:
Promise
<
StakeSummary
>
Returns
Promise
<
StakeSummary
>
Protected
to
Provider
Error
to
Provider
Error
(
error
:
unknown
)
:
ProviderError
<
unknown
>
Parameters
error:
unknown
Returns
ProviderError
<
unknown
>
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
Blockfrost
Network
Info
Provider
constructor
#client
logger
era
Summaries
fetch
Era
Summaries
genesis
Parameters
health
Check
ledger
Tip
lovelace
Supply
parse
Era
Summaries
protocol
Parameters
request
stake
to
Provider
Error
Generated using
TypeDoc
Throws