Taylor top-scored with 137, and Nicholls was unbeaten on 124 off just 80 balls, lifting the hosts to 364 for four after they lost the toss
With Sri Lanka chasing New Zealand's 319 for seven, they were on the ropes at 128 for seven when Perera opened up.
All-rounder Jimmy Neesham and opener Martin Guptill are also in the Twenty20 squad to face Sri Lanka
In reply to New Zealand's 371 for seven, Sri Lanka were all out for 326 with six balls remaining.
With de Grandhomme out and Corey Anderson injured, Jimmy Neesham and Doug Bracewell have been recalled as all-rounder options
The overwhelming victory gave New Zealand the series 1-0 after the first Test in Wellington was drawn.
At the crease were Dilruwan Perera on 22 and Suranga Lakmal on 16 with their 660-run target out of sight.
Play resumes on the fourth day Saturday with Dinesh Chandimal on 14, Kusal Menis on six and Sri Lanka needing another 636 runs
New Zealand government gives clearance for Pakistan, West Indies tours
T20 Blast: Scintillating Shaheen Afridi takes four wickets in four balls in magical spell
Zimbabwe confirm white-ball tour of Pakistan
Chris Gayle, Colin Munro, Daren Sammy, Munaf Patel among overseas stars for LPL auction
Australia cricket great Dean Jones passes away at 59
National T20 Cup: Salman Butt declines to lead Central Punjab second XI
PCB finalises three-year broadcast deal with PTV
T20 Blast: All-round Imad Wasim stars for Nottinghamshire in tight win over Durham
PSL 5 to return on November 14; all matches in Lahore
PSL Schedule Live Streaming and PSL 5 Matches Details