Source code for agora.model.transaction_type
from enum import IntEnum
[docs]class TransactionType(IntEnum):
"""The type of a transaction.
"""
UNKNOWN = -1
NONE = 0
EARN = 1
SPEND = 2
P2P = 3
from enum import IntEnum
[docs]class TransactionType(IntEnum):
"""The type of a transaction.
"""
UNKNOWN = -1
NONE = 0
EARN = 1
SPEND = 2
P2P = 3