3"x0.131 collated full head nails are acceptable to IRC code. You have a choice for the length of nail based on the number of fasteners, how they are fastened, and what they are fastening along with nail type and shank size. So for example:
Stud to stud, face nail =
- [10d] 3"x0.131 @ 16"o.c.
- OR -
- [16d] 3 1/2"x0.162 @ 24"o.c.
Stud to top/bottom plates =
- [10d] 3"x0.131 @ (4) toenails
- OR -
- [10d] 3"x0.131 @ (3) end nails
- OR -
- [16d] 3 1/2"x0.162 @ (2) end nails
Built-up header with spacer, face nail =
- [16d] 3 1/2"x0.162 @ 16"o.c.
- no 10d allowed
I don't think NYC has amended the IRC fastening schedule to 3 1/4" nails, but you can check. Nor can anyone who lives somewhere other than NYC and deals with their inspector who wants something other than code, can say you have to follow their inspector. You are free to use larger/longer nails as you wish, just be careful on splitting and chunking those end and toenails.