Were African Americans permitted to fight in the Union Army and how were the wealthy draftees able to avoid the war?

Yes, blacks were accepted into the Union army and fought with distinction. A man who had been drafted could get out of it by hiring a substitute. He had to find someone willing to take his place and pay him a substantial bonus to enlist. I seem to remember that the bonus was $100.00 but I could be wrong. Michael Montagne