Function formatOnConsentAtBlockProtocol

  • Name

    formatOnConsentAtBlockProtocol

    Summary

    Returns an object according to the onConsentAtBlock transmission protocol format.

    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 TransmissionOnConsentAtBlock

    An object representing the onConsentAtBlock transmission protocol.

Generated using TypeDoc