We’re sure you have something in mind…

How do I determine the allowed denom? Which API should I try?

You can check the API under Section 4: Method fixedDenom enquiry. If you want to use flexidenom, you can view Section 5: Method flexiDenom enquiry.