-
Notifications
You must be signed in to change notification settings - Fork 34
/
TokenInfoShort.cs
36 lines (31 loc) 路 962 Bytes
/
TokenInfoShort.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
锘縰sing System.Numerics;
using NJsonSchema.Annotations;
namespace Tzkt.Api.Models
{
public class TokenInfoShort
{
/// <summary>
/// Internal TzKT id (not the same as `tokenId`).
/// </summary>
public long Id { get; set; }
/// <summary>
/// Contract, created the token.
/// </summary>
public Alias Contract { get; set; }
/// <summary>
/// Token id, unique within the contract.
/// </summary>
[JsonSchemaType(typeof(string), IsNullable = false)]
public BigInteger TokenId { get; set; }
/// <summary>
/// Token standard (either `fa1.2` or `fa2`).
/// </summary>
public string Standard { get; set; }
/// <summary>
/// Token metadata.
/// **[sortable]**
/// </summary>
[JsonSchemaType(typeof(object), IsNullable = true)]
public RawJson Metadata { get; set; }
}
}