Skip to main content

Complete model reference

Generated by tools/generate_documentation.py. Do not edit this page by hand.

Every table below is derived from the runtime model schema. Required describes strict runtime parsing. A dash means no declared default. RPC parsing may additionally require response-only AccountBlock fields.

AcceleratorProject​

Import: znn.model.models.AcceleratorProject

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
ididstring (hex-32)Hashyes—
namenamestringstryes—
descriptiondescriptionstringstryes—
urlurlstringstryes—
znnFundsNeededznnFundsNeededdecimal-string (base-10)intyes—
qsrFundsNeededqsrFundsNeededdecimal-string (base-10)intyes—
creationTimestampcreationTimestampnumberintyes—
statusIntstatusnumberintyes—
voteBreakdownvotesmodelVoteBreakdownyes—

AccountBlock​

Runtime class: znn.model.nom.account_block.AccountBlock

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
versionversionnumberintyes—
chainIdentifierchainIdentifiernumberintyes—
blockTypeblockTypenumberintyes—
hashhashstring (hex-32)Hashyes—
previousHashpreviousHashstring (hex-32)Hashyes—
heightheightnumberintyes—
momentumAcknowledgedmomentumAcknowledgedmodelHashHeightyes—
addressaddressstring (bech32-address)Addressyes—
toAddresstoAddressstring (bech32-address)Addressyes—
amountamountdecimal-string (base-10)intyes—
tokenStandardtokenStandardstring (bech32-token-standard)TokenStandardyes—
fromBlockHashfromBlockHashstring (hex-32)Hashyes—
datadatastring (base64)bytesyes—
fusedPlasmafusedPlasmanumberintyes—
difficultydifficultynumberintyes—
noncenoncestringstryes—
publicKeypublicKeystring (base64)bytesyes—
signaturesignaturestring (base64)bytesyes—
tokentokenmodelTokenno—
descendantBlocksdescendantBlocksarraylist[AccountBlock]yes—
basePlasmabasePlasmanumberintyes—
usedPlasmausedPlasmanumberintyes—
changesHashchangesHashstring (hex-32)Hashyes—
confirmationDetailconfirmationDetailmodelAccountBlockConfirmationDetailno—
pairedAccountBlockpairedAccountBlockmodelAccountBlockno—

AccountBlockConfirmationDetail​

Import: znn.model.models.AccountBlockConfirmationDetail

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
numConfirmationsnumConfirmationsnumberintyes—
momentumHeightmomentumHeightnumberintyes—
momentumHashmomentumHashstring (hex-32)Hashyes—
momentumTimestampmomentumTimestampnumberintyes—

AccountBlockList​

Import: znn.model.models.AccountBlockList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
countcountnumberintno0
listlistarraylist[AccountBlock]no[]
moremorebooleanboolnofalse

AccountBlockTemplate​

Import: znn.model.models.AccountBlockTemplate

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
versionversionnumberintyes—
chainIdentifierchainIdentifiernumberintyes—
blockTypeblockTypenumberintyes—
hashhashstring (hex-32)Hashyes—
previousHashpreviousHashstring (hex-32)Hashyes—
heightheightnumberintyes—
momentumAcknowledgedmomentumAcknowledgedmodelHashHeightyes—
addressaddressstring (bech32-address)Addressyes—
toAddresstoAddressstring (bech32-address)Addressyes—
amountamountdecimal-string (base-10)intyes—
tokenStandardtokenStandardstring (bech32-token-standard)TokenStandardyes—
fromBlockHashfromBlockHashstring (hex-32)Hashyes—
datadatastring (base64)bytesyes—
fusedPlasmafusedPlasmanumberintyes—
difficultydifficultynumberintyes—
noncenoncestringstryes—
publicKeypublicKeystring (base64)bytesyes—
signaturesignaturestring (base64)bytesyes—

AccountHeader​

Import: znn.model.models.AccountHeader

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
addressaddressstring (bech32-address)Addressyes—
hashhashstring (hex-32)Hashyes—
heightheightnumberintyes—

AccountInfo​

Import: znn.model.models.AccountInfo

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
addressaddressstring (bech32-address)Addressyes—
blockCountaccountHeightnumberintno0
balanceInfoMapbalanceInfoMapobjectdict[str, BalanceInfoListItem]no{}

Address​

Runtime class: znn.model.primitives.address.Address

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
hrphrpstringstryes—
corecorestring (model-specific-binary)stryes—

BalanceInfoListItem​

Import: znn.model.models.BalanceInfoListItem

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
tokentokenmodelTokenyes—
balancebalancedecimal-string (base-10)intyes—

BridgeInfo​

Import: znn.model.models.BridgeInfo

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
administratoradministratorstring (bech32-address)Addressyes—
compressedTssECDSAPubKeycompressedTssECDSAPubKeystringstryes—
decompressedTssECDSAPubKeydecompressedTssECDSAPubKeystringstryes—
allowKeyGenallowKeyGenbooleanboolyes—
haltedhaltedbooleanboolyes—
unhaltedAtunhaltedAtnumberintyes—
unhaltDurationInMomentumsunhaltDurationInMomentumsnumberintyes—
tssNoncetssNoncenumberintyes—
metadatametadatastringstryes—

BridgeNetworkInfo​

Import: znn.model.models.BridgeNetworkInfo

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
networkClassnetworkClassnumberintyes—
chainIdchainIdnumberintyes—
namenamestringstryes—
contractAddresscontractAddressstringstryes—
metadatametadatastringstryes—
tokenPairstokenPairsarraylist[TokenPair]yes—

BridgeNetworkInfoList​

Import: znn.model.models.BridgeNetworkInfoList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
countcountnumberintyes—
listlistarraylist[BridgeNetworkInfo]yes—

DelegationInfo​

Import: znn.model.models.DelegationInfo

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
namenamestringstryes—
statusstatusnumberintyes—
weightweightdecimal-string (base-10)intyes—

DetailedMomentum​

Import: znn.model.models.DetailedMomentum

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
blocksblocksarraylist[AccountBlock]no[]
momentummomentummodelMomentumyes—

DetailedMomentumList​

Import: znn.model.models.DetailedMomentumList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
countcountnumberintno0
listlistarraylist[DetailedMomentum]no[]

FusionEntry​

Import: znn.model.models.FusionEntry

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
qsrAmountqsrAmountdecimal-string (base-10)intyes—
beneficiarybeneficiarystring (bech32-address)Addressyes—
expirationHeightexpirationHeightnumberintyes—
ididstring (hex-32)Hashyes—

FusionEntryList​

Import: znn.model.models.FusionEntryList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
qsrAmountqsrAmountdecimal-string (base-10)intno0n
countcountnumberintno0
listlistarraylist[FusionEntry]no[]

GetRequiredPowParam​

Import: znn.model.models.GetRequiredPowParam

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
addressaddressstring (bech32-address)Addressyes—
blockTypeblockTypenumberintyes—
toAddresstoAddressstring (bech32-address)Addressnoundefined
datadatastring (base64)bytesnoundefined

GetRequiredPowResponse​

Import: znn.model.models.GetRequiredPowResponse

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
availablePlasmaavailablePlasmanumberintyes—
basePlasmabasePlasmanumberintyes—
requiredDifficultyrequiredDifficultynumberintyes—

Hash​

Runtime class: znn.model.primitives.hash.Hash

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
corecorestring (model-specific-binary)stryes—

HashHeight​

Runtime class: znn.model.primitives.hash_height.HashHeight

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
hashhashstring (hex-32)HashnoEMPTY_HASH
heightheightnumberintyes—

HtlcInfo​

Import: znn.model.models.HtlcInfo

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
ididstring (hex-32)Hashyes—
timeLockedtimeLockedstring (bech32-address)Addressyes—
hashLockedhashLockedstring (bech32-address)Addressyes—
tokenStandardtokenStandardstring (bech32-token-standard)TokenStandardyes—
amountamountdecimal-string (base-10)intyes—
expirationTimeexpirationTimenumberintyes—
hashTypehashTypenumberintyes—
keyMaxSizekeyMaxSizenumberintyes—
hashLockhashLockstring (base64)bytesyes—

LiquidityInfo​

Import: znn.model.models.LiquidityInfo

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
administratoradministratorstring (bech32-address)Addressyes—
isHaltedisHaltedbooleanboolyes—
znnRewardznnRewarddecimal-string (base-10)intyes—
qsrRewardqsrRewarddecimal-string (base-10)intyes—
tokenTuplestokenTuplesarraylist[TokenTuple]yes—

LiquidityStakeEntry​

Import: znn.model.models.LiquidityStakeEntry

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
amountamountdecimal-string (base-10)intyes—
tokenStandardtokenStandardstring (bech32-token-standard)TokenStandardyes—
weightedAmountweightedAmountdecimal-string (base-10)intyes—
startTimestartTimenumberintyes—
revokeTimerevokeTimenumberintyes—
expirationTimeexpirationTimenumberintyes—
stakeAddressstakeAddressstring (bech32-address)Addressyes—
ididstring (hex-32)Hashyes—

LiquidityStakeList​

Import: znn.model.models.LiquidityStakeList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
totalAmounttotalAmountdecimal-string (base-10)intyes—
totalWeightedAmounttotalWeightedAmountdecimal-string (base-10)intyes—
countcountnumberintyes—
listlistarraylist[LiquidityStakeEntry]yes—

Model​

Import: znn.model.models.Model

This primitive has a custom validated wire representation.

Momentum​

Import: znn.model.models.Momentum

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
versionversionnumberintyes—
chainIdentifierchainIdentifiernumberintyes—
hashhashstring (hex-32)Hashyes—
previousHashpreviousHashstring (hex-32)Hashyes—
heightheightnumberintyes—
timestamptimestampnumberintyes—
datadatastring (base64)bytesyes—
contentcontentarraylist[AccountHeader]yes—
changesHashchangesHashstring (hex-32)Hashyes—
publicKeypublicKeystring (base64)bytesyes—
signaturesignaturestring (base64)bytesyes—
producerproducerstring (bech32-address)Addressyes—

MomentumList​

Import: znn.model.models.MomentumList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
countcountnumberintno0
listlistarraylist[Momentum]no[]

NetworkInfo​

Import: znn.model.models.NetworkInfo

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
numPeersnumPeersnumberintyes—
selfselfmodelPeeryes—
peerspeersarraylist[Peer]yes—

OrchestratorInfo​

Import: znn.model.models.OrchestratorInfo

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
windowSizewindowSizenumberintyes—
keyGenThresholdkeyGenThresholdnumberintyes—
confirmationsToFinalityconfirmationsToFinalitynumberintyes—
estimatedMomentumTimeestimatedMomentumTimenumberintyes—
allowKeyGenHeightallowKeyGenHeightnumberintyes—

OsInfo​

Import: znn.model.models.OsInfo

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
ososstringstryes—
platformplatformstringstryes—
platformFamilyplatformFamilystringstryes—
platformVersionplatformVersionstringstryes—
kernelVersionkernelVersionstringstryes—
memoryTotalmemoryTotalnumberintyes—
memoryFreememoryFreenumberintyes—
numCPUnumCPUnumberintyes—
numGoroutinenumGoroutinenumberintyes—

Peer​

Import: znn.model.models.Peer

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
publicKeypublicKeystringstryes—
ipipstringstryes—

Phase​

Import: znn.model.models.Phase

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
projectIdphase.projectIDstring (hex-32)Hashyes—
acceptedTimestampphase.acceptedTimestampnumberintyes—

PillarEpochHistory​

Import: znn.model.models.PillarEpochHistory

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
namenamestringstryes—
epochepochnumberintyes—
giveBlockRewardPercentagegiveBlockRewardPercentagenumberintyes—
giveDelegateRewardPercentagegiveDelegateRewardPercentagenumberintyes—
producedBlockNumproducedBlockNumnumberintyes—
expectedBlockNumexpectedBlockNumnumberintyes—
weightweightdecimal-string (base-10)intyes—

PillarEpochHistoryList​

Import: znn.model.models.PillarEpochHistoryList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
countcountnumberintyes—
listlistarraylist[PillarEpochHistory]yes—

PillarEpochStats​

Import: znn.model.models.PillarEpochStats

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
producedMomentumsproducedMomentumsnumberintyes—
expectedMomentumsexpectedMomentumsnumberintyes—

PillarInfo​

Import: znn.model.models.PillarInfo

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
namenamestringstryes—
rankranknumberintyes—
typetypenumberintyes—
ownerAddressownerAddressstring (bech32-address)Addressyes—
producerAddressproducerAddressstring (bech32-address)Addressyes—
withdrawAddresswithdrawAddressstring (bech32-address)Addressyes—
giveMomentumRewardPercentagegiveMomentumRewardPercentagenumberintyes—
giveDelegateRewardPercentagegiveDelegateRewardPercentagenumberintyes—
isRevocableisRevocablebooleanboolyes—
revokeCooldownrevokeCooldownnumberintyes—
revokeTimestamprevokeTimestampnumberintyes—
currentStatscurrentStatsmodelPillarEpochStatsyes—
weightweightdecimal-string (base-10)intyes—

PillarInfoList​

Import: znn.model.models.PillarInfoList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
countcountnumberintyes—
listlistarraylist[PillarInfo]yes—

PillarVote​

Import: znn.model.models.PillarVote

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
ididstring (hex-32)Hashyes—
namenamestringstryes—
votevotenumberintyes—

PlasmaInfo​

Import: znn.model.models.PlasmaInfo

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
currentPlasmacurrentPlasmanumberintyes—
maxPlasmamaxPlasmanumberintyes—
qsrAmountqsrAmountdecimal-string (base-10)intyes—

ProcessInfo​

Import: znn.model.models.ProcessInfo

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
commitcommitstringstryes—
versionversionstringstryes—

Project​

Import: znn.model.models.Project

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
ownerownerstring (bech32-address)Addressyes—
lastUpdateTimestamplastUpdateTimestampnumberintyes—
phaseIdsphaseIdsarraylist[Hash]yes—
phasesphasesarraylist[Phase]yes—

ProjectList​

Import: znn.model.models.ProjectList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
countcountnumberintyes—
listlistarraylist[Project]yes—

RewardDeposit​

Import: znn.model.models.RewardDeposit

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
addressaddressstring (bech32-address)Addressyes—
znnAmountznnAmountdecimal-string (base-10)intyes—
qsrAmountqsrAmountdecimal-string (base-10)intyes—

RewardHistoryEntry​

Import: znn.model.models.RewardHistoryEntry

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
epochepochnumberintyes—
znnAmountznnAmountdecimal-string (base-10)intyes—
qsrAmountqsrAmountdecimal-string (base-10)intyes—

RewardHistoryList​

Import: znn.model.models.RewardHistoryList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
countcountnumberintyes—
listlistarraylist[RewardHistoryEntry]yes—

SecurityInfo​

Import: znn.model.models.SecurityInfo

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
guardiansguardiansarraylist[Address]yes—
guardiansVotesguardiansVotesarraylist[Address]yes—
administratorDelayadministratorDelaynumberintyes—
softDelaysoftDelaynumberintyes—

SentinelInfo​

Import: znn.model.models.SentinelInfo

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
ownerownerstring (bech32-address)Addressyes—
registrationTimestampregistrationTimestampnumberintyes—
isRevocableisRevocablebooleanboolyes—
revokeCooldownrevokeCooldownnumberintyes—
activeactivebooleanboolyes—

SentinelInfoList​

Import: znn.model.models.SentinelInfoList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
countcountnumberintyes—
listlistarraylist[SentinelInfo]yes—

Spork​

Import: znn.model.models.Spork

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
ididstring (hex-32)Hashyes—
namenamestringstryes—
descriptiondescriptionstringstryes—
activatedactivatedbooleanboolyes—
enforcementHeightenforcementHeightnumberintyes—

SporkList​

Import: znn.model.models.SporkList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
countcountnumberintyes—
listlistarraylist[Spork]yes—

StakeEntry​

Import: znn.model.models.StakeEntry

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
amountamountdecimal-string (base-10)intyes—
weightedAmountweightedAmountdecimal-string (base-10)intyes—
startTimestampstartTimestampnumberintyes—
expirationTimestampexpirationTimestampnumberintyes—
addressaddressstring (bech32-address)Addressyes—
ididstring (hex-32)Hashyes—

StakeList​

Import: znn.model.models.StakeList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
totalAmounttotalAmountdecimal-string (base-10)intyes—
totalWeightedAmounttotalWeightedAmountdecimal-string (base-10)intyes—
countcountnumberintyes—
listlistarraylist[StakeEntry]yes—

SwapAssetEntry​

Import: znn.model.models.SwapAssetEntry

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
keyIdHashkeyIdHashstring (hex-32)Hashyes—
qsrqsrdecimal-string (base-10)intyes—
znnznndecimal-string (base-10)intyes—

SwapAssetList​

Import: znn.model.models.SwapAssetList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
listlistobjectdict[str, SwapAssetEntry]no{}

SwapLegacyPillarEntry​

Import: znn.model.models.SwapLegacyPillarEntry

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
numPillarsnumPillarsnumberintyes—
keyIdHashkeyIdHashstring (hex-32)Hashyes—

SwapLegacyPillarList​

Import: znn.model.models.SwapLegacyPillarList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
list``arraylist[SwapLegacyPillarEntry]no[]

SyncInfo​

Import: znn.model.models.SyncInfo

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
statestatemodelSyncStateyes—
currentHeightcurrentHeightnumberintyes—
targetHeighttargetHeightnumberintyes—

TimeChallengeInfo​

Import: znn.model.models.TimeChallengeInfo

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
methodNameMethodNamestringstryes—
paramsHashParamsHashstring (hex-32)Hashyes—
challengeStartHeightChallengeStartHeightnumberintyes—

TimeChallengesList​

Import: znn.model.models.TimeChallengesList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
countcountnumberintyes—
listlistarraylist[TimeChallengeInfo]yes—

Token​

Import: znn.model.models.Token

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
namenamestringstryes—
symbolsymbolstringstryes—
domaindomainstringstryes—
totalSupplytotalSupplydecimal-string (base-10)intyes—
decimalsdecimalsnumberintyes—
ownerownerstring (bech32-address)Addressyes—
tokenStandardtokenStandardstring (bech32-token-standard)TokenStandardyes—
maxSupplymaxSupplydecimal-string (base-10)intyes—
isBurnableisBurnablebooleanboolyes—
isMintableisMintablebooleanboolyes—
isUtilityisUtilitybooleanboolyes—

TokenList​

Import: znn.model.models.TokenList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
countcountnumberintyes—
listlistarraylist[Token]yes—

TokenPair​

Import: znn.model.models.TokenPair

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
tokenStandardtokenStandardstring (bech32-token-standard)TokenStandardyes—
tokenAddresstokenAddressstringstryes—
bridgeablebridgeablebooleanboolyes—
redeemableredeemablebooleanboolyes—
ownedownedbooleanboolyes—
minAmountminAmountdecimal-string (base-10)intyes—
feePercentagefeePercentagenumberintyes—
redeemDelayredeemDelaynumberintyes—
metadatametadatastringstryes—

TokenStandard​

Runtime class: znn.model.primitives.token_standard.TokenStandard

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
corecorestring (model-specific-binary)stryes—

TokenTuple​

Import: znn.model.models.TokenTuple

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
tokenStandardtokenStandardstring (bech32-token-standard)TokenStandardyes—
znnPercentageznnPercentagenumberintyes—
qsrPercentageqsrPercentagenumberintyes—
minAmountminAmountdecimal-string (base-10)intyes—

UncollectedReward​

Import: znn.model.models.UncollectedReward

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
addressaddressstring (bech32-address)Addressyes—
znnAmountznnAmountdecimal-string (base-10)intyes—
qsrAmountqsrAmountdecimal-string (base-10)intyes—

UnwrapTokenRequest​

Import: znn.model.models.UnwrapTokenRequest

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
registrationMomentumHeightregistrationMomentumHeightnumberintyes—
networkClassnetworkClassnumberintyes—
chainIdchainIdnumberintyes—
transactionHashtransactionHashstring (hex-32)Hashyes—
logIndexlogIndexnumberintyes—
toAddresstoAddressstring (bech32-address)Addressyes—
tokenAddresstokenAddressstringstryes—
tokenStandardtokenStandardstring (bech32-token-standard)TokenStandardyes—
amountamountdecimal-string (base-10)intyes—
signaturesignaturestringstryes—
redeemedredeemednumberintyes—
revokedrevokednumberintyes—
redeemableInredeemableInnumberintyes—

UnwrapTokenRequestList​

Import: znn.model.models.UnwrapTokenRequestList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
countcountnumberintyes—
listlistarraylist[UnwrapTokenRequest]yes—

VoteBreakdown​

Import: znn.model.models.VoteBreakdown

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
ididstring (hex-32)Hashyes—
yesyesnumberintyes—
nononumberintyes—
totaltotalnumberintyes—

WrapTokenRequest​

Import: znn.model.models.WrapTokenRequest

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
networkClassnetworkClassnumberintyes—
chainIdchainIdnumberintyes—
ididstring (hex-32)Hashyes—
toAddresstoAddressstringstryes—
tokenStandardtokenStandardstring (bech32-token-standard)TokenStandardyes—
tokenAddresstokenAddressstringstryes—
amountamountdecimal-string (base-10)intyes—
feefeedecimal-string (base-10)intyes—
signaturesignaturestringstryes—
creationMomentumHeightcreationMomentumHeightnumberintyes—
confirmationsToFinalityconfirmationsToFinalitynumberintyes—

WrapTokenRequestList​

Import: znn.model.models.WrapTokenRequestList

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
countcountnumberintyes—
listlistarraylist[WrapTokenRequest]yes—

ZtsFeesInfo​

Import: znn.model.models.ZtsFeesInfo

Python attributeWire keyWire typeDecoded Python typeRequiredDefault
tokenStandardtokenStandardstring (bech32-token-standard)TokenStandardyes—
accumulatedFeeaccumulatedFeedecimal-string (base-10)intyes—

Enum reference

AcceleratorProjectStatus​

voting=0, active=1, paid=2, closed=3, completed=4

AcceleratorProjectVote​

yes=0, no=1, abstain=2

BlockTypeEnum​

Unknown=0, GenesisReceive=1, UserSend=2, UserReceive=3, ContractSend=4, ContractReceive=5

ReceiveBlockTypeEnum​

GenesisReceive=1, UserReceive=3, ContractReceive=5

SendBlockTypeEnum​

UserSend=2, ContractSend=4

SyncState​

Unknown=0, Syncing=1, SyncDone=2, NotEnoughPeers=3