Key senators and the White House have reached a tentative agreement on crypto legislation to resolve a dispute between banks and digital asset firms.