Skip to main content
Token units in the Simply Tokenized API are expressed in the smallest unit — an integer string with no decimal point. The number of decimal places comes from the offering’s decimals field.

Quick rule

To order 10 tokens on an offering with decimals: 8:
Send "units": "10000000000"not "10" or "10.0".
Always read decimals from the offering before creating an order or interpreting units, balance, or transaction amounts. Decimals can differ per offering.

Fields

Currency amounts such as total_amount, paid_amount, and webhook amount are not smallest-unit values — they are normal currency numbers.

Conversion

Human amount → API units

API units → human amount

Example: "500000000" with decimals: 85 tokens.

Create order example

First, get the offering and note its decimals:
If the offering has decimals: 8 and you want to order 10 tokens:

Code examples

Where this applies

Common mistakes