You report crypto transactions and earnings by filing 1099-MISC. It is typically sent by your exchange whenever you earn more than $600 of income through staking, lending interest, referral bonus and so on. You can read more about 1099-MISC
here. However, it does not include capital gains. You need to file capital gains through Form-8949. You can read more about it
here.