Skip to main content
Version: 0.2.38

sdk.provider.getslotconfig

Home > @blaze-cardano/sdk > Provider > getSlotConfig

Provider.getSlotConfig() method

Get the slot config, which describes how to translate between slots and unix timestamps TODO: this is brittle; in theory this should work with the era histories; also, networkName is awkward

Signature:

getSlotConfig(): SlotConfig;

Returns:

SlotConfig