Changed duration to expiry for transactions