Nicki Minaj and Katy Perry get buckets on "Swish Swish," a track that finds the two superstars flexing on their haters. The new single is all set to appear on Perry's forthcoming album, Witness.

The track, which was produced by Noah “Mailbox” Passovoy, Duke Dumont and PJ “Promnite” Sledge, features an energetic instrumental and a seemingly incalculable amount of basketball references.

Describing herself as a "courtside killer queen," Perry throws a few shots at her doubters when she sings, "A tiger/Don't lose no sleep/Don't need opinions/From a shell fish or a sheep/Don't you come for me/No, not today/You're calculated/I got your number
'Cause you're a joker."

From there, the track goes to a simple, but instantly catchy hook, and from there, Nicki Minaj does what she does best: flexes on all of those who would step to the queen of the rap game.

“Pink Ferragamo sliders on deck/Silly rap beefs just get me more checks/My life is a movie, I’m never offset / Me and my amigos, no, not Offset,” she spits, serving up a dizzying display of wordplay. “Get my pimp cup, this is pimp shit, baby / I only rock with queens, so I’m making hits with Katy.”

The new track is the second time Perry's collaborated with a rapper in the last few months. Back in April, she linked up with Migos for "Bon Appétit," which she released a video for last week.

You can listen to Perry's Nicki Minaj collab for yourself just below.

See Photos of Nicki Minaj's Different Looks Over the Years

More From XXL