Type alias ChainConfig<formatters>

ChainConfig<formatters>: {
    fees?: ChainFees<formatters>;
    formatters?: formatters;
    serializers?: ChainSerializers<formatters>;
}

Type Parameters

Type declaration

  • Optional fees?: ChainFees<formatters>

    Modifies how fees are derived.

  • Optional formatters?: formatters

    Modifies how chain data structures (ie. Blocks, Transactions, etc) are formatted & typed.

  • Optional serializers?: ChainSerializers<formatters>

    Modifies how data (ie. Transactions) is serialized.

Generated using TypeDoc