You get a certain amount of gold/seeds per step and per node you hit, you can see the numbers for some of the maps in the HBC wiki even.

If you want to try to research whether speed affects it or not you should really pick a map without any random tiles and have different speed teams go through it, like the early area 1 maps. Maps like the 80 stamina gardens are just way too unreliable.