Replace call to getTokenDetails with simple contact.get