The practice in Congress whereby Representative A promises to vote for Representative B’s legislation, provided that Representative B will support Representative A’s legislation, is referred to as
Logrolling is the trading of favors, or quid pro quo, such as vote trading by legislative members to obtain passage of actions of interest ot each legislative member.