adding key as parameter to get_pending_tx in readdataitem