This is a classic example of rhyming slang, where a two-word phrase is used to replace a single word. In this case, "edge" rhymes with "hedge", and the phrase "hedge and ditch" is used to mean "money".
So, the answer to your question is: an "edge" is a slang term for money in Cockney slang.