Today Martin appeared in Wellington District Court for sentencing after earlier pleading guilty to six charges of supplying methamphetamine.
Before Judge Stephen Harrop defence lawyer Rob Stevens said Martin had always tried to do his best "but often falls short".
Even though he knew he was dealing with an undercover officer he pretended to sell the methamphetamine so he could get the money, Mr Stevens said.
"It's very clear that this man is at the very bottom level of the chain of supply."
Prosecutor Kate Feltham said although the largest of the three deals was actually only salt, Martin did plead guilty to supplying methamphetamine so he knew the intention was there.
In sentencing Martin, Judge Harrop said he did not see any remorse and Martin had a long list of drug, dishonesty and violence charges.
Although he was involved in only low level supply it was consistent, Judge Harrop said.
Martin was sentenced to two years and six months in prison.