The trading of votes by elected officials to secure favorable outcomes is called logrolling.
Logrolling is the practice of exchanging favors. When two members of government agree to support each other's bills ahead of the vote, it's considered to be logrolling.
ANSWER: logrolling
Hope this helps! :)