Companion object for BlockfrostProvider with factory methods and utilities.
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BlockfrostProvider.type
Members list
Value members
Concrete methods
Create a BlockfrostProvider with custom configuration.
Create a BlockfrostProvider with custom configuration.
Fetches protocol parameters during construction.
Value parameters
- apiKey
-
Blockfrost API key
- baseUrl
-
Blockfrost-compatible API base URL
- maxConcurrentRequests
-
Maximum concurrent HTTP requests (default 5)
- network
-
Cardano network (Mainnet or Testnet)
- slotConfig
-
Slot configuration for the network
Attributes
- Returns
-
Future containing the configured BlockfrostProvider
Create a BlockfrostProvider for local Yaci DevKit.
Create a BlockfrostProvider for local Yaci DevKit.
Fetches protocol parameters during construction.
Value parameters
- baseUrl
-
API base URL (default: http://localhost:8080/api/v1)
- maxConcurrentRequests
-
Maximum concurrent HTTP requests (default 5)
- slotConfig
-
Slot configuration (default: Yaci DevKit config with 1s slots)
Attributes
- Returns
-
Future containing the configured BlockfrostProvider
Create a BlockfrostProvider for Cardano mainnet.
Create a BlockfrostProvider for Cardano mainnet.
Fetches protocol parameters during construction.
Value parameters
- apiKey
-
Blockfrost API key
- maxConcurrentRequests
-
Maximum concurrent HTTP requests (default 5)
Attributes
- Returns
-
Future containing the configured BlockfrostProvider
Create a BlockfrostProvider for Cardano preprod testnet.
Create a BlockfrostProvider for Cardano preprod testnet.
Fetches protocol parameters during construction.
Value parameters
- apiKey
-
Blockfrost API key
- maxConcurrentRequests
-
Maximum concurrent HTTP requests (default 5)
Attributes
- Returns
-
Future containing the configured BlockfrostProvider
Create a BlockfrostProvider for Cardano preview testnet.
Create a BlockfrostProvider for Cardano preview testnet.
Fetches protocol parameters during construction.
Value parameters
- apiKey
-
Blockfrost API key
- maxConcurrentRequests
-
Maximum concurrent HTTP requests (default 5)
Attributes
- Returns
-
Future containing the configured BlockfrostProvider
Concrete fields
Local Yaci DevKit API URL
Local Yaci DevKit API URL
Attributes
Blockfrost API URL for Cardano mainnet
Blockfrost API URL for Cardano mainnet
Attributes
Blockfrost API URL for Cardano preprod testnet
Blockfrost API URL for Cardano preprod testnet
Attributes
Blockfrost API URL for Cardano preview testnet
Blockfrost API URL for Cardano preview testnet
Attributes
Deprecated fields
Attributes
- Deprecated
-
[Since version 0.14.1]Use localUrl instead
Attributes
- Deprecated
-
[Since version 0.14.1]Use mainnetUrl instead
Attributes
- Deprecated
-
[Since version 0.14.1]Use preprodUrl instead
Attributes
- Deprecated
-
[Since version 0.14.1]Use previewUrl instead