Added bucket ID to transaction and pending transaction.