Aptos token base unit, Octa #78
-
Asked by
Keywords |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Revised QuestionsThere are three questions here:
Answers1. Smallest Unit of the Aptos tokenThe smallest unit available for APT, is an Octa. 2. One Aptos token = ? Octa
3. What unit does the
|
Beta Was this translation helpful? Give feedback.
-
That is perfect. Thank your for the extremely clear information. |
Beta Was this translation helpful? Give feedback.
Revised Questions
There are three questions here:
aptos_account::transfer(from, to, amount)
on-chain, what unit of APT is used for the amount argument?Answers
1. Smallest Unit of the Aptos token
The smallest unit available for APT, is an Octa.
2. One Aptos token = ? Octa
1
Aptos token is100,000,000
Octas.or
1
Octa =10^-8
Aptos token.3. What unit does the
amount
argument use, when callingaptos_account::transfer(from, to, amount)
?In the aptos.dev documentation on
aptos_account
, amount is expressed as au64
integer. Since we can't have a fractional value on thisu64
am…