Preparing search index...
The search index is not available
cardano-sdk
cardano-sdk
@cardano-sdk/cardano-services-client
BlockfrostRewardsProvider
Class BlockfrostRewardsProvider
Hierarchy
BlockfrostProvider
BlockfrostRewardsProvider
Implements
RewardsProvider
Index
Constructors
constructor
Properties
#client
logger
Methods
account
Rewards
health
Check
request
reward
Account
Balance
rewards
History
to
Provider
Error
Constructors
constructor
new
Blockfrost
Rewards
Provider
(
client
:
BlockfrostClient
, logger
:
Logger
)
:
BlockfrostRewardsProvider
Parameters
client:
BlockfrostClient
logger:
Logger
Returns
BlockfrostRewardsProvider
Properties
Private
#client
#client
:
BlockfrostClient
Protected
logger
logger
:
Logger
Methods
Protected
account
Rewards
account
Rewards
(
stakeAddress
:
RewardAccount
, __namedParameters
?:
Range
<
EpochNo
>
)
:
Promise
<
Reward
[]
>
Parameters
stakeAddress:
RewardAccount
__namedParameters:
Range
<
EpochNo
>
= {}
Returns
Promise
<
Reward
[]
>
health
Check
health
Check
(
)
:
Promise
<
HealthCheckResponse
>
Returns
Promise
<
HealthCheckResponse
>
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
>
reward
Account
Balance
reward
Account
Balance
(
__namedParameters
:
RewardAccountBalanceArgs
)
:
Promise
<
bigint
>
Parameters
__namedParameters:
RewardAccountBalanceArgs
Returns
Promise
<
bigint
>
rewards
History
rewards
History
(
__namedParameters
:
RewardsHistoryArgs
)
:
Promise
<
Map
<
RewardAccount
,
Reward
[]
>
>
Parameters
__namedParameters:
RewardsHistoryArgs
Returns
Promise
<
Map
<
RewardAccount
,
Reward
[]
>
>
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
Rewards
Provider
constructor
#client
logger
account
Rewards
health
Check
request
reward
Account
Balance
rewards
History
to
Provider
Error
Generated using
TypeDoc
Throws