Class Token
Contains token information
public class Token
- Inheritance
-
Token
- Inherited Members
Constructors
Token()
Default constructor
public Token()
Token(int, decimal, int)
Creates a token
public Token(int tokenId, decimal amount, int decimals)
Parameters
tokenId
intThe tokenId on Loopring
amount
decimalThe amount of the token
decimals
intThe amount of decimals
Properties
TokenId
The token id
[JsonProperty("tokenId")]
public int TokenId { get; set; }
Property Value
Volume
The token id
[JsonProperty("volume")]
public string? Volume { get; set; }
Property Value
Methods
CalculateTokenVolume(decimal, int)
Calculates the token volume string
public static string CalculateTokenVolume(decimal value, int decimals)
Parameters
Returns
Exceptions
- ArgumentOutOfRangeException
Thrown when the decimals is negative integer