-
Notifications
You must be signed in to change notification settings - Fork 5
/
consts.go
45 lines (40 loc) · 1 KB
/
consts.go
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
package events
// Methods
const (
MethodHead = "SubscribeToHead"
MethodBlocks = "SubscribeToBlocks"
MethodOperations = "SubscribeToOperations"
MethodBigMap = "SubscribeToBigMaps"
MethodAccounts = "SubscribeToAccounts"
)
// Channels
const (
ChannelHead = "head"
ChannelBlocks = "blocks"
ChannelOperations = "operations"
ChannelBigMap = "bigmaps"
ChannelAccounts = "accounts"
)
// operation kinds
const (
KindTransaction = "transaction"
KindOrigination = "origination"
KindDelegation = "delegation"
KindEndorsement = "endorsement"
KindBallot = "ballot"
KindProposal = "proposal"
KindActivation = "activation"
KindDoubleBaking = "double_baking"
KindDoubleEndorsing = "double_endorsing"
KindNonceRevelation = "nonce_revelation"
KindReveal = "reveal"
)
// Base URL
const (
BaseURL = "https://api.tzkt.io/v1/events"
)
// Big map tags
const (
BigMapTagMetadata = "metadata"
BigMapTagTokenMetadata = "token_metadata"
)