@app.route('/callback/<address>')
def callback(address):
    sid = get_sid_from_address(address)
socketio.send('payment seen on blockchain', room=sid)

@socketio.on('address')
def socketlisten(address):
    pass
How can I send a message from a flask route to a socket using flask-socketio