We present an analysis of seven primary transit observations of the hot Neptune GJ436b at 3.6, 4.5 and microns obtained with the Infrared Array Camera (IRAC) on the Spitzer Space Telescope. After correcting for systematic effects of the instrument, we fitted the light curves - including limb darkening effects - using the Markov Chain Monte Carlo technique. Combining these new data with the EPOXI, HST and ground-based V, I, H and K_s observations available in the literature, the range 0.5-10 microns can be covered. The temperature distribution of the planet was estimated by using a three-dimensional, pseudo-spectral general circulation model with idealised thermal forcing. Transmission spectra of GJ436b were generated using line-by-line radiative transfer models including the opacities of the molecular species expected to be present in such planetary atmosphere, namely water vapour, methane, ammonia, carbon monoxide and dioxide, and hydrogen sulphide. In particular, a new, ab-initio calculated, linelist for hot ammonia has been used for the first time. The photometric data observed at multiple wavelengths can be interpreted with methane being the dominant species after molecular hydrogen, possibly with minor contributions from ammonia, water and other molecules. No clear evidence of carbon monoxide and dioxide is found from transmission photometry. We discuss this result in the light of a recent paper where photochemical disequilibrium is hypothesised to interpret secondary transit photometric data. In particular we show that the emission photometric data are not incompatible with the presence of abundant methane, but further spectroscopic data are desirable to confirm this scenario.