Preparing search index...
The search index is not available
cardano-sdk
cardano-sdk
@cardano-sdk/cardano-services-client
BlockfrostAssetProvider
Class BlockfrostAssetProvider
Hierarchy
BlockfrostProvider
BlockfrostAssetProvider
Implements
AssetProvider
Index
Constructors
constructor
Properties
#client
logger
Methods
as
String
get
Asset
get
Assets
health
Check
map
Nft
Metadata
map
Nft
Metadata
Other
Properties
map
Nft
Metadata
Version
map
Token
Metadata
metadatum
To
String
obj
To
Metadatum
request
to
Provider
Error
Constructors
constructor
new
Blockfrost
Asset
Provider
(
client
:
BlockfrostClient
, logger
:
Logger
)
:
BlockfrostAssetProvider
Parameters
client:
BlockfrostClient
logger:
Logger
Returns
BlockfrostAssetProvider
Properties
Private
#client
#client
:
BlockfrostClient
Protected
logger
logger
:
Logger
Methods
Private
as
String
as
String
(
metadatum
:
unknown
)
:
undefined
|
string
Parameters
metadatum:
unknown
Returns
undefined
|
string
get
Asset
get
Asset
(
__namedParameters
:
GetAssetArgs
)
:
Promise
<
AssetInfo
>
Parameters
__namedParameters:
GetAssetArgs
Returns
Promise
<
AssetInfo
>
get
Assets
get
Assets
(
__namedParameters
:
GetAssetsArgs
)
:
Promise
<
AssetInfo
[]
>
Parameters
__namedParameters:
GetAssetsArgs
Returns
Promise
<
AssetInfo
[]
>
health
Check
health
Check
(
)
:
Promise
<
HealthCheckResponse
>
Returns
Promise
<
HealthCheckResponse
>
Private
map
Nft
Metadata
map
Nft
Metadata
(
asset
:
{}
)
:
null
|
NftMetadata
Parameters
asset:
{}
Returns
null
|
NftMetadata
Private
map
Nft
Metadata
Other
Properties
map
Nft
Metadata
Other
Properties
(
metadata
:
null
|
{
[key:
string
]
:
unknown
|
undefined
;
}
)
:
undefined
|
Map
<
string
,
Metadatum
>
Parameters
metadata:
null
|
{
[key:
string
]
:
unknown
|
undefined
;
}
Returns
undefined
|
Map
<
string
,
Metadatum
>
Private
map
Nft
Metadata
Version
map
Nft
Metadata
Version
(
metadata
:
null
|
{
[key:
string
]
:
unknown
|
undefined
;
}
)
:
string
Parameters
metadata:
null
|
{
[key:
string
]
:
unknown
|
undefined
;
}
Returns
string
Private
map
Token
Metadata
map
Token
Metadata
(
assetId
:
AssetId
, asset
:
{}
)
:
TokenMetadata
Parameters
assetId:
AssetId
asset:
{}
Returns
TokenMetadata
Private
metadatum
To
String
metadatum
To
String
(
metadatum
:
undefined
|
null
|
Metadatum
)
:
undefined
|
string
Parameters
metadatum:
undefined
|
null
|
Metadatum
Returns
undefined
|
string
Private
obj
To
Metadatum
obj
To
Metadatum
(
obj
:
unknown
)
:
Metadatum
Parameters
obj:
unknown
Returns
Metadatum
Protected
request
request
<
T
>
(
endpoint
:
string
)
:
Promise
<
T
>
Throws
Type Parameters
T
Parameters
endpoint:
string
e.g. 'blocks/latest'
Returns
Promise
<
T
>
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
Asset
Provider
constructor
#client
logger
as
String
get
Asset
get
Assets
health
Check
map
Nft
Metadata
map
Nft
Metadata
Other
Properties
map
Nft
Metadata
Version
map
Token
Metadata
metadatum
To
String
obj
To
Metadatum
request
to
Provider
Error
Generated using
TypeDoc
Throws