Last modified: 2024-05-20
decimals Method
Returns token decimals.
Contract
Nep17Token
Example
Request content:
var result = Contract.Call(nep17Hash, "decimals", new object[] { });
Respond content:
{
"Type":"Integer",
"value":"0"
}
Respond description:
-
Integer type: Token balance is obtained.
-
Others: failed.