Please follow this link to the DToken contract API reference.
For more technical details and solutions specific to your case, please get in touch with us at Ontology.