Documentation ¶
Index ¶
- Constants
- type Account
- type AccountMetadata
- type Activation
- type AdditionalProperties
- type Address
- type Baking
- type Ballot
- type BigMap
- type BigMapJSONSchema
- type BigMapKey
- type BigMapKeyUpdate
- type BigMapUpdate
- type BigMapUpdateContent
- type Block
- type Contract
- type ContractJSONSchema
- type Cycle
- type Delegate
- type Delegation
- type DoubleBaking
- type DoubleEndorsing
- type DoublePreendorsing
- type DrainDelegate
- type Endorsement
- type EndorsingReward
- type EntrypointJSONSchema
- type Error
- type Head
- type IncreasePaidStorage
- type JSONSchema
- type Metadata
- type MetadataConstraint
- type Migration
- type NonceRevelation
- type Operation
- type OperationConstraint
- type OriginatedContract
- type Origination
- type Parameters
- type PeriodInfo
- type Preendorsement
- type Proposal
- type ProposalAlias
- type Protocol
- type ProtocolConstants
- type ProtocolMetadata
- type Quote
- type RegisterConstant
- type Reveal
- type RevelationPenalty
- type Right
- type SetDepositsLimit
- type SmartRollupAddMessage
- type SmartRollupCement
- type SmartRollupExecute
- type SmartRollupOriginate
- type SmartRollupPublish
- type SmartRollupRecoverBond
- type SmartRollupRefute
- type Software
- type SrCommitmentInfo
- type SrGameInfo
- type Statistics
- type Token
- type TokenBalance
- type Transaction
- type Transfer
- type TransferTicket
- type TxRollupCommit
- type TxRollupDispatchTicket
- type TxRollupFinalizeCommitment
- type TxRollupOrigination
- type TxRollupRejection
- type TxRollupRemoveCommitment
- type TxRollupReturnBond
- type TxRollupSubmitBatch
- type UpdateConsensusKey
- type VdfRevelation
Constants ¶
const ( KindTransaction = "transaction" KindOrigination = "origination" KindEndorsement = "endorsement" KindPreendorsement = "preendorsement" KindBallot = "ballot" KindProposal = "proposal" KindDoubleBaking = "double_baking" KindDoubleEndorsing = "double_endorsing" KindDoublePreendorsing = "double_preendorsing" KindActivation = "activation" KindMigration = "migration" KindNonceRevelation = "nonce_revelation" KindDelegation = "delegation" KindReveal = "reveal" KindRegisterGlobalConstant = "register_constant" KindTransferTicket = "transfer_ticket" KindTxRollupCommit = "tx_rollup_commit" KindRollupDispatchTickets = "tx_rollup_dispatch_tickets" KindRollupFinalizeCommitment = "tx_rollup_finalize_commitment" KindTxRollupOrigination = "tx_rollup_origination" KindTxRollupRejection = "tx_rollup_rejection" KindTxRollupRemoveCommitment = "tx_rollup_remove_commitment" KindRollupReturnBond = "tx_rollup_return_bond" KindRollupSubmitBatch = "tx_rollup_submit_batch" KindSetDepositsLimit = "set_deposits_limit" KindRevelationPenalty = "revelation_penalty" KindBaking = "baking" KindEndorsingReward = "endorsing_reward" KindVdfRevelation = "vdf_revelation" KindIncreasePaidStorage = "increase_paid_storage" KindUpdateConsensusKey = "update_consensus_key" KindDrainDelegate = "drain_delegate" KindSrAddMessages = "sr_add_messages" KindSrCement = "sr_cement" KindSrExecute = "sr_execute" KindSrOriginate = "sr_originate" KindSrPublish = "sr_publish" KindSrRecoverBond = "sr_recover_bond" KindSrRefute = "sr_recover_bond" )
kinds
const ( BaseURL = "https://api.tzkt.io" BaseEventsURL = "https://api.tzkt.io/v1/events" )
urls
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Type string `json:"type"` Address string `json:"address"` Kind string `json:"kind"` Tzips []string `json:"tzips"` Alias string `json:"alias"` Balance int64 `json:"balance"` Creator Address `json:"creator"` NumContracts int64 `json:"numContracts"` NumDelegations int64 `json:"numDelegations"` NumOriginations int64 `json:"numOriginations"` NumTransactions int64 `json:"numTransactions"` NumReveals int64 `json:"numReveals"` NumMigrations int64 `json:"numMigrations"` FirstActivity int64 `json:"firstActivity"` FirstActivityTime time.Time `json:"firstActivityTime"` LastActivity int64 `json:"lastActivity"` LastActivityTime time.Time `json:"lastActivityTime"` TypeHash int64 `json:"typeHash"` CodeHash int64 `json:"codeHash"` }
Account -
type AccountMetadata ¶
type AccountMetadata struct { Address string `json:"address"` Kind string `json:"kind"` Alias string `json:"alias"` Description string `json:"description"` Site string `json:"site"` Support string `json:"support"` Email string `json:"email"` Twitter string `json:"twitter"` Telegram string `json:"telegram"` Discord string `json:"discord"` Reddit string `json:"reddit"` Slack string `json:"slack"` Github string `json:"github"` Gitlab string `json:"gitlab"` Instagram string `json:"instagram"` Facebook string `json:"facebook"` Medium string `json:"medium"` }
AccountMetadata -
type Activation ¶
type Activation struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Block string `json:"block"` Hash string `json:"hash"` Account Address `json:"account"` Balance int64 `json:"balance"` Quote *Quote `json:"quote,omitempty"` }
Activation -
type AdditionalProperties ¶
type AdditionalProperties struct {
Value *JSONSchema `json:"-"`
}
AdditionalProperties -
func (*AdditionalProperties) UnmarshalJSON ¶
func (props *AdditionalProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON -
type Baking ¶ added in v0.2.15
type Baking struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Block string `json:"block"` Proposer *Address `json:"proposer"` Producer *Address `json:"producer"` PayloadRound int `json:"payloadRound"` BlockRound int `json:"blockRound"` Deposit int64 `json:"deposit"` Reward int64 `json:"reward"` Bonus int64 `json:"bonus"` Fees int64 `json:"fees"` Baker Address `json:"baker"` Priority int `json:"priority"` Quote *Quote `json:"quote,omitempty"` }
Baking -
type Ballot ¶
type Ballot struct { Type string `json:"type"` Block string `json:"block"` Hash string `json:"hash"` Vote string `json:"vote"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Period PeriodInfo `json:"period"` Proposal ProposalAlias `json:"proposal"` Delegate Address `json:"delegate"` VotingPower int64 `json:"votingPower"` Quote *Quote `json:"quote,omitempty"` Rolls int `json:"rolls,omitempty"` }
Ballot -
type BigMap ¶
type BigMap struct { Ptr int64 `json:"ptr"` Contract Address `json:"contract"` Path string `json:"path"` Active bool `json:"active"` FirstLevel uint64 `json:"firstLevel"` LastLevel uint64 `json:"lastLevel"` TotalKeys uint64 `json:"totalKeys"` ActiveKeys uint64 `json:"activeKeys"` Updates uint64 `json:"updates"` KeyType stdJSON.RawMessage `json:"keyType"` ValueType stdJSON.RawMessage `json:"valueType"` }
BigMap -
type BigMapJSONSchema ¶
type BigMapJSONSchema struct { Name string `json:"name"` Path string `json:"path"` Key JSONSchema `json:"keySchema"` Value JSONSchema `json:"valueSchema"` }
BigMapJSONSchema -
type BigMapKey ¶
type BigMapKey struct { ID uint64 `json:"id"` Active bool `json:"active"` Hash string `json:"hash"` Key string `json:"key"` Value stdJSON.RawMessage `json:"value"` FirstLevel uint64 `json:"firstLevel"` LastLevel uint64 `json:"lastLevel"` Updates uint64 `json:"updates"` }
BigMapKey -
type BigMapKeyUpdate ¶
type BigMapKeyUpdate struct { ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Action string `json:"action"` Value stdJSON.RawMessage `json:"value"` }
BigMapKeyUpdate -
type BigMapUpdate ¶
type BigMapUpdate struct { ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Bigmap int64 `json:"bigmap"` Contract Address `json:"contract"` Path string `json:"path"` Action string `json:"action"` Content *BigMapUpdateContent `json:"content,omitempty"` }
BigMapUpdate -
type BigMapUpdateContent ¶
type BigMapUpdateContent struct { Hash string `json:"hash"` Key stdJSON.RawMessage `json:"key"` Value stdJSON.RawMessage `json:"value"` }
BigMapUpdateContent -
type Block ¶
type Block struct { Cycle int64 `json:"cycle"` Level uint64 `json:"level"` Hash string `json:"hash"` Timestamp time.Time `json:"timestamp"` Proto int64 `json:"proto"` Priority int64 `json:"priority"` Validations int64 `json:"validations"` BlockRound uint64 `json:"blockRound"` PayloadRound uint64 `josn:"payloadRound"` Deposit int64 `json:"deposit"` Reward int64 `json:"reward"` Fees int64 `json:"fees"` Bonus int64 `json:"bonus"` LbEscapeEma int64 `json:"lbEscapeEma"` NonceRevealed bool `json:"nonceRevealed"` LbEscapeVote bool `json:"lbEscapeVote"` LbToggleEma uint64 `json:"lbToggleEma"` Baker Address `json:"baker"` }
Block -
type Contract ¶
type Contract struct { ID int `json:"id"` Type string `json:"type"` Address string `json:"address"` Kind string `json:"kind"` Tzips []string `json:"tzips"` Balance int `json:"balance"` Creator struct { Alias string `json:"alias"` Address string `json:"address"` } `json:"creator"` NumContracts int `json:"numContracts"` ActiveTokensCount int `json:"activeTokensCount"` TokenBalancesCount int `json:"tokenBalancesCount"` TokenTransfersCount int `json:"tokenTransfersCount"` NumDelegations int `json:"numDelegations"` NumOriginations int `json:"numOriginations"` NumTransactions int `json:"numTransactions"` NumReveals int `json:"numReveals"` NumMigrations int `json:"numMigrations"` TransferTicketCount int `json:"transferTicketCount"` FirstActivity int `json:"firstActivity"` FirstActivityTime time.Time `json:"firstActivityTime"` LastActivity int `json:"lastActivity"` LastActivityTime time.Time `json:"lastActivityTime"` TypeHash int `json:"typeHash"` CodeHash int `json:"codeHash"` }
Contract -
type ContractJSONSchema ¶
type ContractJSONSchema struct { Storage JSONSchema `json:"storageSchema"` Entrypoints []EntrypointJSONSchema `json:"entrypoints"` BigMaps []BigMapJSONSchema `json:"bigMaps"` }
ContractJSONSchema -
type Cycle ¶ added in v0.2.26
type Cycle struct { Index uint64 `json:"index"` FirstLevel uint64 `json:"firstLevel"` StartTime time.Time `json:"startTime"` LastLevel uint64 `json:"lastLevel"` EndTime time.Time `json:"endTime"` SnapshotIndex uint64 `json:"snapshotIndex"` SnapshotLevel uint64 `json:"snapshotLevel"` RandomSeed string `json:"randomSeed,omitempty"` TotalBakers uint64 `json:"totalBakers"` TotalStaking uint64 `json:"totalStaking"` TotalDelegators uint64 `json:"totalDelegators"` TotalDelegated uint64 `json:"totalDelegated"` SelectedBakers uint64 `json:"selectedBakers"` SelectedStake uint64 `json:"selectedStake"` Quote *Quote `json:"quote,omitempty"` TotalRolls uint64 `json:"totalRolls"` }
Cycle -
type Delegate ¶
type Delegate struct { Type string `json:"type"` Alias string `json:"alias"` Address string `json:"address"` PublicKey string `json:"publicKey"` Balance int64 `json:"balance"` FrozenDeposits int64 `json:"frozenDeposits"` FrozenRewards int64 `json:"frozenRewards"` FrozenFees int64 `json:"frozenFees"` Counter int64 `json:"counter"` ActivationLevel int64 `json:"activationLevel"` StakingBalance int64 `json:"stakingBalance"` NumContracts int64 `json:"numContracts"` NumDelegators int64 `json:"numDelegators"` NumBlocks int64 `json:"numBlocks"` NumEndorsements int64 `json:"numEndorsements"` NumBallots int64 `json:"numBallots"` NumProposals int64 `json:"numProposals"` NumActivations int64 `json:"numActivations"` NumDoubleBaking int64 `json:"numDoubleBaking"` NumDoubleEndorsing int64 `json:"numDoubleEndorsing"` NumNonceRevelations int64 `json:"numNonceRevelations"` NumRevelationPenalties int64 `json:"numRevelationPenalties"` NumDelegations int64 `json:"numDelegations"` NumOriginations int64 `json:"numOriginations"` NumTransactions int64 `json:"numTransactions"` NumReveals int64 `json:"numReveals"` NumMigrations int64 `json:"numMigrations"` FirstActivity int64 `json:"firstActivity"` LastActivity int64 `json:"lastActivity"` FirstActivityTime time.Time `json:"firstActivityTime"` LastActivityTime time.Time `json:"lastActivityTime"` ActivationTime time.Time `json:"activationTime"` Software Software `json:"software"` Active bool `json:"active"` Revealed bool `json:"revealed"` }
Delegate -
type Delegation ¶
type Delegation struct { Block string `json:"block"` Hash string `json:"hash"` Type string `json:"type"` Status string `json:"status"` Sender *Address `json:"sender,omitempty"` NewDelegate *Address `json:"newDelegate,omitempty"` Initiator *Address `json:"initiator,omitempty"` PrevDelegate *Address `json:"prevDelegate,omitempty"` Timestamp time.Time `json:"timestamp"` Amount decimal.Decimal `json:"amount"` ID uint64 `json:"id"` Level uint64 `json:"level"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` BakerFee uint64 `json:"bakerFee"` Nonce *uint64 `json:"nonce,omitempty"` Quote *Quote `json:"quote,omitempty"` }
Delegation -
type DoubleBaking ¶
type DoubleBaking struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Block string `json:"block"` Hash string `json:"hash"` AccusedLevel uint64 `json:"accusedLevel"` Accuser *Address `json:"accuser"` AccuserReward int64 `json:"accuserReward"` Offender *Address `json:"offender"` OffenderLoss int64 `json:"offenderLoss"` Quote *Quote `json:"quote,omitempty"` AccuserRewards int64 `json:"accuserRewards,omitempty"` OffenderLostDeposits int64 `json:"offenderLostDeposits,omitempty"` OffenderLostRewards int64 `json:"offenderLostRewards,omitempty"` OffenderLostFees int64 `json:"offenderLostFees,omitempty"` }
DoubleBaking -
type DoubleEndorsing ¶
type DoubleEndorsing struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Block string `json:"block"` Hash string `json:"hash"` AccusedLevel uint64 `json:"accusedLevel"` Accuser *Address `json:"accuser"` AccuserReward int64 `json:"accuserReward"` Offender *Address `json:"offender"` OffenderLoss int64 `json:"offenderLoss"` Quote *Quote `json:"quote,omitempty"` AccuserRewards int64 `json:"accuserRewards,omitempty"` OffenderLostDeposits int64 `json:"offenderLostDeposits,omitempty"` OffenderLostRewards int64 `json:"offenderLostRewards,omitempty"` OffenderLostFees int64 `json:"offenderLostFees,omitempty"` }
DoubleEndorsing -
type DoublePreendorsing ¶ added in v0.2.15
type DoublePreendorsing struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Block string `json:"block"` Hash string `json:"hash"` AccusedLevel uint64 `json:"accusedLevel"` Accuser *Address `json:"accuser"` AccuserReward int64 `json:"accuserReward"` Offender *Address `json:"offender"` OffenderLoss int64 `json:"offenderLoss"` Quote *Quote `json:"quote,omitempty"` AccuserRewards int64 `json:"accuserRewards,omitempty"` OffenderLostDeposits int64 `json:"offenderLostDeposits,omitempty"` OffenderLostRewards int64 `json:"offenderLostRewards,omitempty"` OffenderLostFees int64 `json:"offenderLostFees,omitempty"` }
DoublePreendorsing -
type DrainDelegate ¶ added in v0.2.25
type DrainDelegate struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Block string `json:"block"` Hash string `json:"hash"` Delegate Address `json:"delegate"` Target Address `json:"target"` Amount uint64 `json:"amount"` Fee uint64 `json:"fee"` Quote *Quote `json:"quote,omitempty"` }
DrainDelegate -
type Endorsement ¶
type Endorsement struct { Type string `json:"type"` Block string `json:"block"` Hash string `json:"hash"` ID uint64 `json:"id"` Level uint64 `json:"level"` Deposit int64 `json:"deposit"` Rewards int64 `json:"rewards"` Slots int `json:"slots"` Timestamp time.Time `json:"timestamp"` Delegate Address `json:"delegate"` Quote *Quote `json:"quote,omitempty"` }
Endorsement -
type EndorsingReward ¶ added in v0.2.15
type EndorsingReward struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Block string `json:"block"` Baker *Address `json:"baker"` Expected int64 `json:"expected"` Received int64 `json:"received"` Quote *Quote `json:"quote,omitempty"` }
EndorsingReward -
type EntrypointJSONSchema ¶
type EntrypointJSONSchema struct { Name string `json:"name"` Parameter JSONSchema `json:"parameterSchema"` }
EntrypointJSONSchema -
type Head ¶
type Head struct { Chain string `json:"chain"` ChainID string `json:"chainId"` Cycle int64 `json:"cycle"` Level uint64 `json:"level"` Hash string `json:"hash"` Protocol string `json:"protocol"` Timestamp time.Time `json:"timestamp"` VotingEpoch int64 `json:"votingEpoch"` VotingPeriod int64 `json:"votingPeriod"` KnownLevel uint64 `json:"knownLevel"` LastSync time.Time `json:"lastSync"` Synced bool `json:"synced"` QuoteLevel uint64 `json:"quoteLevel"` QuoteBtc decimal.Decimal `json:"quoteBtc"` QuoteEur decimal.Decimal `json:"quoteEur"` QuoteUsd decimal.Decimal `json:"quoteUsd"` QuoteCny decimal.Decimal `json:"quoteCny"` QuoteJpy decimal.Decimal `json:"quoteJpy"` QuoteKrw decimal.Decimal `json:"quoteKrw"` QuoteEth decimal.Decimal `json:"quoteEth"` }
Head -
type IncreasePaidStorage ¶ added in v0.2.22
type IncreasePaidStorage struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Block string `json:"block"` Hash string `json:"hash"` Sender Address `json:"sender"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` StorageUsed uint64 `json:"storageUsed"` BakerFee uint64 `json:"bakerFee"` StorageFee uint64 `json:"storageFee"` Status string `json:"status"` Contract Address `json:"contract"` Amount decimal.Decimal `json:"amount"` }
IncreasePaidStorage -
type JSONSchema ¶
type JSONSchema struct { Schema string `json:"$schema,omitempty"` Type string `json:"type,omitempty"` Comment string `json:"$comment,omitempty"` Required []string `json:"required,omitempty"` Properties map[string]JSONSchema `json:"properties,omitempty"` OneOf []JSONSchema `json:"oneOf"` AdditionalProperties AdditionalProperties `json:"additionalProperties,omitempty"` PropertyNames *JSONSchema `json:"propertyNames,omitempty"` Items *JSONSchema `json:"items,omitempty"` }
JSONSchema -
type Metadata ¶
type Metadata[T MetadataConstraint] struct { Key string `json:"key"` Value T `json:"extras"` }
Metadata -
type MetadataConstraint ¶
type MetadataConstraint interface { AccountMetadata }
MetadataConstraint -
type Migration ¶
type Migration struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Block string `json:"block"` Kind string `json:"kind"` Account Address `json:"account"` BalanceChange int64 `json:"balanceChange"` }
Migration -
type NonceRevelation ¶
type NonceRevelation struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Block string `json:"block"` Hash string `json:"hash"` Baker Address `json:"baker"` Sender Address `json:"sender"` RevealedLevel int `json:"revealedLevel"` RevealedCycle int `json:"revealedCycle"` Nonce string `json:"nonce"` Reward int64 `json:"reward"` Quote *Quote `json:"quote,omitempty"` BakerRewards int64 `json:"bakerRewards"` }
NonceRevelation -
type Operation ¶
type Operation struct { ID uint64 `json:"id"` Level uint64 `json:"level"` Hash string `json:"hash"` Type string `json:"type"` Block string `json:"block"` Delegate *Address `json:"delegate,omitempty"` GasUsed *uint64 `json:"gasUsed,omitempty"` BakerFee *uint64 `json:"bakerFee,omitempty"` Parameters *Parameters `json:"parameter,omitempty"` }
Operation -
type OperationConstraint ¶
type OperationConstraint interface { Transaction | Origination | Delegation | Reveal | RegisterConstant | Endorsement | Preendorsement | Ballot | Proposal | Activation | TransferTicket | TxRollupCommit | TxRollupDispatchTicket | TxRollupFinalizeCommitment | TxRollupOrigination | TxRollupRejection | TxRollupRemoveCommitment | TxRollupReturnBond | TxRollupSubmitBatch | NonceRevelation | DoubleBaking | DoubleEndorsing | SetDepositsLimit | DoublePreendorsing | Baking | RevelationPenalty | EndorsingReward | VdfRevelation | IncreasePaidStorage | DrainDelegate | UpdateConsensusKey | SmartRollupAddMessage | SmartRollupCement | SmartRollupExecute | SmartRollupOriginate | SmartRollupPublish | SmartRollupRefute | SmartRollupRecoverBond }
OperationConstraint -
type OriginatedContract ¶ added in v0.2.21
type OriginatedContract struct { Kind string `json:"kind"` Alias string `json:"alias,omitempty"` Address string `json:"address,omitempty"` TypeHash int `json:"typeHash"` CodeHash int `json:"codeHash"` }
OriginatedContract -
type Origination ¶
type Origination struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Block string `json:"block"` Hash string `json:"hash"` Counter uint64 `json:"counter"` Sender *Address `json:"sender"` Initiator *Address `json:"initiator"` Nonce *uint64 `json:"nonce,omitempty"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` StorageUsed uint64 `json:"storageUsed"` BakerFee uint64 `json:"bakerFee"` StorageFee uint64 `json:"storageFee"` AllocationFee uint64 `json:"allocationFee"` ContractBalance uint64 `json:"contractBalance"` ContractManager *Address `json:"contractManager"` ContractDelegate *Address `json:"contractDelegate"` Code stdJSON.RawMessage `json:"code"` Storage stdJSON.RawMessage `json:"storage"` Diffs stdJSON.RawMessage `json:"diffs"` Status string `json:"status"` Originated *OriginatedContract `json:"originatedContract,omitempty"` Errors []Error `json:"errors,omitempty"` Quote *Quote `json:"quote,omitempty"` }
Origination -
type Parameters ¶
type Parameters struct { Entrypoint string `json:"entrypoint"` Value stdJSON.RawMessage `json:"value"` }
Parameters -
type PeriodInfo ¶
type PeriodInfo struct { Index int `json:"index"` Epoch int `json:"epoch"` Kind string `json:"kind"` FirstLevel int `json:"firstLevel"` LastLevel int `json:"lastLevel"` }
PeriodInfo -
type Preendorsement ¶
type Preendorsement struct { Type string `json:"type"` Block string `json:"block"` Hash string `json:"hash"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Delegate Address `json:"delegate"` Slots int `json:"slots"` Quote *Quote `json:"quote,omitempty"` }
Preendorsement -
type Proposal ¶
type Proposal struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Block string `json:"block"` Hash string `json:"hash"` Period PeriodInfo `json:"period"` Proposal ProposalAlias `json:"proposal"` Delegate Address `json:"delegate"` VotingPower int64 `json:"votingPower"` Duplicated bool `json:"duplicated"` Quote *Quote `json:"quote,omitempty"` Rolls int `json:"rolls,omitempty"` }
Proposal -
type ProposalAlias ¶
ProposalAlias -
type Protocol ¶ added in v0.2.17
type Protocol struct { Code int64 `json:"code"` Hash string `json:"hash"` FirstLevel uint64 `json:"firstLevel"` FirstCycle uint64 `json:"firstCycle"` FirstCycleLevel uint64 `json:"firstCycleLevel"` LastLevel uint64 `json:"lastLevel,omitempty"` Constants *ProtocolConstants `json:"constants,omitempty"` Metadata *ProtocolMetadata `json:"metadata,omitempty"` }
Protocol -
type ProtocolConstants ¶ added in v0.2.17
type ProtocolConstants struct { RampUpCycles int64 `json:"rampUpCycles"` NoRewardCycles int64 `json:"noRewardCycles"` PreservedCycles int64 `json:"preservedCycles"` BlocksPerCycle int64 `json:"blocksPerCycle"` BlocksPerCommitment int64 `json:"blocksPerCommitment"` BlocksPerSnapshot int64 `json:"blocksPerSnapshot"` BlocksPerVoting int64 `json:"blocksPerVoting"` TimeBetweenBlocks int64 `json:"timeBetweenBlocks"` EndorsersPerBlock int64 `json:"endorsersPerBlock"` HardOperationGasLimit int64 `json:"hardOperationGasLimit"` HardOperationStorageLimit int64 `json:"hardOperationStorageLimit"` HardBlockGasLimit int64 `json:"hardBlockGasLimit"` TokensPerRoll int64 `json:"tokensPerRoll"` RevelationReward int64 `json:"revelationReward"` BlockDeposit int64 `json:"blockDeposit"` BlockReward []int64 `json:"blockReward"` EndorsementDeposit int64 `json:"endorsementDeposit"` EndorsementReward []int64 `json:"endorsementReward"` OriginationSize int64 `json:"originationSize"` ByteCost int64 `json:"byteCost"` ProposalQuorum int64 `json:"proposalQuorum"` BallotQuorumMin int64 `json:"ballotQuorumMin"` BallotQuorumMax int64 `json:"ballotQuorumMax"` LbSubsidy int64 `json:"lbSubsidy"` LbSunsetLevel int64 `json:"lbSunsetLevel"` LbToggleThreshold int64 `json:"lbToggleThreshold"` ConsensusThreshold int64 `json:"consensusThreshold"` MinParticipationNumerator int64 `json:"minParticipationNumerator"` MinParticipationDenominator int64 `json:"minParticipationDenominator"` MaxSlashingPeriod int64 `json:"maxSlashingPeriod"` FrozenDepositsPercentage int64 `json:"frozenDepositsPercentage"` DoubleBakingPunishment int64 `json:"doubleBakingPunishment"` DoubleEndorsingPunishmentNumerator int64 `json:"doubleEndorsingPunishmentNumerator"` DoubleEndorsingPunishmentDenominator int64 `json:"doubleEndorsingPunishmentDenominator"` TxRollupOriginationSize int64 `json:"txRollupOriginationSize"` TxRollupCommitmentBond int64 `json:"txRollupCommitmentBond"` LbEscapeThreshold int64 `json:"lbEscapeThreshold"` }
ProtocolConstants -
type ProtocolMetadata ¶ added in v0.2.17
ProtocolConstants -
type Quote ¶
type Quote struct { BTC decimal.Decimal `json:"btc,omitempty"` EUR decimal.Decimal `json:"eur,omitempty"` USD decimal.Decimal `json:"usd,omitempty"` CNY decimal.Decimal `json:"cny,omitempty"` JPY decimal.Decimal `json:"jpy,omitempty"` KRW decimal.Decimal `json:"krw,omitempty"` ETH decimal.Decimal `json:"eth,omitempty"` GBP decimal.Decimal `json:"gbp,omitempty"` }
Quote -
type RegisterConstant ¶
type RegisterConstant struct { Type string `json:"type"` Block string `json:"block"` Hash string `json:"hash"` Status string `json:"status"` Address string `json:"address"` ID uint64 `json:"id"` Level uint64 `json:"level"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` StorageUsed uint64 `json:"storageUsed"` BakerFee uint64 `json:"bakerFee"` StorageFee uint64 `json:"storageFee"` Value stdJSON.RawMessage `json:"value"` Timestamp time.Time `json:"timestamp"` Sender Address `json:"sender"` Errors []Error `json:"errors,omitempty"` Quote *Quote `json:"quote,omitempty"` }
RegisterConstant -
type Reveal ¶
type Reveal struct { Type string `json:"type"` Status string `json:"status"` Block string `json:"block"` Hash string `json:"hash"` Timestamp time.Time `json:"timestamp"` Sender *Address `json:"sender,omitempty"` ID uint64 `json:"id"` Level uint64 `json:"level"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` BakerFee uint64 `json:"bakerFee"` Nonce *uint64 `json:"nonce,omitempty"` Quote *Quote `json:"quote,omitempty"` }
Reveal -
type RevelationPenalty ¶ added in v0.2.15
type RevelationPenalty struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Block string `json:"block"` Baker *Address `json:"baker"` MissedLevel int64 `json:"missedLevel"` Loss int64 `json:"loss"` Quote *Quote `json:"quote,omitempty"` }
RevelationPenalty -
type Right ¶
type Right struct { Type string `json:"type"` Cycle uint64 `json:"cycle"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Slots uint64 `json:"slots"` Baker Address `json:"baker"` Status string `json:"status"` }
Right -
type SetDepositsLimit ¶
type SetDepositsLimit struct { ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Type string `json:"type"` Block string `json:"block"` Hash string `json:"hash"` Sender Address `json:"sender"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` BakerFee uint64 `json:"bakerFee"` Status string `json:"status"` Limit string `json:"limit"` Errors []Error `json:"errors,omitempty"` Quote *Quote `json:"quote,omitempty"` }
SetDepositsLimit -
type SmartRollupAddMessage ¶ added in v0.2.28
type SmartRollupAddMessage struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Hash string `json:"hash"` Sender *Address `json:"sender,omitempty"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` BakerFee uint64 `json:"bakerFee"` Status string `json:"status"` MessagesCount uint64 `json:"messagesCount"` Errors []Error `json:"errors,omitempty"` Quote *Quote `json:"quote,omitempty"` }
SmartRollupAddMessage -
type SmartRollupCement ¶ added in v0.2.28
type SmartRollupCement struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Hash string `json:"hash"` Sender *Address `json:"sender,omitempty"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` BakerFee uint64 `json:"bakerFee"` Status string `json:"status"` Rollup *Address `json:"rollup,omitempty"` Commitment *SrCommitmentInfo `json:"commitment,omitempty"` Errors []Error `json:"errors,omitempty"` Quote *Quote `json:"quote,omitempty"` }
SmartRollupCement -
type SmartRollupExecute ¶ added in v0.2.28
type SmartRollupExecute struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Hash string `json:"hash"` Sender *Address `json:"sender,omitempty"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` StorageUsed uint64 `json:"storageUsed"` BakerFee uint64 `json:"bakerFee"` StorageFee uint64 `json:"storageFee"` Status string `json:"status"` Rollup *Address `json:"rollup,omitempty"` Commitment *SrCommitmentInfo `json:"commitment,omitempty"` Errors []Error `json:"errors,omitempty"` Quote *Quote `json:"quote,omitempty"` }
SmartRollupExecute -
type SmartRollupOriginate ¶ added in v0.2.28
type SmartRollupOriginate struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Hash string `json:"hash"` Sender *Address `json:"sender,omitempty"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` StorageUsed uint64 `json:"storageUsed"` BakerFee uint64 `json:"bakerFee"` StorageFee uint64 `json:"storageFee"` Status string `json:"status"` Rollup *Address `json:"rollup,omitempty"` ParameterType stdJSON.RawMessage `json:"parameterType,omitempty"` Errors []Error `json:"errors,omitempty"` Quote *Quote `json:"quote,omitempty"` }
SmartRollupOriginate -
type SmartRollupPublish ¶ added in v0.2.28
type SmartRollupPublish struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Hash string `json:"hash"` Sender *Address `json:"sender,omitempty"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` BakerFee uint64 `json:"bakerFee"` Status string `json:"status"` Rollup *Address `json:"rollup,omitempty"` Commitment *SrCommitmentInfo `json:"commitment,omitempty"` Bond uint64 `json:"bond"` }
SmartRollupPublish -
type SmartRollupRecoverBond ¶ added in v0.2.28
type SmartRollupRecoverBond struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Hash string `json:"hash"` Sender *Address `json:"sender,omitempty"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` BakerFee uint64 `json:"bakerFee"` Status string `json:"status"` Rollup *Address `json:"rollup,omitempty"` Staker *Address `json:"staker,omitempty"` Bond uint64 `json:"bond"` }
SmartRollupRecoverBond -
type SmartRollupRefute ¶ added in v0.2.28
type SmartRollupRefute struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Hash string `json:"hash"` Sender *Address `json:"sender,omitempty"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` BakerFee uint64 `json:"bakerFee"` Status string `json:"status"` Rollup *Address `json:"rollup,omitempty"` Game *SrGameInfo `json:"game"` Move string `json:"move"` GameStatus string `json:"gameStatus"` }
SmartRollupRefute
type SrCommitmentInfo ¶ added in v0.2.28
type SrCommitmentInfo struct { ID uint64 `json:"id"` Initiator *Address `json:"initiator,omitempty"` InboxLevel uint64 `json:"inboxLevel"` State string `json:"state"` Hash string `json:"hash"` Ticks uint64 `json:"ticks"` FirstLevel uint64 `json:"firstLevel"` FirstTime string `json:"firstTime"` }
SrCommitmentInfo -
type SrGameInfo ¶ added in v0.2.28
type SrGameInfo struct { ID uint64 `json:"id"` Initiator *Address `json:"initiator,omitempty"` InitiatorCommitment *SrCommitmentInfo `json:"initiatorCommitment,omitempty"` Opponent *Address `json:"opponent,omitempty"` OpponentCommitment *SrCommitmentInfo `json:"opponentCommitment,omitempty"` InitiatorReward uint64 `json:"initiatorReward"` InitiatorLoss uint64 `json:"initiatorLoss"` OpponentReward uint64 `json:"opponentReward"` OpponentLoss uint64 `json:"opponentLoss"` }
SrGameInfo -
type Statistics ¶ added in v0.2.20
type Statistics struct { Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` TotalSupply uint64 `json:"totalSupply"` CirculatingSupply uint64 `json:"circulatingSupply"` TotalBootstrapped uint64 `json:"totalBootstrapped"` TotalCommitments uint64 `json:"totalCommitments"` TotalActivated uint64 `json:"totalActivated"` TotalCreated uint64 `json:"totalCreated"` TotalBurned uint64 `json:"totalBurned"` TotalBanished uint64 `json:"totalBanished"` TotalFrozen uint64 `json:"totalFrozen"` TotalRollupBonds uint64 `json:"totalRollupBonds"` TotalVested uint64 `json:"totalVested"` Quote *Quote `json:"quote,omitempty"` }
Statistics -
type Token ¶
type Token struct { ID uint64 `json:"id"` Contract Address `json:"contract"` TokenID string `json:"tokenId"` Standard string `json:"standard"` Metadata stdJSON.RawMessage `json:"metadata,omitempty"` FirstLevel uint64 `json:"firstLevel"` FirstTime time.Time `json:"firstTime"` LastLevel uint64 `json:"lastLevel"` LastTime time.Time `json:"lastTime"` TransfersCount uint64 `json:"transfersCount"` BalancesCount uint64 `json:"balancesCount"` HoldersCount uint64 `json:"holdersCount"` TotalMinted string `json:"totalMinted"` TotalBurned string `json:"totalBurned"` TotalSupply string `json:"totalSupply"` }
Token -
type TokenBalance ¶ added in v0.2.26
type TokenBalance struct { ID uint64 `json:"id"` Account *Address `json:"account,omitempty"` Token *Token `json:"token,omitempty"` Balance string `json:"balance,omitempty"` TransfersCount uint64 `json:"transfersCount"` FirstLevel uint64 `json:"firstLevel"` FirstTime time.Time `json:"firstTime"` LastLevel uint64 `json:"lastLevel"` LastTime time.Time `json:"lastTime"` }
TokenBalance -
type Transaction ¶
type Transaction struct { Type string `json:"type"` Sender Address `json:"sender"` Target Address `json:"target"` Initiator Address `json:"initiator"` Amount decimal.Decimal `json:"amount"` Parameter *Parameters `json:"parameter,omitempty"` Timestamp time.Time `json:"timestamp"` ID uint64 `json:"id"` Level uint64 `json:"level"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` StorageUsed uint64 `json:"storageUsed"` BakerFee uint64 `json:"bakerFee"` StorageFee uint64 `json:"storageFee"` AllocationFee uint64 `json:"allocationFee"` Status string `json:"status"` Parameters string `json:"parameters"` Block string `json:"block"` Hash string `json:"hash"` HasInternals bool `json:"hasInternals"` Nonce *uint64 `json:"nonce,omitempty"` Quote *Quote `json:"quote,omitempty"` }
Transaction -
type Transfer ¶
type Transfer struct { ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Token Token `json:"token"` From *Address `json:"from,omitempty"` To *Address `json:"to,omitempty"` Amount string `json:"amount"` TransactionID *uint64 `json:"transactionId,omitempty"` OriginationID *uint64 `json:"originationId,omitempty"` MigrationID *uint64 `json:"migrationId,omitempty"` }
Transfer -
type TransferTicket ¶
type TransferTicket struct { Type string `json:"type"` Block string `json:"block"` Hash string `json:"hash"` Entrypoint string `json:"entrypoint"` Status string `json:"status"` Timestamp time.Time `json:"timestamp"` Sender Address `json:"sender"` ID uint64 `json:"id"` Level uint64 `json:"level"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` StorageUsed uint64 `json:"storageUsed"` BakerFee uint64 `json:"bakerFee"` StorageFee uint64 `json:"storageFee"` Target Address `json:"target"` Ticketer Address `json:"ticketer"` Amount decimal.Decimal `json:"amount"` ContentType stdJSON.RawMessage `json:"contentType"` Content stdJSON.RawMessage `json:"content"` Errors []Error `json:"errors,omitempty"` Quote *Quote `json:"quote,omitempty"` }
TransferTicket -
type TxRollupCommit ¶
type TxRollupCommit struct { Timestamp time.Time `json:"timestamp"` Type string `json:"type"` Block string `json:"block"` Hash string `json:"hash"` Status string `json:"status"` ID uint64 `json:"id"` Level uint64 `json:"level"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` StorageUsed uint64 `json:"storageUsed"` BakerFee uint64 `json:"bakerFee"` Bond uint64 `json:"bond"` Sender Address `json:"sender"` Rollup Address `json:"rollup"` Errors []Error `json:"errors,omitempty"` Quote *Quote `json:"quote,omitempty"` }
TxRollupCommit -
type TxRollupDispatchTicket ¶
type TxRollupDispatchTicket struct { Timestamp time.Time `json:"timestamp"` Type string `json:"type"` Block string `json:"block"` Hash string `json:"hash"` Status string `json:"status"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` StorageUsed uint64 `json:"storageUsed"` BakerFee uint64 `json:"bakerFee"` StorageFee uint64 `json:"storageFee"` ID uint64 `json:"id"` Level uint64 `json:"level"` Sender Address `json:"sender"` Rollup Address `json:"rollup"` Errors []Error `json:"errors,omitempty"` Quote *Quote `json:"quote,omitempty"` }
TxRollupDispatchTicket -
type TxRollupFinalizeCommitment ¶
type TxRollupFinalizeCommitment struct { Type string `json:"type"` Block string `json:"block"` Hash string `json:"hash"` Status string `json:"status"` ID uint64 `json:"id"` Level uint64 `json:"level"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` StorageUsed uint64 `json:"storageUsed"` BakerFee uint64 `json:"bakerFee"` Timestamp time.Time `json:"timestamp"` Sender Address `json:"sender"` Rollup Address `json:"rollup"` Errors []Error `json:"errors,omitempty"` Quote *Quote `json:"quote,omitempty"` }
TxRollupFinalizeCommitment -
type TxRollupOrigination ¶
type TxRollupOrigination struct { ID uint64 `json:"id"` Level uint64 `json:"level"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` StorageUsed uint64 `json:"storageUsed"` BakerFee uint64 `json:"bakerFee"` AllocationFee uint64 `json:"allocationFee"` Rollup Address `json:"rollup"` Sender Address `json:"sender"` Timestamp time.Time `json:"timestamp"` Block string `json:"block"` Hash string `json:"hash"` Type string `json:"type"` Status string `json:"status"` Errors []Error `json:"errors,omitempty"` Quote *Quote `json:"quote,omitempty"` }
TxRollupOrigination -
type TxRollupRejection ¶
type TxRollupRejection struct { Type string `json:"type"` Block string `json:"block"` Hash string `json:"hash"` Status string `json:"status"` ID uint64 `json:"id"` Level uint64 `json:"level"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` StorageUsed uint64 `json:"storageUsed"` BakerFee uint64 `json:"bakerFee"` Reward uint64 `json:"reward"` Loss uint64 `json:"loss"` Rollup Address `json:"rollup"` Sender Address `json:"sender"` Committer Address `json:"committer"` Timestamp time.Time `json:"timestamp"` Errors []Error `json:"errors,omitempty"` Quote *Quote `json:"quote,omitempty"` }
TxRollupRejection-
type TxRollupRemoveCommitment ¶
type TxRollupRemoveCommitment struct { Type string `json:"type"` Status string `json:"status"` Block string `json:"block"` Hash string `json:"hash"` ID uint64 `json:"id"` Level uint64 `json:"level"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` StorageUsed uint64 `json:"storageUsed"` BakerFee uint64 `json:"bakerFee"` Sender Address `json:"sender"` Rollup Address `json:"rollup"` Timestamp time.Time `json:"timestamp"` Errors []Error `json:"errors,omitempty"` Quote *Quote `json:"quote,omitempty"` }
TxRollupRemoveCommitment -
type TxRollupReturnBond ¶
type TxRollupReturnBond struct { Type string `json:"type"` Block string `json:"block"` Hash string `json:"hash"` Status string `json:"status"` ID uint64 `json:"id"` Level uint64 `json:"level"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` StorageUsed uint64 `json:"storageUsed"` BakerFee uint64 `json:"bakerFee"` Bond uint64 `json:"bond"` Timestamp time.Time `json:"timestamp"` Rollup Address `json:"rollup"` Sender Address `json:"sender"` Errors []Error `json:"errors,omitempty"` Quote *Quote `json:"quote,omitempty"` }
TxRollupReturnBond -
type TxRollupSubmitBatch ¶
type TxRollupSubmitBatch struct { Type string `json:"type"` Block string `json:"block"` Hash string `json:"hash"` Status string `json:"status"` ID uint64 `json:"id"` Level uint64 `json:"level"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` StorageUsed uint64 `json:"storageUsed"` BakerFee uint64 `json:"bakerFee"` StorageFee uint64 `json:"storageFee"` Rollup Address `json:"rollup"` Sender Address `json:"sender"` Timestamp time.Time `json:"timestamp"` Errors []Error `json:"errors,omitempty"` Quote *Quote `json:"quote,omitempty"` }
TxRollupSubmitBatch -
type UpdateConsensusKey ¶ added in v0.2.25
type UpdateConsensusKey struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Block string `json:"block"` Hash string `json:"hash"` Sender Address `json:"sender"` Counter uint64 `json:"counter"` GasLimit uint64 `json:"gasLimit"` GasUsed uint64 `json:"gasUsed"` StorageLimit uint64 `json:"storageLimit"` BakerFee uint64 `json:"bakerFee"` Status string `json:"status"` ActivationCycle uint64 `json:"activationCycle"` PublicKey string `json:"publicKey"` PublicKeyHash string `json:"publicKeyHash"` Errors []Error `json:"errors,omitempty"` Quote *Quote `json:"quote,omitempty"` }
UpdateConsensusKey -
type VdfRevelation ¶ added in v0.2.22
type VdfRevelation struct { Type string `json:"type"` ID uint64 `json:"id"` Level uint64 `json:"level"` Timestamp time.Time `json:"timestamp"` Block string `json:"block"` Hash string `json:"hash"` Baker *Address `json:"baker"` Cycle uint64 `json:"cycle"` Solution string `json:"solution"` Proof string `json:"proof"` Reward uint64 `json:"reward"` Quote *Quote `json:"quote,omitempty"` }
VdfRevelation -