-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathkeyreg.transaction.online.json
55 lines (55 loc) · 2.13 KB
/
keyreg.transaction.online.json
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://algo-models.com/schemas/keyreg.transaction.online.json",
"title": "Key Registration Online Transaction",
"type": "object",
"allOf": [
{ "$ref": "http://algo-models.com/schemas/transaction.header.json"},
{
"properties": {
"type": {
"type": "string",
"const": "keyreg"
},
"nonpart": {
"type": "boolean",
"const": false,
"description": "All new Algorand accounts are participating by default. This means that they earn rewards. Mark an account nonparticipating by setting this value to true and this account will no longer earn rewards. It is unlikely that you will ever need to do this and exists mainly for economic-related functions on the network."
},
"votekey": {
"$ref": "http://algo-models.com/schemas/bytes32.json",
"description": "The root participation public key. See Generate a Participation Key to learn more."
},
"selkey": {
"$ref": "http://algo-models.com/schemas/bytes32.json",
"description": "The VRF public key."
},
"sprfkey": {
"$ref": "http://algo-models.com/schemas/bytes64.json",
"description": "The 64 byte state proof public key commitment."
},
"votefst": {
"typeof": "bigint",
"description": "The first round that the participation key is valid. Not to be confused with the FirstValid round of the keyreg transaction."
},
"votelst": {
"typeof": "bigint",
"description": "The last round that the participation key is valid. Not to be confused with the LastValid round of the keyreg transaction."
},
"votekd": {
"typeof": "bigint",
"description": "This is the dilution for the 2-level participation key. It determines the interval (number of rounds) for generating new ephemeral keys."
}
},
"required": [
"type",
"votekey",
"selkey",
"sprfkey",
"votefst",
"votelst",
"votekd"
]
}
]
}