decimals field.
Quick rule
To order 10 tokens on an offering withdecimals: 8:
"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
"500000000" with decimals: 8 → 5 tokens.
Create order example
First, get the offering and note itsdecimals:
decimals: 8 and you want to order 10 tokens:

