I don't know what chemical is in wasp killer if that is what you are asking. I know that diatomaceous earth works well on nests that are in the ground. The wasps cannot get through it without dying.
There is a safer wasp killing spray. I think it is Concern brand.