<gh_stars>1-10
from pydantic import Field
from pystratis.api import Model
from pystratis.core.types import Address


# noinspection PyUnresolvedReferences
class VerifyMessageRequest(Model):
    """A request model used for the /wallet/verifymessage endpoint.

    Args:
        signature (str): The signature to be verified.
        external_address (Address): The address of the signer.
        message (str): The message that was signed.
    """
    signature: str
    external_address: Address = Field(alias='externalAddress')
    message: str

from pydantic import Field
from pystratis.api import Model
from pystratis.core.types import Address


# noinspection PyUnresolvedReferences
class VerifyMessageRequest(Model):
    """A request model used for the /wallet/verifymessage endpoint.

    Args:
        signature (str): The signature to be verified.
        external_address (Address): The address of the signer.
        message (str): The message that was signed.
    """
    signature: str
    external_address: Address = Field(alias='externalAddress')
    message: str
# noinspection PyUnresolvedReferences A request model used for the /wallet/verifymessage endpoint.      Args:         signature (str): The signature to be verified.         external_address (Address): The address of the signer.         message (str): The message that was signed.