peb
is the smallest currency unit.ston
is an alias for Gpeb
and introduced for convenience.KLAY
is 10^18 peb.klay.toPeb
and klay.fromPeb
are convenient APIs for converting between KLAY units.klay.toPeb
and klay.fromPeb
by sending an invalid unit string such as the one below.