Allows callers to wait for confirmation of the transaction
Co-authored-by: Eric Mastro <github@egonat.me>