add polling logic to confirm transactions