def METHOD_NAME(account: Account, contract_address: Address, request_payload: bytes) -> bytes:
    hashed_payload: str = hashlib.sha256(request_payload).hexdigest()
    raw_data_to_sign = f"{contract_address.bech32()}{hashed_payload}"
    signature_hex = account.sign_message(raw_data_to_sign.encode())
    signature = bytes.fromhex(signature_hex)
    return signature