@oasisprotocol/client
    Preparing search index...

    Function visitMessage

    • Calls one of the handlers based on the given context.

      Parameters

      • handlers: MessageHandlers

        Handlers, use an intersection of other modules' SignatureMessageHandlers* types to initialize the fields.

      • context: string

        The context string as would be given to ContextSigner.sign

      • message: Uint8Array

        The messsage as would be given to ContextSigner.sign

      Returns boolean

      true if the context matched one of the handlers