[enh] add `get_written_transactions_for_bma()` and `get_pending_transactions_for_bma()` Closes #2 See merge request !2