Watch: Master blaster Jimmy Neesham smashes five sixes off Sri Lanka in whopping 34-run over during Black Caps' ODI win

James Neesham did his World Cup chances no harm after 18 months out of the New Zealand side, producing an outstanding all-around performance with two near records in their 45-run win over Sri Lanka in the first ODI.

The visitors, led by Kusal Perera's 102 and Niroshan Dickwella's inventive and entertaining 76 were dismissed for 326 in 49 overs, chasing New Zealand's imposing 7-371, which was anchored by Martin Guptill's 138 and Kane Williamson's 76.

Neesham, who is battling with three other players for an all-rounder's spot for the May 30-July 14 World Cup in England and Wales, however, overshadowed Guptill's 14th ODI century with a six-hitting assault at Bay Oval in Mt. Maunganui.

The 28-year-old, who had not played for New Zealand since June 2017, was on three at the start of the 49th over bowled by Thisara Perera and proceeded to smash five sixes.

With two runs also taken off a no-ball in the over Neesham had the opportunity to produce the highest scoring over recorded in an ODI given 33 runs were taken off the first five balls.

But South African Herschelle Gibbs' record of 36 against the Netherlands in 2006/07 still stands after Neesham only managed a single off the last ball to make it 34 for the over.

Another record - fastest half century in an ODI - was also in the offering, but Neesham again finished just short, completing the New Zealand innings with a sixth six off Nuwan Pradeep to make 47 not out from 13 balls.

But he wasn't done there.

Neesham then dismissed both of Sri Lanka's openers after Dickwella and Danushka Gunathilaka (43) had given their side a superb start with a 119-run stand in less than 18 overs.

He also snapped up the dangerous Dinesh Chandimal for his third wicket to reduce Sri Lanka to 4-211 in the 33rd over just as they were preparing themselves for an assault. Neesham finished with 3-38.

Perera, however, kept the visitors in the chase with his fourth one-day century, before he fell in the 46th over with his side needing 74 runs to win the game.

The second game of the three-match series is at the same venue on Saturday.