Documentation
¶
Index ¶
- type AccountAssetBalanceRow
- type AccountBakingRow
- type AccountBalance
- type AccountEndorsingRow
- type AccountResult
- type AccountRewardsRow
- type AccountSecurityDepositRow
- type AccountsRow
- type AggTimeInt
- type AssetOperation
- type BakerChartData
- type BakerDelegator
- type BakerDelegators
- type BakerInfo
- type BakerInfoMedia
- type BakersRow
- type BakersVoting
- type BakingRightsPerBlock
- type BakingRightsRow
- type BallotVoter
- type Ballots
- type BlockPriorityChartData
- type BlockResult
- type BlocksRow
- type ChartsData
- type DeleteUserAddress
- type DeleteUserNote
- type DoubleOperationDetails
- type EmailToken
- type EndorsementRightsRow
- type FutureBakingRightsPerBlock
- type Health
- type HoldingPoint
- type Info
- type MempoolOperation
- type NFTContractDistribution
- type NFTContractOwnership
- type NFTContractRow
- type NFTTokenRow
- type NonVoter
- type OperationGroupResult
- type OperationGroupsRow
- type OperationsRow
- type Period
- type PeriodInfo
- type PeriodTime
- type Proposal
- type ProposalInfo
- type ProposalProposer
- type ProposalVoter
- type Protocol
- type PublicBaker
- type PublicBakerSearch
- type RequestUserProfile
- type Snapshots
- type ThirdPartyBakers
- type ThirdPartyProvider
- type TokenAssetRow
- type TokenHolderRow
- type UserAddress
- type UserAddressWithBalance
- type UserNote
- type UserNoteWithBalance
- type UserProfile
- type VoteStats
- type WhaleAccount
- type WhaleAccounts
- type WhaleAccountsAccountsItems0
- type WhaleAccountsTransfersItems0
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountAssetBalanceRow ¶
type AccountAssetBalanceRow struct {
// account id
AccountID string `json:"account_id,omitempty"`
// balance
Balance int64 `json:"balance,omitempty"`
// token info
TokenInfo *TokenAssetRow `json:"token_info,omitempty"`
}
AccountAssetBalanceRow account asset balance row swagger:model AccountAssetBalanceRow
func (*AccountAssetBalanceRow) MarshalBinary ¶
func (m *AccountAssetBalanceRow) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountAssetBalanceRow) UnmarshalBinary ¶
func (m *AccountAssetBalanceRow) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountBakingRow ¶
type AccountBakingRow struct {
// avg priority
// Required: true
AvgPriority *float32 `json:"avgPriority"`
// blocks
// Required: true
Blocks *int64 `json:"blocks"`
// cycle
// Required: true
Cycle *int64 `json:"cycle"`
// cycle end
CycleEnd int64 `json:"cycleEnd,omitempty"`
// cycle start
CycleStart int64 `json:"cycleStart,omitempty"`
// missed
// Required: true
Missed *int64 `json:"missed"`
// rewards
// Required: true
Rewards *int64 `json:"rewards"`
// status
Status string `json:"status,omitempty"`
// stolen
// Required: true
Stolen *int64 `json:"stolen"`
// total deposit
// Required: true
TotalDeposit *int64 `json:"totalDeposit"`
}
AccountBakingRow account baking row swagger:model AccountBakingRow
func (*AccountBakingRow) MarshalBinary ¶
func (m *AccountBakingRow) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountBakingRow) UnmarshalBinary ¶
func (m *AccountBakingRow) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountBalance ¶
type AccountBalance struct {
// balance
// Required: true
Balance *int64 `json:"balance"`
// timestamp
// Required: true
Timestamp *int64 `json:"timestamp"`
}
AccountBalance account balance swagger:model AccountBalance
func (*AccountBalance) MarshalBinary ¶
func (m *AccountBalance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountBalance) UnmarshalBinary ¶
func (m *AccountBalance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountEndorsingRow ¶
type AccountEndorsingRow struct {
// cycle
// Required: true
Cycle *int64 `json:"cycle"`
// cycle end
CycleEnd int64 `json:"cycleEnd,omitempty"`
// cycle start
CycleStart int64 `json:"cycleStart,omitempty"`
// missed
// Required: true
Missed *int64 `json:"missed"`
// rewards
// Required: true
Rewards *int64 `json:"rewards"`
// slots
// Required: true
Slots *int64 `json:"slots"`
// status
Status string `json:"status,omitempty"`
// total deposit
// Required: true
TotalDeposit *int64 `json:"totalDeposit"`
}
AccountEndorsingRow account endorsing row swagger:model AccountEndorsingRow
func (*AccountEndorsingRow) MarshalBinary ¶
func (m *AccountEndorsingRow) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountEndorsingRow) UnmarshalBinary ¶
func (m *AccountEndorsingRow) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountResult ¶
type AccountResult struct {
// account
// Required: true
Account *AccountsRow `json:"account"`
}
AccountResult account result swagger:model AccountResult
func (*AccountResult) MarshalBinary ¶
func (m *AccountResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountResult) UnmarshalBinary ¶
func (m *AccountResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountRewardsRow ¶
type AccountRewardsRow struct {
// baking
// Required: true
Baking *int64 `json:"baking"`
// cycle
// Required: true
Cycle *int64 `json:"cycle"`
// cycle end
CycleEnd int64 `json:"cycleEnd,omitempty"`
// cycle start
CycleStart int64 `json:"cycleStart,omitempty"`
// delegators
// Required: true
Delegators *int64 `json:"delegators"`
// endorsements
// Required: true
Endorsements *int64 `json:"endorsements"`
// fees
// Required: true
Fees *int64 `json:"fees"`
// losses
// Required: true
Losses *int64 `json:"losses"`
// staking balance
// Required: true
StakingBalance *int64 `json:"stakingBalance"`
// status
Status string `json:"status,omitempty"`
}
AccountRewardsRow account rewards row swagger:model AccountRewardsRow
func (*AccountRewardsRow) MarshalBinary ¶
func (m *AccountRewardsRow) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountRewardsRow) UnmarshalBinary ¶
func (m *AccountRewardsRow) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountSecurityDepositRow ¶
type AccountSecurityDepositRow struct {
// actual blocks deposit
ActualBlocksDeposit int64 `json:"actual_blocks_deposit,omitempty"`
// actual endorsement deposit
ActualEndorsementDeposit int64 `json:"actual_endorsement_deposit,omitempty"`
// actual total deposit
ActualTotalDeposit int64 `json:"actual_total_deposit,omitempty"`
// available bond
AvailableBond int64 `json:"available_bond,omitempty"`
// cycle
Cycle int64 `json:"cycle,omitempty"`
// cycle end
CycleEnd int64 `json:"cycleEnd,omitempty"`
// cycle start
CycleStart int64 `json:"cycleStart,omitempty"`
// expected blocks deposit
ExpectedBlocksDeposit int64 `json:"expected_blocks_deposit,omitempty"`
// expected endorsement deposit
ExpectedEndorsementDeposit int64 `json:"expected_endorsement_deposit,omitempty"`
// expected total deposit
ExpectedTotalDeposit int64 `json:"expected_total_deposit,omitempty"`
// staking balance
StakingBalance int64 `json:"staking_balance,omitempty"`
// status
Status string `json:"status,omitempty"`
}
AccountSecurityDepositRow account security deposit row swagger:model AccountSecurityDepositRow
func (*AccountSecurityDepositRow) MarshalBinary ¶
func (m *AccountSecurityDepositRow) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountSecurityDepositRow) UnmarshalBinary ¶
func (m *AccountSecurityDepositRow) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountsRow ¶
type AccountsRow struct {
// account Id
// Required: true
AccountID *string `json:"accountId"`
// account name
AccountName string `json:"accountName,omitempty"`
// baker info
BakerInfo *BakerInfo `json:"bakerInfo,omitempty"`
// balance
// Required: true
Balance *int64 `json:"balance"`
// block Id
// Required: true
BlockID *string `json:"blockId"`
// block level
// Required: true
BlockLevel *int64 `json:"blockLevel"`
// counter
// Required: true
Counter *int64 `json:"counter"`
// created at
CreatedAt int64 `json:"createdAt,omitempty"`
// delegate name
DelegateName string `json:"delegateName,omitempty"`
// delegate setable
// Required: true
DelegateSetable *bool `json:"delegateSetable"`
// delegate value
DelegateValue string `json:"delegateValue,omitempty"`
// index
Index int64 `json:"index,omitempty"`
// is baker
// Required: true
IsBaker *bool `json:"is_baker"`
// last active
LastActive int64 `json:"lastActive,omitempty"`
// manager
// Required: true
Manager *string `json:"manager"`
// operations
Operations int64 `json:"operations,omitempty"`
// revealed
// Required: true
Revealed *bool `json:"revealed"`
// script
Script string `json:"script,omitempty"`
// spendable
// Required: true
Spendable *bool `json:"spendable"`
// storage
Storage string `json:"storage,omitempty"`
// transactions
Transactions int64 `json:"transactions,omitempty"`
}
AccountsRow accounts row swagger:model AccountsRow
func (*AccountsRow) MarshalBinary ¶
func (m *AccountsRow) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountsRow) UnmarshalBinary ¶
func (m *AccountsRow) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AggTimeInt ¶
type AggTimeInt struct {
// date
Date int64 `json:"date,omitempty"`
// value
Value int64 `json:"value,omitempty"`
}
AggTimeInt agg time int swagger:model AggTimeInt
func (*AggTimeInt) MarshalBinary ¶
func (m *AggTimeInt) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AggTimeInt) UnmarshalBinary ¶
func (m *AggTimeInt) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssetOperation ¶
type AssetOperation struct {
// amount
// Required: true
Amount *int64 `json:"amount"`
// fee
// Required: true
Fee *int64 `json:"fee"`
// from
From string `json:"from,omitempty"`
// gas limit
// Required: true
GasLimit *int64 `json:"gas_limit"`
// operation group hash
OperationGroupHash string `json:"operation_group_hash,omitempty"`
// storage limit
// Required: true
StorageLimit *int64 `json:"storage_limit"`
// timestamp
Timestamp int64 `json:"timestamp,omitempty"`
// to
To string `json:"to,omitempty"`
// type
Type string `json:"type,omitempty"`
}
AssetOperation asset operation swagger:model AssetOperation
func (*AssetOperation) MarshalBinary ¶
func (m *AssetOperation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssetOperation) UnmarshalBinary ¶
func (m *AssetOperation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BakerChartData ¶
type BakerChartData struct {
// baker
Baker string `json:"baker,omitempty"`
// baker name
BakerName string `json:"baker_name,omitempty"`
// percent
Percent float64 `json:"percent,omitempty"`
// rolls
Rolls int64 `json:"rolls,omitempty"`
}
BakerChartData baker chart data swagger:model BakerChartData
func (*BakerChartData) MarshalBinary ¶
func (m *BakerChartData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BakerChartData) UnmarshalBinary ¶
func (m *BakerChartData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BakerDelegator ¶
type BakerDelegator struct {
// balance
// Required: true
Balance *int64 `json:"balance"`
// cycle
// Required: true
Cycle *int64 `json:"cycle"`
// delegator
// Required: true
Delegator *string `json:"delegator"`
// Required: true
Share *float64 `json:"share"`
}
BakerDelegator baker delegator swagger:model BakerDelegator
func (*BakerDelegator) MarshalBinary ¶
func (m *BakerDelegator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BakerDelegator) UnmarshalBinary ¶
func (m *BakerDelegator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BakerDelegators ¶
type BakerDelegators struct {
// address
// Required: true
Address *string `json:"address"`
// baker
// Required: true
Baker *string `json:"baker"`
// value
// Required: true
Value *int64 `json:"value"`
}
BakerDelegators baker delegators swagger:model BakerDelegators
func (*BakerDelegators) MarshalBinary ¶
func (m *BakerDelegators) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BakerDelegators) UnmarshalBinary ¶
func (m *BakerDelegators) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BakerInfo ¶
type BakerInfo struct {
// active delegators
// Required: true
ActiveDelegators *int64 `json:"activeDelegators"`
// baking deposits
// Required: true
BakingDeposits *int64 `json:"bakingDeposits"`
// baking rewards
// Required: true
BakingRewards *int64 `json:"bakingRewards"`
// baking since
// Required: true
BakingSince *int64 `json:"bakingSince"`
// blocks
// Required: true
Blocks *int64 `json:"blocks"`
// endorsement deposits
// Required: true
EndorsementDeposits *int64 `json:"endorsementDeposits"`
// endorsement rewards
// Required: true
EndorsementRewards *int64 `json:"endorsementRewards"`
// endorsements
// Required: true
Endorsements *int64 `json:"endorsements"`
// evaluated balance
// Required: true
EvaluatedBalance *int64 `json:"evaluatedBalance"`
// fee
// Required: true
Fee *int64 `json:"fee"`
// frozen balance
// Required: true
FrozenBalance *int64 `json:"frozenBalance"`
// media
Media *BakerInfoMedia `json:"media,omitempty"`
// name
Name string `json:"name,omitempty"`
// rolls
// Required: true
Rolls *int64 `json:"rolls"`
// staking balance
// Required: true
StakingBalance *int64 `json:"stakingBalance"`
// staking capacity
// Required: true
StakingCapacity *int64 `json:"stakingCapacity"`
// total paid fees
TotalPaidFees int64 `json:"totalPaidFees,omitempty"`
}
BakerInfo baker info swagger:model BakerInfo
func (*BakerInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*BakerInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BakerInfoMedia ¶
type BakerInfoMedia struct {
// reddit
Reddit string `json:"reddit,omitempty"`
// site
Site string `json:"site,omitempty"`
// telegram
Telegram string `json:"telegram,omitempty"`
// twitter
Twitter string `json:"twitter,omitempty"`
}
BakerInfoMedia baker info media swagger:model BakerInfoMedia
func (*BakerInfoMedia) MarshalBinary ¶
func (m *BakerInfoMedia) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BakerInfoMedia) UnmarshalBinary ¶
func (m *BakerInfoMedia) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BakersRow ¶
type BakersRow struct {
// account Id
AccountID string `json:"accountId,omitempty"`
// baker info
BakerInfo *BakerInfo `json:"bakerInfo,omitempty"`
// delegators change
DelegatorsChange int64 `json:"delegators_change,omitempty"`
// stake change
StakeChange int64 `json:"stake_change,omitempty"`
}
BakersRow bakers row swagger:model BakersRow
func (*BakersRow) MarshalBinary ¶
MarshalBinary interface implementation
func (*BakersRow) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BakersVoting ¶
type BakersVoting struct {
// bakers
Bakers []*BakerDelegators `json:"bakers"`
// proposals count
ProposalsCount int64 `json:"proposals_count,omitempty"`
}
BakersVoting bakers voting swagger:model BakersVoting
func (*BakersVoting) MarshalBinary ¶
func (m *BakersVoting) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BakersVoting) UnmarshalBinary ¶
func (m *BakersVoting) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BakingRightsPerBlock ¶
type BakingRightsPerBlock struct {
// baker
Baker string `json:"baker,omitempty"`
// baker priority
// Required: true
BakerPriority *int64 `json:"baker_priority"`
// block hash
BlockHash string `json:"block_hash,omitempty"`
// level
Level int64 `json:"level,omitempty"`
// rights
Rights []*BakingRightsRow `json:"rights"`
}
BakingRightsPerBlock baking rights per block swagger:model BakingRightsPerBlock
func (*BakingRightsPerBlock) MarshalBinary ¶
func (m *BakingRightsPerBlock) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BakingRightsPerBlock) UnmarshalBinary ¶
func (m *BakingRightsPerBlock) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BakingRightsRow ¶
type BakingRightsRow struct {
// delegate
Delegate string `json:"delegate,omitempty"`
// delegate name
DelegateName string `json:"delegate_name,omitempty"`
// deposit
Deposit int64 `json:"deposit,omitempty"`
// estimated time
// Format: date-time
EstimatedTime strfmt.DateTime `json:"estimated_time,omitempty"`
// level
Level int64 `json:"level,omitempty"`
// priority
// Required: true
Priority *int64 `json:"priority"`
// reward
Reward int64 `json:"reward,omitempty"`
}
BakingRightsRow baking rights row swagger:model BakingRightsRow
func (*BakingRightsRow) MarshalBinary ¶
func (m *BakingRightsRow) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BakingRightsRow) UnmarshalBinary ¶
func (m *BakingRightsRow) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BallotVoter ¶
type BallotVoter struct {
// block level
BlockLevel int64 `json:"blockLevel,omitempty"`
// decision
Decision string `json:"decision,omitempty"`
// name
Name string `json:"name,omitempty"`
// operation
Operation string `json:"operation,omitempty"`
// pkh
Pkh string `json:"pkh,omitempty"`
// rolls
Rolls int64 `json:"rolls,omitempty"`
// timestamp
// Format: date-time
Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}
BallotVoter ballot voter swagger:model BallotVoter
func (*BallotVoter) MarshalBinary ¶
func (m *BallotVoter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BallotVoter) UnmarshalBinary ¶
func (m *BallotVoter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Ballots ¶
type Ballots struct {
// nay
Nay int64 `json:"nay,omitempty"`
// pass
Pass int64 `json:"pass,omitempty"`
// quorum
Quorum float64 `json:"quorum,omitempty"`
// supermajority
Supermajority float64 `json:"supermajority,omitempty"`
// yay
Yay int64 `json:"yay,omitempty"`
}
Ballots ballots swagger:model Ballots
func (*Ballots) MarshalBinary ¶
MarshalBinary interface implementation
func (*Ballots) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BlockPriorityChartData ¶
type BlockPriorityChartData struct {
// blocks
// Required: true
Blocks *int64 `json:"blocks"`
// cycle
// Required: true
Cycle *int64 `json:"cycle"`
// cycle end
CycleEnd int64 `json:"cycleEnd,omitempty"`
// cycle start
CycleStart int64 `json:"cycleStart,omitempty"`
// first priority
// Required: true
FirstPriority *int64 `json:"firstPriority"`
// second priority
// Required: true
SecondPriority *int64 `json:"secondPriority"`
// third priority
// Required: true
ThirdPriority *int64 `json:"thirdPriority"`
// zero priority
// Required: true
ZeroPriority *int64 `json:"zeroPriority"`
}
BlockPriorityChartData block priority chart data swagger:model BlockPriorityChartData
func (*BlockPriorityChartData) MarshalBinary ¶
func (m *BlockPriorityChartData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BlockPriorityChartData) UnmarshalBinary ¶
func (m *BlockPriorityChartData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BlockResult ¶
type BlockResult struct {
// block
// Required: true
Block *BlocksRow `json:"block"`
// operation groups
// Required: true
OperationGroups []*OperationGroupsRow `json:"operation_groups"`
}
BlockResult block result swagger:model BlockResult
func (*BlockResult) MarshalBinary ¶
func (m *BlockResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BlockResult) UnmarshalBinary ¶
func (m *BlockResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BlocksRow ¶
type BlocksRow struct {
// activate accounts
ActivateAccounts int64 `json:"activate_accounts,omitempty"`
// active proposal
ActiveProposal string `json:"activeProposal,omitempty"`
// baker
Baker string `json:"baker,omitempty"`
// baker name
BakerName string `json:"bakerName,omitempty"`
// ballots
Ballots int64 `json:"ballots,omitempty"`
// block time
BlockTime int64 `json:"blockTime,omitempty"`
// chain Id
ChainID string `json:"chainId,omitempty"`
// consumed gas
ConsumedGas int64 `json:"consumedGas,omitempty"`
// context
Context string `json:"context,omitempty"`
// current expected quorum
CurrentExpectedQuorum int64 `json:"currentExpectedQuorum,omitempty"`
// delegations
Delegations int64 `json:"delegations,omitempty"`
// deposit
Deposit int64 `json:"deposit,omitempty"`
// double baking evidence
DoubleBakingEvidence int64 `json:"double_baking_evidence,omitempty"`
// double endorsement evidence
DoubleEndorsementEvidence int64 `json:"double_endorsement_evidence,omitempty"`
// endorsements
Endorsements int64 `json:"endorsements,omitempty"`
// expected commitment
ExpectedCommitment bool `json:"expectedCommitment,omitempty"`
// fees
Fees int64 `json:"fees,omitempty"`
// fitness
// Required: true
Fitness *string `json:"fitness"`
// hash
// Required: true
Hash *string `json:"hash"`
// level
// Required: true
Level *int64 `json:"level"`
// meta cycle
MetaCycle int64 `json:"metaCycle,omitempty"`
// meta cycle position
MetaCyclePosition int64 `json:"metaCyclePosition,omitempty"`
// meta level
MetaLevel int64 `json:"metaLevel,omitempty"`
// meta level position
MetaLevelPosition int64 `json:"metaLevelPosition,omitempty"`
// meta voting period
MetaVotingPeriod int64 `json:"metaVotingPeriod,omitempty"`
// meta voting period position
MetaVotingPeriodPosition int64 `json:"metaVotingPeriodPosition,omitempty"`
// nonce hash
NonceHash string `json:"nonceHash,omitempty"`
// number of operations
NumberOfOperations int64 `json:"number_of_operations,omitempty"`
// operations hash
OperationsHash string `json:"operationsHash,omitempty"`
// originations
Originations int64 `json:"originations,omitempty"`
// period kind
PeriodKind string `json:"periodKind,omitempty"`
// predecessor
// Required: true
Predecessor *string `json:"predecessor"`
// priority
// Required: true
Priority *int64 `json:"priority"`
// proposals
Proposals int64 `json:"proposals,omitempty"`
// proto
// Required: true
Proto *int64 `json:"proto"`
// protocol
// Required: true
Protocol *string `json:"protocol"`
// reveals
Reveals int64 `json:"reveals,omitempty"`
// reward
// Required: true
Reward *int64 `json:"reward"`
// seed nonce revelations
SeedNonceRevelations int64 `json:"seed_nonce_revelations,omitempty"`
// signature
Signature string `json:"signature,omitempty"`
// timestamp
// Required: true
Timestamp *int64 `json:"timestamp"`
// transactions
Transactions int64 `json:"transactions,omitempty"`
// validation pass
// Required: true
ValidationPass *int64 `json:"validationPass"`
// volume
Volume int64 `json:"volume,omitempty"`
}
BlocksRow blocks row swagger:model BlocksRow
func (*BlocksRow) MarshalBinary ¶
MarshalBinary interface implementation
func (*BlocksRow) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ChartsData ¶
type ChartsData struct {
// activations
Activations int64 `json:"activations,omitempty"`
// average delay
AverageDelay float64 `json:"averageDelay,omitempty"`
// bakers
Bakers int64 `json:"bakers,omitempty"`
// blocks
Blocks int64 `json:"blocks,omitempty"`
// delegation volume
DelegationVolume int64 `json:"delegationVolume,omitempty"`
// fees
Fees int64 `json:"fees,omitempty"`
// operations
Operations int64 `json:"operations,omitempty"`
// timestamp
// Required: true
Timestamp *int64 `json:"timestamp"`
// transaction volume
TransactionVolume int64 `json:"transactionVolume,omitempty"`
// whale accounts
WhaleAccounts int64 `json:"whale_accounts,omitempty"`
}
ChartsData charts data swagger:model ChartsData
func (*ChartsData) MarshalBinary ¶
func (m *ChartsData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChartsData) UnmarshalBinary ¶
func (m *ChartsData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteUserAddress ¶
type DeleteUserAddress struct {
// address
Address string `json:"address,omitempty"`
}
DeleteUserAddress delete user address swagger:model DeleteUserAddress
func (*DeleteUserAddress) MarshalBinary ¶
func (m *DeleteUserAddress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteUserAddress) UnmarshalBinary ¶
func (m *DeleteUserAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteUserNote ¶
type DeleteUserNote struct {
// address
Address string `json:"address,omitempty"`
}
DeleteUserNote delete user note swagger:model DeleteUserNote
func (*DeleteUserNote) MarshalBinary ¶
func (m *DeleteUserNote) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteUserNote) UnmarshalBinary ¶
func (m *DeleteUserNote) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DoubleOperationDetails ¶
type DoubleOperationDetails struct {
// baker reward
BakerReward int64 `json:"baker_reward,omitempty"`
// denounced level
DenouncedLevel int64 `json:"denounced_level,omitempty"`
// evidence baker
EvidenceBaker string `json:"evidence_baker,omitempty"`
// evidence baker name
EvidenceBakerName string `json:"evidence_baker_name,omitempty"`
// lost deposits
LostDeposits int64 `json:"lost_deposits,omitempty"`
// lost fees
LostFees int64 `json:"lost_fees,omitempty"`
// lost rewards
LostRewards int64 `json:"lost_rewards,omitempty"`
// offender
Offender string `json:"offender,omitempty"`
// offender name
OffenderName string `json:"offender_name,omitempty"`
// priority
Priority int64 `json:"priority,omitempty"`
}
DoubleOperationDetails double operation details swagger:model DoubleOperationDetails
func (*DoubleOperationDetails) MarshalBinary ¶
func (m *DoubleOperationDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DoubleOperationDetails) UnmarshalBinary ¶
func (m *DoubleOperationDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EmailToken ¶
type EmailToken struct {
// token
Token string `json:"token,omitempty"`
}
EmailToken email token swagger:model EmailToken
func (*EmailToken) MarshalBinary ¶
func (m *EmailToken) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EmailToken) UnmarshalBinary ¶
func (m *EmailToken) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EndorsementRightsRow ¶
type EndorsementRightsRow struct {
// block level
BlockLevel int64 `json:"blockLevel,omitempty"`
// cycle
Cycle int64 `json:"cycle,omitempty"`
// delegate
Delegate string `json:"delegate,omitempty"`
// delegate name
DelegateName string `json:"delegate_name,omitempty"`
// deposit
Deposit int64 `json:"deposit,omitempty"`
// reward
Reward int64 `json:"reward,omitempty"`
// slots
Slots []int64 `json:"slots"`
// timestamp
Timestamp int64 `json:"timestamp,omitempty"`
}
EndorsementRightsRow endorsement rights row swagger:model EndorsementRightsRow
func (*EndorsementRightsRow) MarshalBinary ¶
func (m *EndorsementRightsRow) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EndorsementRightsRow) UnmarshalBinary ¶
func (m *EndorsementRightsRow) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FutureBakingRightsPerBlock ¶
type FutureBakingRightsPerBlock struct {
// level
Level int64 `json:"level,omitempty"`
// rights
Rights []*BakingRightsRow `json:"rights"`
}
FutureBakingRightsPerBlock future baking rights per block swagger:model FutureBakingRightsPerBlock
func (*FutureBakingRightsPerBlock) MarshalBinary ¶
func (m *FutureBakingRightsPerBlock) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FutureBakingRightsPerBlock) UnmarshalBinary ¶
func (m *FutureBakingRightsPerBlock) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Health ¶
type Health struct {
// status
Status bool `json:"status,omitempty"`
}
Health health swagger:model Health
func (*Health) MarshalBinary ¶
MarshalBinary interface implementation
func (*Health) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type HoldingPoint ¶
type HoldingPoint struct {
// amount
Amount int64 `json:"amount,omitempty"`
// count
Count int64 `json:"count,omitempty"`
// percent
Percent float64 `json:"percent,omitempty"`
}
HoldingPoint holding point swagger:model HoldingPoint
func (*HoldingPoint) MarshalBinary ¶
func (m *HoldingPoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HoldingPoint) UnmarshalBinary ¶
func (m *HoldingPoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Info ¶
type Info struct {
// Expected annual return in percents.
AnnualYield float64 `json:"annual_yield,omitempty"`
// blocks in cycle
BlocksInCycle int64 `json:"blocks_in_cycle,omitempty"`
// circulating supply
CirculatingSupply float64 `json:"circulating_supply,omitempty"`
// currency
Currency string `json:"currency,omitempty"`
// market cap
MarketCap float64 `json:"market_cap,omitempty"`
// price
// Required: true
Price *float64 `json:"price"`
// price 24h change
// Required: true
Price24hChange *float64 `json:"price_24h_change"`
// Staking ratio in percents (0-100).
// Maximum: 100
// Minimum: 0
StakingRatio *float64 `json:"staking_ratio,omitempty"`
// volume 24h
Volume24h float64 `json:"volume_24h,omitempty"`
}
Info info swagger:model Info
func (*Info) MarshalBinary ¶
MarshalBinary interface implementation
func (*Info) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MempoolOperation ¶
type MempoolOperation struct {
// branch
Branch string `json:"branch,omitempty"`
// chain id
ChainID string `json:"chain_id,omitempty"`
// contents
Contents interface{} `json:"contents,omitempty"`
// hash
Hash string `json:"hash,omitempty"`
// protocol
Protocol string `json:"protocol,omitempty"`
// signature
Signature string `json:"signature,omitempty"`
}
MempoolOperation mempool operation swagger:model MempoolOperation
func (*MempoolOperation) MarshalBinary ¶
func (m *MempoolOperation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MempoolOperation) UnmarshalBinary ¶
func (m *MempoolOperation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NFTContractDistribution ¶
type NFTContractDistribution struct {
// distribution
// Required: true
Distribution []*TokenHolderRow `json:"distribution"`
// total token num
// Required: true
TotalTokenNum *int64 `json:"total_token_num"`
// unique holders num
// Required: true
UniqueHoldersNum *int64 `json:"unique_holders_num"`
}
NFTContractDistribution n f t contract distribution swagger:model NFTContractDistribution
func (*NFTContractDistribution) MarshalBinary ¶
func (m *NFTContractDistribution) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NFTContractDistribution) UnmarshalBinary ¶
func (m *NFTContractDistribution) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NFTContractOwnership ¶
type NFTContractOwnership struct {
// multi owners
// Required: true
MultiOwners *int64 `json:"multi_owners"`
// single owners
// Required: true
SingleOwners *int64 `json:"single_owners"`
// unique holders num
// Required: true
UniqueHoldersNum *int64 `json:"unique_holders_num"`
// whales count
// Required: true
WhalesCount *int64 `json:"whales_count"`
}
NFTContractOwnership n f t contract ownership swagger:model NFTContractOwnership
func (*NFTContractOwnership) MarshalBinary ¶
func (m *NFTContractOwnership) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NFTContractOwnership) UnmarshalBinary ¶
func (m *NFTContractOwnership) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NFTContractRow ¶
type NFTContractRow struct {
// address
Address string `json:"address,omitempty"`
// description
Description string `json:"description,omitempty"`
// name
Name string `json:"name,omitempty"`
// nfts number
NftsNumber int64 `json:"nfts_number,omitempty"`
// operations number
OperationsNumber int64 `json:"operations_number,omitempty"`
}
NFTContractRow n f t contract row swagger:model NFTContractRow
func (*NFTContractRow) MarshalBinary ¶
func (m *NFTContractRow) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NFTContractRow) UnmarshalBinary ¶
func (m *NFTContractRow) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NFTTokenRow ¶
type NFTTokenRow struct {
// amount
Amount int64 `json:"amount,omitempty"`
// category
Category string `json:"category,omitempty"`
// created at
CreatedAt int64 `json:"created_at,omitempty"`
// decimals
// Required: true
Decimals *int64 `json:"decimals"`
// description
Description string `json:"description,omitempty"`
// ipfs source
IpfsSource string `json:"ipfs_source,omitempty"`
// is for sale
IsForSale bool `json:"is_for_sale,omitempty"`
// issued by
IssuedBy string `json:"issued_by,omitempty"`
// last active at
LastActiveAt int64 `json:"last_active_at,omitempty"`
// last price
LastPrice int64 `json:"last_price,omitempty"`
// name
Name string `json:"name,omitempty"`
// token id
TokenID int64 `json:"token_id,omitempty"`
}
NFTTokenRow n f t token row swagger:model NFTTokenRow
func (*NFTTokenRow) MarshalBinary ¶
func (m *NFTTokenRow) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NFTTokenRow) UnmarshalBinary ¶
func (m *NFTTokenRow) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NonVoter ¶
type NonVoter struct {
// name
Name string `json:"name,omitempty"`
// pkh
Pkh string `json:"pkh,omitempty"`
// rolls
Rolls int64 `json:"rolls,omitempty"`
}
NonVoter non voter swagger:model NonVoter
func (*NonVoter) MarshalBinary ¶
MarshalBinary interface implementation
func (*NonVoter) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type OperationGroupResult ¶
type OperationGroupResult struct {
// operation group
// Required: true
OperationGroup *OperationGroupsRow `json:"operation_group"`
// operations
// Required: true
Operations []*OperationsRow `json:"operations"`
}
OperationGroupResult operation group result swagger:model OperationGroupResult
func (*OperationGroupResult) MarshalBinary ¶
func (m *OperationGroupResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OperationGroupResult) UnmarshalBinary ¶
func (m *OperationGroupResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OperationGroupsRow ¶
type OperationGroupsRow struct {
// block Id
// Required: true
BlockID *string `json:"blockId"`
// branch
// Required: true
Branch *string `json:"branch"`
// chain Id
ChainID string `json:"chainId,omitempty"`
// hash
// Required: true
Hash *string `json:"hash"`
// protocol
// Required: true
Protocol *string `json:"protocol"`
// signature
Signature string `json:"signature,omitempty"`
}
OperationGroupsRow operation groups row swagger:model OperationGroupsRow
func (*OperationGroupsRow) MarshalBinary ¶
func (m *OperationGroupsRow) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OperationGroupsRow) UnmarshalBinary ¶
func (m *OperationGroupsRow) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OperationsRow ¶
type OperationsRow struct {
// amount
Amount int64 `json:"amount,omitempty"`
// balance
Balance int64 `json:"balance,omitempty"`
// ballot
Ballot string `json:"ballot,omitempty"`
// block hash
// Required: true
BlockHash *string `json:"blockHash"`
// block level
// Required: true
BlockLevel *int64 `json:"blockLevel"`
// claimed amount
ClaimedAmount int64 `json:"claimedAmount,omitempty"`
// confirmations
// Required: true
Confirmations *int64 `json:"confirmations"`
// consumed gas
ConsumedGas int64 `json:"consumedGas,omitempty"`
// counter
Counter int64 `json:"counter,omitempty"`
// cycle
Cycle int64 `json:"cycle,omitempty"`
// delegatable
Delegatable bool `json:"delegatable,omitempty"`
// delegate
Delegate string `json:"delegate,omitempty"`
// delegate name
DelegateName string `json:"delegateName,omitempty"`
// delegation amount
DelegationAmount int64 `json:"delegationAmount,omitempty"`
// destination
Destination string `json:"destination,omitempty"`
// destination name
DestinationName string `json:"destinationName,omitempty"`
// double operation details
DoubleOperationDetails *DoubleOperationDetails `json:"doubleOperationDetails,omitempty"`
// endorsement deposit
EndorsementDeposit int64 `json:"endorsementDeposit,omitempty"`
// endorsement reward
EndorsementReward int64 `json:"endorsementReward,omitempty"`
// entrypoint
Entrypoint string `json:"entrypoint,omitempty"`
// fee
Fee int64 `json:"fee,omitempty"`
// gas limit
GasLimit int64 `json:"gasLimit,omitempty"`
// kind
// Required: true
Kind *string `json:"kind"`
// level
Level int64 `json:"level,omitempty"`
// manager pubkey
ManagerPubkey string `json:"managerPubkey,omitempty"`
// nonce
Nonce string `json:"nonce,omitempty"`
// operation group hash
// Required: true
OperationGroupHash *string `json:"operationGroupHash"`
// operation Id
// Required: true
OperationID *int64 `json:"operationId"`
// originated contracts
OriginatedContracts string `json:"originatedContracts,omitempty"`
// paid storage size diff
PaidStorageSizeDiff int64 `json:"paidStorageSizeDiff,omitempty"`
// parameters
Parameters string `json:"parameters,omitempty"`
// pkh
Pkh string `json:"pkh,omitempty"`
// proposal
Proposal string `json:"proposal,omitempty"`
// public key
PublicKey string `json:"publicKey,omitempty"`
// reward
Reward int64 `json:"reward,omitempty"`
// script
Script string `json:"script,omitempty"`
// secret
Secret string `json:"secret,omitempty"`
// slots
Slots string `json:"slots,omitempty"`
// source
Source string `json:"source,omitempty"`
// source name
SourceName string `json:"sourceName,omitempty"`
// spendable
Spendable bool `json:"spendable,omitempty"`
// status
Status string `json:"status,omitempty"`
// storage
Storage string `json:"storage,omitempty"`
// storage limit
StorageLimit int64 `json:"storageLimit,omitempty"`
// storage size
StorageSize int64 `json:"storageSize,omitempty"`
// timestamp
// Required: true
Timestamp *int64 `json:"timestamp"`
}
OperationsRow operations row swagger:model OperationsRow
func (*OperationsRow) MarshalBinary ¶
func (m *OperationsRow) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OperationsRow) UnmarshalBinary ¶
func (m *OperationsRow) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Period ¶
type Period struct {
// cur level
CurLevel int64 `json:"curLevel,omitempty"`
// end level
EndLevel int64 `json:"endLevel,omitempty"`
// end time
// Format: date-time
EndTime strfmt.DateTime `json:"endTime,omitempty"`
// id
// Required: true
ID *int64 `json:"id"`
// period type
PeriodType string `json:"periodType,omitempty"`
// start level
StartLevel int64 `json:"startLevel,omitempty"`
// start time
// Format: date-time
StartTime strfmt.DateTime `json:"startTime,omitempty"`
}
Period period swagger:model Period
func (*Period) MarshalBinary ¶
MarshalBinary interface implementation
func (*Period) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PeriodInfo ¶
type PeriodInfo struct {
// ballots
Ballots *Ballots `json:"ballots,omitempty"`
// period
Period *Period `json:"period,omitempty"`
// proposal
Proposal *Proposal `json:"proposal,omitempty"`
// total periods
TotalPeriods int64 `json:"totalPeriods,omitempty"`
// vote stats
VoteStats *VoteStats `json:"voteStats,omitempty"`
// winner
Winner *Proposal `json:"winner,omitempty"`
}
PeriodInfo period info swagger:model PeriodInfo
func (*PeriodInfo) MarshalBinary ¶
func (m *PeriodInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PeriodInfo) UnmarshalBinary ¶
func (m *PeriodInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PeriodTime ¶
type PeriodTime struct {
// end time
// Format: date-time
EndTime strfmt.DateTime `json:"endTime,omitempty"`
// period type
PeriodType string `json:"periodType,omitempty"`
// start time
// Format: date-time
StartTime strfmt.DateTime `json:"startTime,omitempty"`
}
PeriodTime period time swagger:model PeriodTime
func (*PeriodTime) MarshalBinary ¶
func (m *PeriodTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PeriodTime) UnmarshalBinary ¶
func (m *PeriodTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Proposal ¶
type Proposal struct {
// hash
Hash string `json:"hash,omitempty"`
// min quorum
MinQuorum int64 `json:"minQuorum,omitempty"`
// period
Period int64 `json:"period,omitempty"`
// proposal file
ProposalFile string `json:"proposalFile,omitempty"`
// proposer
Proposer *ProposalProposer `json:"proposer,omitempty"`
// short description
ShortDescription string `json:"shortDescription,omitempty"`
// title
Title string `json:"title,omitempty"`
// votes casted
VotesCasted int64 `json:"votesCasted,omitempty"`
// votes num
VotesNum int64 `json:"votesNum,omitempty"`
}
Proposal proposal swagger:model Proposal
func (*Proposal) MarshalBinary ¶
MarshalBinary interface implementation
func (*Proposal) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ProposalInfo ¶
type ProposalInfo struct {
// period
Period *Period `json:"period,omitempty"`
// period times
PeriodTimes []*PeriodTime `json:"periodTimes"`
// total periods
TotalPeriods int64 `json:"totalPeriods,omitempty"`
// vote stats
VoteStats *VoteStats `json:"voteStats,omitempty"`
}
ProposalInfo proposal info swagger:model ProposalInfo
func (*ProposalInfo) MarshalBinary ¶
func (m *ProposalInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProposalInfo) UnmarshalBinary ¶
func (m *ProposalInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProposalProposer ¶
type ProposalProposer struct {
// name
Name string `json:"name,omitempty"`
// pkh
Pkh string `json:"pkh,omitempty"`
}
ProposalProposer proposal proposer swagger:model ProposalProposer
func (*ProposalProposer) MarshalBinary ¶
func (m *ProposalProposer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProposalProposer) UnmarshalBinary ¶
func (m *ProposalProposer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProposalVoter ¶
type ProposalVoter struct {
// block level
BlockLevel int64 `json:"blockLevel,omitempty"`
// name
Name string `json:"name,omitempty"`
// operation
Operation string `json:"operation,omitempty"`
// pkh
Pkh string `json:"pkh,omitempty"`
// proposal
Proposal string `json:"proposal,omitempty"`
// rolls
Rolls int64 `json:"rolls,omitempty"`
// timestamp
// Format: date-time
Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}
ProposalVoter proposal voter swagger:model ProposalVoter
func (*ProposalVoter) MarshalBinary ¶
func (m *ProposalVoter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProposalVoter) UnmarshalBinary ¶
func (m *ProposalVoter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Protocol ¶
type Protocol struct {
// end block
// Required: true
EndBlock *int64 `json:"endBlock"`
// hash
// Required: true
Hash *string `json:"hash"`
// start block
// Required: true
StartBlock *int64 `json:"startBlock"`
}
Protocol protocol swagger:model Protocol
func (*Protocol) MarshalBinary ¶
MarshalBinary interface implementation
func (*Protocol) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PublicBaker ¶
type PublicBaker struct {
BakersRow
}
PublicBaker public baker swagger:model PublicBaker
func (*PublicBaker) MarshalBinary ¶
func (m *PublicBaker) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (PublicBaker) MarshalJSON ¶
func (m PublicBaker) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*PublicBaker) UnmarshalBinary ¶
func (m *PublicBaker) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PublicBaker) UnmarshalJSON ¶
func (m *PublicBaker) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type PublicBakerSearch ¶
type PublicBakerSearch struct {
// account Id
AccountID string `json:"accountId,omitempty"`
// name
Name string `json:"name,omitempty"`
}
PublicBakerSearch public baker search swagger:model PublicBakerSearch
func (*PublicBakerSearch) MarshalBinary ¶
func (m *PublicBakerSearch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicBakerSearch) UnmarshalBinary ¶
func (m *PublicBakerSearch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RequestUserProfile ¶
type RequestUserProfile struct {
// email
Email string `json:"email,omitempty"`
// username
Username string `json:"username,omitempty"`
}
RequestUserProfile request user profile swagger:model RequestUserProfile
func (*RequestUserProfile) MarshalBinary ¶
func (m *RequestUserProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RequestUserProfile) UnmarshalBinary ¶
func (m *RequestUserProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Snapshots ¶
type Snapshots struct {
// cycle
Cycle int64 `json:"cycle,omitempty"`
// cycle end
CycleEnd int64 `json:"cycleEnd,omitempty"`
// cycle start
CycleStart int64 `json:"cycleStart,omitempty"`
// rolls
Rolls int64 `json:"rolls,omitempty"`
// snapshot block
SnapshotBlock int64 `json:"snapshot_block,omitempty"`
}
Snapshots snapshots swagger:model Snapshots
func (*Snapshots) MarshalBinary ¶
MarshalBinary interface implementation
func (*Snapshots) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ThirdPartyBakers ¶
type ThirdPartyBakers struct {
// alias
Alias string `json:"alias,omitempty"`
// baker
Baker string `json:"baker,omitempty"`
// providers
Providers []*ThirdPartyProvider `json:"providers"`
}
ThirdPartyBakers third party bakers swagger:model ThirdPartyBakers
func (*ThirdPartyBakers) MarshalBinary ¶
func (m *ThirdPartyBakers) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThirdPartyBakers) UnmarshalBinary ¶
func (m *ThirdPartyBakers) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThirdPartyProvider ¶
type ThirdPartyProvider struct {
// address
Address string `json:"address,omitempty"`
// available capacity
AvailableCapacity int64 `json:"available_capacity,omitempty"`
// efficiency
Efficiency float64 `json:"efficiency,omitempty"`
// fee
Fee float64 `json:"fee,omitempty"`
// name
Name string `json:"name,omitempty"`
// number
Number int64 `json:"number,omitempty"`
// payout accuracy
PayoutAccuracy string `json:"payout_accuracy,omitempty"`
// provider
Provider string `json:"provider,omitempty"`
// staking balance
StakingBalance int64 `json:"staking_balance,omitempty"`
// yield
Yield float64 `json:"yield,omitempty"`
}
ThirdPartyProvider third party provider swagger:model ThirdPartyProvider
func (*ThirdPartyProvider) MarshalBinary ¶
func (m *ThirdPartyProvider) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThirdPartyProvider) UnmarshalBinary ¶
func (m *ThirdPartyProvider) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TokenAssetRow ¶
type TokenAssetRow struct {
// account id
AccountID string `json:"account_id,omitempty"`
// created at
CreatedAt int64 `json:"created_at,omitempty"`
// manager
Manager string `json:"manager,omitempty"`
// name
Name string `json:"name,omitempty"`
// precision
// Required: true
Precision *int64 `json:"precision"`
// ticker
Ticker string `json:"ticker,omitempty"`
// total supply
TotalSupply int64 `json:"total_supply,omitempty"`
}
TokenAssetRow token asset row swagger:model TokenAssetRow
func (*TokenAssetRow) MarshalBinary ¶
func (m *TokenAssetRow) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TokenAssetRow) UnmarshalBinary ¶
func (m *TokenAssetRow) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TokenHolderRow ¶
type TokenHolderRow struct {
// account id
AccountID string `json:"account_id,omitempty"`
// balance
// Required: true
Balance *int64 `json:"balance"`
}
TokenHolderRow token holder row swagger:model TokenHolderRow
func (*TokenHolderRow) MarshalBinary ¶
func (m *TokenHolderRow) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TokenHolderRow) UnmarshalBinary ¶
func (m *TokenHolderRow) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserAddress ¶
type UserAddress struct {
// address
// Required: true
Address *string `json:"address"`
// delegations enabled
// Required: true
DelegationsEnabled *bool `json:"delegations_enabled"`
// in transfers enabled
// Required: true
InTransfersEnabled *bool `json:"in_transfers_enabled"`
// out transfers enabled
// Required: true
OutTransfersEnabled *bool `json:"out_transfers_enabled"`
}
UserAddress user address swagger:model UserAddress
func (*UserAddress) MarshalBinary ¶
func (m *UserAddress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserAddress) UnmarshalBinary ¶
func (m *UserAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserAddressWithBalance ¶
type UserAddressWithBalance struct {
// address
// Required: true
Address *string `json:"address"`
// balance
// Required: true
Balance *int64 `json:"balance"`
// delegations enabled
// Required: true
DelegationsEnabled *bool `json:"delegations_enabled"`
// in transfers enabled
// Required: true
InTransfersEnabled *bool `json:"in_transfers_enabled"`
// out transfers enabled
// Required: true
OutTransfersEnabled *bool `json:"out_transfers_enabled"`
}
UserAddressWithBalance user address with balance swagger:model UserAddressWithBalance
func (*UserAddressWithBalance) MarshalBinary ¶
func (m *UserAddressWithBalance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserAddressWithBalance) UnmarshalBinary ¶
func (m *UserAddressWithBalance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserNote ¶
type UserNote struct {
// address
Address string `json:"address,omitempty"`
// alias
Alias string `json:"alias,omitempty"`
// description
Description string `json:"description,omitempty"`
// tag
Tag string `json:"tag,omitempty"`
}
UserNote user note swagger:model UserNote
func (*UserNote) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserNote) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserNoteWithBalance ¶
type UserNoteWithBalance struct {
// address
// Required: true
Address *string `json:"address"`
// alias
// Required: true
Alias *string `json:"alias"`
// balance
// Required: true
Balance *int64 `json:"balance"`
// description
// Required: true
Description *string `json:"description"`
// tag
// Required: true
Tag *string `json:"tag"`
}
UserNoteWithBalance user note with balance swagger:model UserNoteWithBalance
func (*UserNoteWithBalance) MarshalBinary ¶
func (m *UserNoteWithBalance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserNoteWithBalance) UnmarshalBinary ¶
func (m *UserNoteWithBalance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserProfile ¶
type UserProfile struct {
// email
// Required: true
Email *string `json:"email"`
// username
// Required: true
Username *string `json:"username"`
// verified
// Required: true
Verified *bool `json:"verified"`
}
UserProfile user profile swagger:model UserProfile
func (*UserProfile) MarshalBinary ¶
func (m *UserProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserProfile) UnmarshalBinary ¶
func (m *UserProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VoteStats ¶
type VoteStats struct {
// num voters
NumVoters int64 `json:"numVoters,omitempty"`
// num voters total
NumVotersTotal int64 `json:"numVotersTotal,omitempty"`
// votes available
VotesAvailable int64 `json:"votesAvailable,omitempty"`
// votes cast
VotesCast int64 `json:"votesCast,omitempty"`
}
VoteStats vote stats swagger:model VoteStats
func (*VoteStats) MarshalBinary ¶
MarshalBinary interface implementation
func (*VoteStats) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type WhaleAccount ¶
type WhaleAccount struct {
// account Id
AccountID string `json:"accountId,omitempty"`
// amount
Amount int64 `json:"amount,omitempty"`
}
WhaleAccount whale account swagger:model WhaleAccount
func (*WhaleAccount) MarshalBinary ¶
func (m *WhaleAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WhaleAccount) UnmarshalBinary ¶
func (m *WhaleAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WhaleAccounts ¶
type WhaleAccounts struct {
// accounts
Accounts []*WhaleAccountsAccountsItems0 `json:"accounts"`
// transfers
Transfers []*WhaleAccountsTransfersItems0 `json:"transfers"`
}
WhaleAccounts whale accounts swagger:model WhaleAccounts
func (*WhaleAccounts) MarshalBinary ¶
func (m *WhaleAccounts) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WhaleAccounts) UnmarshalBinary ¶
func (m *WhaleAccounts) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WhaleAccountsAccountsItems0 ¶
type WhaleAccountsAccountsItems0 struct {
// address
Address string `json:"address,omitempty"`
// balance
Balance int64 `json:"balance,omitempty"`
}
WhaleAccountsAccountsItems0 whale accounts accounts items0 swagger:model WhaleAccountsAccountsItems0
func (*WhaleAccountsAccountsItems0) MarshalBinary ¶
func (m *WhaleAccountsAccountsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WhaleAccountsAccountsItems0) UnmarshalBinary ¶
func (m *WhaleAccountsAccountsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WhaleAccountsTransfersItems0 ¶
type WhaleAccountsTransfersItems0 struct {
// amount
Amount int64 `json:"amount,omitempty"`
// from
From string `json:"from,omitempty"`
// to
To string `json:"to,omitempty"`
}
WhaleAccountsTransfersItems0 whale accounts transfers items0 swagger:model WhaleAccountsTransfersItems0
func (*WhaleAccountsTransfersItems0) MarshalBinary ¶
func (m *WhaleAccountsTransfersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WhaleAccountsTransfersItems0) UnmarshalBinary ¶
func (m *WhaleAccountsTransfersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- account_asset_balance_row.go
- account_baking_row.go
- account_balance.go
- account_endorsing_row.go
- account_result.go
- account_rewards_row.go
- account_security_deposit_row.go
- accounts_row.go
- agg_time_int.go
- asset_operation.go
- baker_chart_data.go
- baker_delegator.go
- baker_delegators.go
- baker_info.go
- bakers_row.go
- bakers_voting.go
- baking_rights_per_block.go
- baking_rights_row.go
- ballot_voter.go
- ballots.go
- block_priority_chart_data.go
- block_result.go
- blocks_row.go
- charts_data.go
- delete_user_address.go
- delete_user_note.go
- double_operation_details.go
- email_token.go
- endorsement_rights_row.go
- future_baking_rights_per_block.go
- health.go
- holding_point.go
- info.go
- mempool_operation.go
- n_f_t_contract_distribution.go
- n_f_t_contract_ownership.go
- n_f_t_contract_row.go
- n_f_t_token_row.go
- non_voter.go
- operation_group_result.go
- operation_groups_row.go
- operations_row.go
- period.go
- period_info.go
- period_time.go
- proposal.go
- proposal_info.go
- proposal_voter.go
- protocol.go
- public_baker.go
- public_baker_search.go
- request_user_profile.go
- snapshots.go
- third_party_bakers.go
- third_party_provider.go
- token_asset_row.go
- token_holder_row.go
- user_address.go
- user_address_with_balance.go
- user_note.go
- user_note_with_balance.go
- user_profile.go
- vote_stats.go
- whale_account.go
- whale_accounts.go