Function formatOnConsentAtBlockProtocol

  • Name

    formatOnConsentAtBlockProtocol

    Summary

    Returns an object according to the onConsentAtBlock transmission protocol format.

    Returns

    An object representing the onConsentAtBlock transmission protocol.

    Parameters

    • protocol: "onConsentAtBlock"

      The protocol (string) : "onConsentAtBlock".

    • consentList: string[]

      An array of account address that need to consent the protocol.

    • threshold: number

      The minimum number of consent to valid the protocol execution.

    • block: number

      The block number before which each user consent is expected.

    Returns Protocols.TransmissionOnConsentAtBlock

Generated using TypeDoc