Skip to content
Discussion options

You must be logged in to vote

Revised Questions

There are three questions here:

  1. What is the smallest unit of the Aptos token (APT)?
  2. How many of this smallest unit make up a single APT?
  3. When using 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 is 100,000,000 Octas.
or
1 Octa = 10^-8 Aptos token.

3. What unit does the amount argument use, when calling aptos_account::transfer(from, to, amount)?

In the aptos.dev documentation on aptos_account, amount is expressed as a u64 integer. Since we can't have a fractional value on this u64 am…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Alexzander-Stone
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fungible-assets Questions related to the fungible asset standard
2 participants