You may have a post traumatic ganglion cyst
. From the way you describe I infer that the pain is mild, which means a fracture
is very unlikely. However the most prudent approach would be to get an X-ray done and approach a doctor at the earliest possible.
Hope you get well soon