The IRS applies this to all barter.
they imputes a USD value to both sides of the transaction, which creates a "realization event" on your side, since they're looking at the BTC you're "disposing of" in USD terms, and this current USD value is likely higher than the value when you received the BTC.