sdk.provider
Home > @blaze-cardano/sdk > Provider
Provider class
Abstract class for the Provider.
Signature:
declare abstract class Provider
Remarks
This class provides an interface for interacting with the blockchain.
Constructors
Constructor |
Modifiers |
Description |
---|---|---|
Constructs a new instance of the |
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
Methods
Method |
Modifiers |
Description |
---|---|---|
|
Waits for the confirmation of a given transaction. | |
|
Evaluates the transaction. | |
|
Retrieves the parameters for a transaction. | |
Get the slot config, which describes how to translate between slots and unix timestamps. | ||
|
Retrieves the unspent output for a given NFT. | |
|
Retrieves the unspent outputs for a given address. | |
|
Retrieves the unspent outputs for a given address and asset. | |
|
Posts a given transaction to the chain. | |
|
Resolves the datum for a given datum hash. | |
Resolves the script deployment by finding a UTxO containing the script reference. | ||
|
Resolves the unspent outputs for a given set of transaction inputs. | |
Translate a slot to a unix millisecond timestamp | ||
Translate a unix millisecond timestamp to slot, according to the providers network |