Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 AccountsRow ¶
type AccountsRow struct { // account Id // Required: true AccountID *string `json:"accountId"` // 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"` // delegate setable // Required: true DelegateSetable *bool `json:"delegateSetable"` // delegate value DelegateValue string `json:"delegateValue,omitempty"` // manager // Required: true Manager *string `json:"manager"` // script Script string `json:"script,omitempty"` // spendable // Required: true Spendable *bool `json:"spendable"` // storage Storage string `json:"storage,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 BakerInfo ¶
type BakerInfo struct { // baking deposits BakingDeposits int64 `json:"bakingDeposits,omitempty"` // baking rewards BakingRewards int64 `json:"bakingRewards,omitempty"` // endorsement deposits EndorsementDeposits int64 `json:"endorsementDeposits,omitempty"` // endorsement rewards EndorsementRewards int64 `json:"endorsementRewards,omitempty"` // evaluated balance EvaluatedBalance int64 `json:"evaluatedBalance,omitempty"` // staking balance StakingBalance int64 `json:"stakingBalance,omitempty"` }
BakerInfo baker info swagger:model BakerInfo
func (*BakerInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*BakerInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BakersRow ¶
type BakersRow struct { // account Id // Required: true AccountID *string `json:"accountId"` // blocks // Required: true Blocks *int64 `json:"blocks"` // endorsements // Required: true Endorsements *int64 `json:"endorsements"` // fees // Required: true Fees *int64 `json:"fees"` // staking balance // Required: true StakingBalance *int64 `json:"stakingBalance"` }
BakersRow bakers row swagger:model BakersRow
func (*BakersRow) MarshalBinary ¶
MarshalBinary interface implementation
func (*BakersRow) UnmarshalBinary ¶
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"` // estimated time // Format: date-time EstimatedTime strfmt.DateTime `json:"estimated_time,omitempty"` // priority // Required: true Priority *int64 `json:"priority"` }
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 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"` // ballots Ballots int64 `json:"ballots,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"` // double baking evidence DoubleBakingEvidence int64 `json:"double_baking_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"` // 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"` // 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"` // 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 DoubleBakingDetails ¶
type DoubleBakingDetails 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"` // 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"` // priority Priority int64 `json:"priority,omitempty"` }
DoubleBakingDetails double baking details swagger:model DoubleBakingDetails
func (*DoubleBakingDetails) MarshalBinary ¶
func (m *DoubleBakingDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DoubleBakingDetails) UnmarshalBinary ¶
func (m *DoubleBakingDetails) 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 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"` // 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 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"` // block hash // Required: true BlockHash *string `json:"blockHash"` // block level // Required: true BlockLevel *int64 `json:"blockLevel"` // consumed gas ConsumedGas int64 `json:"consumedGas,omitempty"` // counter Counter int64 `json:"counter,omitempty"` // delegatable Delegatable bool `json:"delegatable,omitempty"` // delegate Delegate string `json:"delegate,omitempty"` // destination Destination string `json:"destination,omitempty"` // double bake DoubleBake *DoubleBakingDetails `json:"doubleBake,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"` // public key PublicKey string `json:"publicKey,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"` // 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 Snapshots ¶
type Snapshots struct { // cycle Cycle int64 `json:"cycle,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