Versions in this module Expand all Collapse all v1 v1.12.2 Apr 13, 2022 Changes in this version + const ErrorKindBranch + const ErrorKindPermanent + const ErrorKindTemporary + const GasSafetyMargin + const UnparsingModeInvalid + const UnparsingModeLegacy + const UnparsingModeOptimized + const UnparsingModeReadable + var Canceled = errors.New("operation confirm canceled") + var ErrMonitorClosed = errors.New("monitor closed") + var TTLExceeded = errors.New("operation ttl exceeded") + func DisableLog() + func ErrorStatus(err error) int + func UseLogger(logger logpkg.Logger) + type Activation struct + Metadata OperationMetadata + Pkh tezos.Address + Secret tezos.HexBytes + func (a Activation) Meta() OperationMetadata + type BakingRight struct + Delegate tezos.Address + EstimatedTime time.Time + Level int64 + Priority int + Round int + func (r BakingRight) Address() tezos.Address + type BalanceUpdate struct + Category string + Change int64 + Committer tezos.Address + Contract tezos.Address + Cycle_ int64 + Delegate tezos.Address + IsParticipationBurn bool + IsRevelationBurn bool + Kind string + Level_ int64 + Origin string + func (b BalanceUpdate) Address() tezos.Address + func (b BalanceUpdate) Amount() int64 + func (b BalanceUpdate) Cycle() int64 + type BalanceUpdates []BalanceUpdate + type Ballot struct + Ballot tezos.BallotVote + Period int + Proposal tezos.ProtocolHash + Source tezos.Address + type BallotInfo struct + Ballot tezos.BallotVote + Delegate tezos.Address + type BallotList []BallotInfo + type BallotSummary struct + Nay int + Pass int + Yay int + type BigmapInfo struct + KeyType micheline.Prim + TotalBytes int64 + ValueType micheline.Prim + type Block struct + ChainId tezos.ChainIdHash + Hash tezos.BlockHash + Header BlockHeader + Metadata BlockMetadata + Operations [][]*Operation + Protocol tezos.ProtocolHash + func (b *Block) LogEntry() *BlockHeaderLogEntry + func (b Block) GetCycle() int64 + func (b Block) GetLevel() int64 + func (b Block) GetLevelInfo() LevelInfo + func (b Block) GetTimestamp() time.Time + func (b Block) GetVersion() int + func (b Block) GetVotingInfo() VotingPeriodInfo + func (b Block) GetVotingPeriod() int64 + func (b Block) GetVotingPeriodKind() tezos.VotingPeriodKind + func (b Block) IsProtocolUpgrade() bool + type BlockAlias string + const Genesis + const Head + func (b BlockAlias) Int64() int64 + func (b BlockAlias) String() string + type BlockContent struct + Command string + Fitness []tezos.HexBytes + Parameters *GenesisData + Protocol tezos.ProtocolHash + type BlockHeader struct + ChainId tezos.ChainIdHash + Content *BlockContent + Context tezos.ContextHash + Fitness []tezos.HexBytes + Hash tezos.BlockHash + Level int64 + LiquidityBakingEscapeVote bool + OperationsHash tezos.OpListListHash + PayloadHash tezos.PayloadHash + PayloadRound int + Predecessor tezos.BlockHash + Priority int + ProofOfWorkNonce tezos.HexBytes + Proto int + Protocol tezos.ProtocolHash + SeedNonceHash *tezos.NonceHash + Signature tezos.Signature + Timestamp time.Time + ValidationPass int + type BlockHeaderLogEntry struct + Context tezos.ContextHash + Fitness []tezos.HexBytes + Hash tezos.BlockHash + Level int64 + OperationsHash tezos.OpListListHash + Predecessor tezos.BlockHash + Proto int + ProtocolData tezos.HexBytes + Timestamp time.Time + ValidationPass int + type BlockHeaderMonitor struct + func NewBlockHeaderMonitor() *BlockHeaderMonitor + func (m *BlockHeaderMonitor) Close() + func (m *BlockHeaderMonitor) Closed() <-chan struct{} + func (m *BlockHeaderMonitor) Err(err error) + func (m *BlockHeaderMonitor) New() interface{} + func (m *BlockHeaderMonitor) Recv(ctx context.Context) (*BlockHeaderLogEntry, error) + func (m *BlockHeaderMonitor) Send(ctx context.Context, val interface{}) + type BlockID interface + Int64 func() int64 + type BlockLevel int64 + func (b BlockLevel) Int64() int64 + func (b BlockLevel) String() string + type BlockMetadata struct + Baker tezos.Address + BalanceUpdates BalanceUpdates + ConsumedGas int64 + Deactivated []tezos.Address + ImplicitOperationsResults []ImplicitResult + Level *LevelInfo + LevelInfo *LevelInfo + LiquidityBakingEscapeEma int64 + MaxBlockHeaderLength int + MaxOperationDataLength int + MaxOperationListLength []*OperationListLength + MaxOperationsTTL int + NextProtocol tezos.ProtocolHash + NonceHash tezos.NonceHash + Proposer tezos.Address + Protocol tezos.ProtocolHash + VotingPeriodInfo *VotingPeriodInfo + VotingPeriodKind *tezos.VotingPeriodKind + type BlockOffset struct + Base BlockID + Offset int64 + func NewBlockOffset(id BlockID, n int64) BlockOffset + func (b BlockOffset) Int64() int64 + func (o BlockOffset) String() string + type BootstrapMonitor struct + func NewBootstrapMonitor() *BootstrapMonitor + func (m *BootstrapMonitor) Close() + func (m *BootstrapMonitor) Closed() <-chan struct{} + func (m *BootstrapMonitor) Err(err error) + func (m *BootstrapMonitor) New() interface{} + func (m *BootstrapMonitor) Recv(ctx context.Context) (*BootstrappedBlock, error) + func (m *BootstrapMonitor) Send(ctx context.Context, val interface{}) + type BootstrappedBlock struct + Block tezos.BlockHash + Timestamp time.Time + type Client struct + ApiKey string + BaseURL *url.URL + BlockObserver *Observer + ChainId tezos.ChainIdHash + MempoolObserver *Observer + Params *tezos.Params + Signer signer.Signer + UserAgent string + func NewClient(baseURL string, httpClient *http.Client) (*Client, error) + func (c *Client) BanNetworkPeer(ctx context.Context, peerID string) error + func (c *Client) BanNetworkPoint(ctx context.Context, address string) error + func (c *Client) Broadcast(ctx context.Context, o *codec.Op) (tezos.OpHash, error) + func (c *Client) BroadcastOperation(ctx context.Context, body []byte) (hash tezos.OpHash, err error) + func (c *Client) Close() + func (c *Client) Complete(ctx context.Context, o *codec.Op, key tezos.Key) error + func (c *Client) ConnectToNetworkPoint(ctx context.Context, address string, timeout time.Duration) error + func (c *Client) Do(req *http.Request, v interface{}) error + func (c *Client) DoAsync(req *http.Request, mon Monitor) error + func (c *Client) ForgeOperation(ctx context.Context, id BlockID, body, resp interface{}) error + func (c *Client) Get(ctx context.Context, urlpath string, result interface{}) error + func (c *Client) GetActiveBigmapInfo(ctx context.Context, bigmap int64) (*BigmapInfo, error) + func (c *Client) GetActiveBigmapValue(ctx context.Context, bigmap int64, hash tezos.ExprHash) (micheline.Prim, error) + func (c *Client) GetAsync(ctx context.Context, urlpath string, mon Monitor) error + func (c *Client) GetBigmapInfo(ctx context.Context, bigmap int64, id BlockID) (*BigmapInfo, error) + func (c *Client) GetBigmapValue(ctx context.Context, bigmap int64, hash tezos.ExprHash, id BlockID) (micheline.Prim, error) + func (c *Client) GetBlock(ctx context.Context, id BlockID) (*Block, error) + func (c *Client) GetBlockHash(ctx context.Context, id BlockID) (hash tezos.BlockHash, err error) + func (c *Client) GetBlockHeader(ctx context.Context, id BlockID) (*BlockHeader, error) + func (c *Client) GetBlockHeight(ctx context.Context, height int64) (*Block, error) + func (c *Client) GetBlockOperation(ctx context.Context, id BlockID, l, n int) (*Operation, error) + func (c *Client) GetBlockOperationHash(ctx context.Context, id BlockID, l, n int) (tezos.OpHash, error) + func (c *Client) GetBlockOperationHashes(ctx context.Context, id BlockID) ([][]tezos.OpHash, error) + func (c *Client) GetBlockOperationList(ctx context.Context, id BlockID, l int) ([]Operation, error) + func (c *Client) GetBlockOperationListHashes(ctx context.Context, id BlockID, l int) ([]tezos.OpHash, error) + func (c *Client) GetBlockOperations(ctx context.Context, id BlockID) ([][]Operation, error) + func (c *Client) GetBlockPredHashes(ctx context.Context, hash tezos.BlockHash, count int) ([]tezos.BlockHash, error) + func (c *Client) GetChainId(ctx context.Context) (tezos.ChainIdHash, error) + func (c *Client) GetConstants(ctx context.Context, id BlockID) (con Constants, err error) + func (c *Client) GetContract(ctx context.Context, addr tezos.Address, id BlockID) (*ContractInfo, error) + func (c *Client) GetContractEntrypoints(ctx context.Context, addr tezos.Address) (map[string]micheline.Type, error) + func (c *Client) GetContractExt(ctx context.Context, addr tezos.Address, id BlockID) (*ContractInfo, error) + func (c *Client) GetContractScript(ctx context.Context, addr tezos.Address) (*micheline.Script, error) + func (c *Client) GetContractStorage(ctx context.Context, addr tezos.Address, id BlockID) (micheline.Prim, error) + func (c *Client) GetContractStorageNormalized(ctx context.Context, addr tezos.Address, id BlockID, mode UnparsingMode) (micheline.Prim, error) + func (c *Client) GetDelegate(ctx context.Context, addr tezos.Address, id BlockID) (*Delegate, error) + func (c *Client) GetDelegateBalance(ctx context.Context, addr tezos.Address, id BlockID) (int64, error) + func (c *Client) GetGenesisBlock(ctx context.Context) (*Block, error) + func (c *Client) GetHeadBlock(ctx context.Context) (*Block, error) + func (c *Client) GetInvalidBlock(ctx context.Context, blockID tezos.BlockHash) (*InvalidBlock, error) + func (c *Client) GetInvalidBlocks(ctx context.Context) ([]*InvalidBlock, error) + func (c *Client) GetManagerKey(ctx context.Context, addr tezos.Address, id BlockID) (tezos.Key, error) + func (c *Client) GetMempool(ctx context.Context) (*Mempool, error) + func (c *Client) GetNetworkConnections(ctx context.Context) ([]*NetworkConnection, error) + func (c *Client) GetNetworkPeer(ctx context.Context, peerID string) (*NetworkPeer, error) + func (c *Client) GetNetworkPeerBanned(ctx context.Context, peerID string) (bool, error) + func (c *Client) GetNetworkPeerLog(ctx context.Context, peerID string) ([]*NetworkPeerLogEntry, error) + func (c *Client) GetNetworkPeers(ctx context.Context, filter string) ([]*NetworkPeer, error) + func (c *Client) GetNetworkPoint(ctx context.Context, address string) (*NetworkPoint, error) + func (c *Client) GetNetworkPointBanned(ctx context.Context, address string) (bool, error) + func (c *Client) GetNetworkPointLog(ctx context.Context, address string) ([]*NetworkPointLogEntry, error) + func (c *Client) GetNetworkPoints(ctx context.Context, filter string) ([]*NetworkPoint, error) + func (c *Client) GetNetworkStats(ctx context.Context) (*NetworkStats, error) + func (c *Client) GetNormalizedScript(ctx context.Context, addr tezos.Address, mode UnparsingMode) (*micheline.Script, error) + func (c *Client) GetParams(ctx context.Context, id BlockID) (*tezos.Params, error) + func (c *Client) GetRollSnapshotInfoCycle(ctx context.Context, id BlockID, cycle int64) (*RollSnapshotInfo, error) + func (c *Client) GetSnapshotIndexCycle(ctx context.Context, id BlockID, cycle int64) (*SnapshotIndex, error) + func (c *Client) GetStakingSnapshotInfoCycle(ctx context.Context, id BlockID, cycle int64) (*StakingSnapshotInfo, error) + func (c *Client) GetStatus(ctx context.Context) (Status, error) + func (c *Client) GetTipHeader(ctx context.Context) (*BlockHeader, error) + func (c *Client) GetTips(ctx context.Context, depth int, head tezos.BlockHash) ([][]tezos.BlockHash, error) + func (c *Client) GetVersionInfo(ctx context.Context) (VersionInfo, error) + func (c *Client) GetVoteProposal(ctx context.Context, id BlockID) (tezos.ProtocolHash, error) + func (c *Client) GetVoteQuorum(ctx context.Context, id BlockID) (int, error) + func (c *Client) GetVoteResult(ctx context.Context, id BlockID) (BallotSummary, error) + func (c *Client) Init(ctx context.Context) error + func (c *Client) ListActiveBigmapKeys(ctx context.Context, bigmap int64) ([]tezos.ExprHash, error) + func (c *Client) ListActiveBigmapValues(ctx context.Context, bigmap int64, id BlockID) ([]micheline.Prim, error) + func (c *Client) ListActiveDelegates(ctx context.Context, id BlockID) (DelegateList, error) + func (c *Client) ListActiveDelegatesWithRolls(ctx context.Context, id BlockID) (DelegateList, error) + func (c *Client) ListBakingRights(ctx context.Context, id BlockID, max int) ([]BakingRight, error) + func (c *Client) ListBakingRightsCycle(ctx context.Context, id BlockID, cycle int64, max int) ([]BakingRight, error) + func (c *Client) ListBallots(ctx context.Context, id BlockID) (BallotList, error) + func (c *Client) ListBigmapKeys(ctx context.Context, bigmap int64, id BlockID) ([]tezos.ExprHash, error) + func (c *Client) ListBigmapValues(ctx context.Context, bigmap int64, id BlockID) ([]micheline.Prim, error) + func (c *Client) ListContracts(ctx context.Context, id BlockID) (Contracts, error) + func (c *Client) ListEndorsingRights(ctx context.Context, id BlockID) ([]EndorsingRight, error) + func (c *Client) ListEndorsingRightsCycle(ctx context.Context, id BlockID, cycle int64) ([]EndorsingRight, error) + func (c *Client) ListProposals(ctx context.Context, id BlockID) (ProposalList, error) + func (c *Client) ListSnapshotRollOwners(ctx context.Context, id BlockID, cycle, index int64) (*SnapshotOwners, error) + func (c *Client) ListVoters(ctx context.Context, id BlockID) (VoterList, error) + func (c *Client) Listen() + func (c *Client) MonitorBlockHeader(ctx context.Context, monitor *BlockHeaderMonitor) error + func (c *Client) MonitorBootstrapped(ctx context.Context, monitor *BootstrapMonitor) error + func (c *Client) MonitorMempool(ctx context.Context, monitor *MempoolMonitor) error + func (c *Client) MonitorNetworkPeerLog(ctx context.Context, peerID string, monitor *NetworkPeerMonitor) error + func (c *Client) MonitorNetworkPointLog(ctx context.Context, address string, monitor *NetworkPointMonitor) error + func (c *Client) NewRequest(ctx context.Context, method, urlStr string, body interface{}) (*http.Request, error) + func (c *Client) Post(ctx context.Context, urlpath string, body, result interface{}) error + func (c *Client) Put(ctx context.Context, urlpath string, body, result interface{}) error + func (c *Client) ResolveChainConfig(ctx context.Context) (*tezos.Params, error) + func (c *Client) ResolveChainId(ctx context.Context) (tezos.ChainIdHash, error) + func (c *Client) RunCode(ctx context.Context, id BlockID, body, resp interface{}) error + func (c *Client) RunOperation(ctx context.Context, id BlockID, body, resp interface{}) error + func (c *Client) RunView(ctx context.Context, id BlockID, body, resp interface{}) error + func (c *Client) Simulate(ctx context.Context, o *codec.Op) (*Receipt, error) + func (c *Client) TraceCode(ctx context.Context, id BlockID, body, resp interface{}) error + func (c *Client) TrustNetworkPeer(ctx context.Context, peerID string) error + func (c *Client) TrustNetworkPoint(ctx context.Context, address string) error + func (c *Client) Validate(ctx context.Context, o *codec.Op) error + type CommitInfo struct + CommitDate string + CommitHash string + type ConnVersion struct + Major uint16 + Minor uint16 + Name string + type ConstantRegistration struct + Metadata OperationMetadata + Value micheline.Prim + func (c ConstantRegistration) Costs() tezos.Costs + func (c ConstantRegistration) Meta() OperationMetadata + func (c ConstantRegistration) Result() OperationResult + type Constants struct + BakingRewardBonusPerSlot int64 + BakingRewardFixedPortion int64 + BakingRewardPerEndorsement_v6 [2]int64 + BlockReward_v1 int64 + BlockSecurityDeposit int64 + BlocksPerCommitment int64 + BlocksPerCycle int64 + BlocksPerRollSnapshot int64 + BlocksPerStakeSnapshot int64 + BlocksPerVotingPeriod int64 + CacheLayout []string + ConsensusCommitteeSize int + ConsensusThreshold int + CostPerByte int64 + DelayIncrementPerRound int + DelayPerMissingEndorsement int + DoubleBakingPunishment int64 + EndorsementReward_v1 int64 + EndorsementReward_v6 [2]int64 + EndorsementSecurityDeposit int64 + EndorsersPerBlock int + EndorsingRewardPerSlot int64 + FrozenDepositsPercentage int + HardGasLimitPerBlock int64 + HardGasLimitPerOperation int64 + HardStorageLimitPerOperation int64 + InitialEndorsers int + LiquidityBakingEscapeEmaThreshold int64 + LiquidityBakingSubsidy int64 + LiquidityBakingSunsetLevel int64 + MaxAllowedGlobalConstantsDepth int + MaxAnonOpsPerBlock int + MaxMichelineBytesLimit int + MaxMichelineNodeCount int + MaxOperationDataLength int + MaxOperationsTimeToLive int64 + MaxProposalsPerDelegate int + MaxRevelationsPerBlock int + MaxSlashingPeriod int64 + MichelsonMaximumTypeSize int + MinProposalQuorum int64 + MinimalBlockDelay int + MinimalParticipationRatio tezos.Ratio + NoRewardCycles int64 + NonceLength int + OriginationBurn int64 + OriginationSize int64 + PreservedCycles int64 + ProofOfWorkNonceSize int + ProofOfWorkThreshold int64 + QuorumMax int64 + QuorumMin int64 + RatioOfFrozenDepositsSlashedPerDoubleEndorsement tezos.Ratio + SecurityDepositRampUpCycles int64 + SeedNonceRevelationTip int64 + TestChainDuration int64 + TimeBetweenBlocks []string + TokensPerRoll int64 + func (c *Constants) UnmarshalJSON(buf []byte) error + func (c Constants) GetBlockReward() int64 + func (c Constants) GetEndorsementReward() int64 + func (c Constants) HaveV12Rewards() bool + func (c Constants) HaveV6Rewards() bool + func (c Constants) MapToChainParams() *tezos.Params + type ContractInfo struct + Balance int64 + Counter int64 + Delegate tezos.Address + Manager string + func (i ContractInfo) IsRevealed() bool + func (i ContractInfo) ManagerKey() tezos.Key + type Contracts []tezos.Address + type CycleBalance struct + Cycle int64 + Deposit int64 + Fees int64 + Rewards int64 + type Delegate struct + Balance int64 + Block string + CurrentFrozenDeposits int64 + Deactivated bool + Delegate tezos.Address + DelegatedBalance int64 + DelegatedContracts []tezos.Address + FrozenBalance int64 + FrozenBalanceByCycle []CycleBalance + FrozenDeposits int64 + FrozenDepositsLimit int64 + FullBalance int64 + GracePeriod int64 + Height int64 + StakingBalance int64 + VotingPower int64 + type DelegateList []tezos.Address + type Delegation struct + Delegate tezos.Address + Metadata OperationMetadata + func (d Delegation) Costs() tezos.Costs + func (d Delegation) Meta() OperationMetadata + func (d Delegation) Result() OperationResult + type DoubleBaking struct + BH1 BlockHeader + BH2 BlockHeader + Metadata OperationMetadata + func (d DoubleBaking) Costs() tezos.Costs + func (d DoubleBaking) Meta() OperationMetadata + type DoubleEndorsement struct + Metadata OperationMetadata + OP1 InlinedEndorsement + OP2 InlinedEndorsement + func (d DoubleEndorsement) Costs() tezos.Costs + func (d DoubleEndorsement) Meta() OperationMetadata + type Endorsement struct + Endorsement *InlinedEndorsement + Level int64 + Metadata OperationMetadata + PayloadHash tezos.PayloadHash + Round int + Slot int + func (e Endorsement) GetLevel() int64 + func (e Endorsement) Meta() OperationMetadata + type EndorsingRight struct + Delegate tezos.Address + EstimatedTime time.Time + FirstSlot int + Level int64 + Power int + Slots []int + func (r EndorsingRight) Address() tezos.Address + type Error interface + ErrorID func() string + ErrorKind func() string + type Errors []Error + func (e *Errors) UnmarshalJSON(data []byte) error + func (e Errors) Error() string + func (e Errors) ErrorID() string + func (e Errors) ErrorKind() string + type Generic struct + OpKind tezos.OpType + func (e Generic) Costs() tezos.Costs + func (e Generic) Kind() tezos.OpType + func (e Generic) Limits() tezos.Limits + func (e Generic) Meta() OperationMetadata + func (e Generic) Result() OperationResult + type GenericDiff struct + DiffId int64 + DiffKind LazyDiffKind + func (d *GenericDiff) Id() int64 + func (d *GenericDiff) Kind() LazyDiffKind + type GenericError struct + ID string + Kind string + func (e *GenericError) Error() string + func (e *GenericError) ErrorID() string + func (e *GenericError) ErrorKind() string + type GenesisData struct + Accounts []*X0 + Commitments []*X2 + Contracts []*X1 + func (b *GenesisData) Supply() int64 + func (b *GenesisData) UnmarshalText(data []byte) error + type HTTPError interface + type HTTPStatus interface + Body func() []byte + Request func() string + Status func() string + StatusCode func() int + type IDTimestamp struct + ID string + Timestamp time.Time + func (i *IDTimestamp) UnmarshalJSON(data []byte) error + type ImplicitResult struct + BalanceUpdates BalanceUpdates + ConsumedGas int64 + ConsumedMilliGas int64 + Kind tezos.OpType + OriginatedContracts []tezos.Address + PaidStorageSizeDiff int64 + Script *micheline.Script + Storage *micheline.Prim + StorageSize int64 + type InlinedEndorsement struct + Branch tezos.BlockHash + Operations Endorsement + Signature tezos.Signature + type InternalResult struct + Amount int64 + Balance int64 + Delegate *tezos.Address + Destination *tezos.Address + Kind tezos.OpType + Nonce int64 + Parameters *micheline.Parameters + Result OperationResult + Script *micheline.Script + Source tezos.Address + type InvalidBlock struct + Block tezos.BlockHash + Error Errors + Level int64 + type LazyBigMapDiff struct + Diff micheline.BigmapDiffElem + type LazyDiffKind string + const LazyDiffKindBigMap + const LazyDiffKindSaplingState + func ParseLazyDiffKind(data string) (LazyDiffKind, error) + func (k *LazyDiffKind) UnmarshalText(data []byte) error + func (k LazyDiffKind) MarshalText() ([]byte, error) + func (k LazyDiffKind) String() string + type LazySaplingDiff struct + Diff micheline.SaplingDiffElem + type LazyStorageDiff []LazyStorageItem + func (d *LazyStorageDiff) UnmarshalJSON(data []byte) error + type LazyStorageItem interface + Id func() int64 + Kind func() LazyDiffKind + type LevelInfo struct + Cycle int64 + CyclePosition int64 + ExpectedCommitment bool + Level int64 + LevelPosition int64 + VotingPeriod int64 + VotingPeriodPosition int64 + type Manager struct + Counter int64 + Fee int64 + GasLimit int64 + Source tezos.Address + StorageLimit int64 + func (e Manager) Limits() tezos.Limits + type Mempool struct + Applied []*Operation + BranchDelayed []*Operation + BranchRefused []*Operation + Outdated []*Operation + Refused []*Operation + Unprocessed []*Operation + func (m *Mempool) UnmarshalJSON(data []byte) error + type MempoolMonitor struct + func NewMempoolMonitor() *MempoolMonitor + func (m *MempoolMonitor) Close() + func (m *MempoolMonitor) Closed() <-chan struct{} + func (m *MempoolMonitor) Err(err error) + func (m *MempoolMonitor) New() interface{} + func (m *MempoolMonitor) Recv(ctx context.Context) ([]*Operation, error) + func (m *MempoolMonitor) Send(ctx context.Context, val interface{}) + type Monitor interface + Close func() + Closed func() <-chan struct{} + Err func(error) + New func() interface{} + Send func(ctx context.Context, val interface{}) + type NetworkAddress struct + Addr string + Port uint16 + type NetworkConnection struct + IDPoint NetworkAddress + Incoming bool + LocalMetadata NetworkMetadata + PeerID string + Private bool + RemoteMetadata NetworkMetadata + RemoteSocketPort uint16 + Versions []*ConnVersion + type NetworkConnectionTimestamp struct + Timestamp time.Time + func (n *NetworkConnectionTimestamp) UnmarshalJSON(data []byte) error + type NetworkMetadata struct + DisableMempool bool + PrivateNode bool + type NetworkPeer struct + ConnMetadata *NetworkMetadata + LastDisconnection *NetworkConnectionTimestamp + LastEstablishedConnection *NetworkConnectionTimestamp + LastFailedConnection *NetworkConnectionTimestamp + LastMiss *NetworkConnectionTimestamp + LastRejectedConnection *NetworkConnectionTimestamp + LastSeen *NetworkConnectionTimestamp + PeerID string + ReachableAt *NetworkAddress + Score int64 + Stat NetworkStats + State string + Trusted bool + type NetworkPeerLogEntry struct + Kind string + Timestamp time.Time + type NetworkPeerMonitor struct + func NewNetworkPeerMonitor() *NetworkPeerMonitor + func (m *NetworkPeerMonitor) Close() + func (m *NetworkPeerMonitor) Closed() <-chan struct{} + func (m *NetworkPeerMonitor) Err(err error) + func (m *NetworkPeerMonitor) New() interface{} + func (m *NetworkPeerMonitor) Recv(ctx context.Context) (*NetworkPeerLogEntry, error) + func (m *NetworkPeerMonitor) Send(ctx context.Context, val interface{}) + type NetworkPoint struct + Address string + GreylistedUntil time.Time + LastDisconnection *IDTimestamp + LastEstablishedConnection *IDTimestamp + LastFailedConnection time.Time + LastMiss time.Time + LastRejectedConnection *IDTimestamp + LastSeen *IDTimestamp + P2PPeerID string + State NetworkPointState + Trusted bool + type NetworkPointLogEntry struct + Kind NetworkPointState + Timestamp time.Time + type NetworkPointMonitor struct + func NewNetworkPointMonitor() *NetworkPointMonitor + func (m *NetworkPointMonitor) Close() + func (m *NetworkPointMonitor) Closed() <-chan struct{} + func (m *NetworkPointMonitor) Err(err error) + func (m *NetworkPointMonitor) New() interface{} + func (m *NetworkPointMonitor) Recv(ctx context.Context) (*NetworkPointLogEntry, error) + func (m *NetworkPointMonitor) Send(ctx context.Context, val interface{}) + type NetworkPointState struct + EventKind string + P2PPeerID string + type NetworkStats struct + CurrentInflow int64 + CurrentOutflow int64 + TotalBytesRecv int64 + TotalBytesSent int64 + type NetworkVersion struct + ChainName string + DistributedDbVersion int + P2pVersion int + type NodeVersion struct + AdditionalInfo string + Major int + Minor int + type Observer struct + func NewObserver() *Observer + func (m *Observer) Close() + func (m *Observer) Listen(cli *Client) + func (m *Observer) ListenMempool(cli *Client) + func (m *Observer) Subscribe(oh tezos.OpHash, cb ObserverCallback) int + func (m *Observer) Unsubscribe(id int) + func (m *Observer) WithDelay(minDelay time.Duration) *Observer + type ObserverCallback func(tezos.BlockHash, int, int, bool) bool + type Operation struct + Branch tezos.BlockHash + ChainID tezos.ChainIdHash + Contents OperationList + Errors []OperationError + Hash tezos.OpHash + Protocol tezos.ProtocolHash + Signature tezos.Signature + func (o Operation) Costs() []tezos.Costs + func (o Operation) TotalCosts() tezos.Costs + type OperationError struct + Contract *tezos.Address + Raw json.RawMessage + func (o *OperationError) UnmarshalJSON(data []byte) error + func (o OperationError) MarshalJSON() ([]byte, error) + type OperationList []TypedOperation + func (e *OperationList) UnmarshalJSON(data []byte) error + func (o OperationList) Contains(typ tezos.OpType) bool + func (o OperationList) Select(typ tezos.OpType, n int) TypedOperation + type OperationListLength struct + MaxOp int + MaxSize int + type OperationMetadata struct + BalanceUpdates BalanceUpdates + Delegate tezos.Address + InternalResults []*InternalResult + Power int + Result OperationResult + Slots []int + func (m OperationMetadata) Address() tezos.Address + type OperationResult struct + Allocated bool + BalanceUpdates BalanceUpdates + BigmapDiff micheline.BigmapDiff + ConsumedGas int64 + ConsumedMilliGas int64 + Errors []OperationError + GlobalAddress tezos.ExprHash + LazyStorageDiff LazyStorageDiff + OriginatedContracts []tezos.Address + PaidStorageSizeDiff int64 + Status tezos.OpStatus + Storage *micheline.Prim + StorageSize int64 + type Origination struct + Balance int64 + Delegatable *bool + Delegate *tezos.Address + ManagerPubkey tezos.Address + ManagerPubkey2 tezos.Address + Metadata OperationMetadata + Script *micheline.Script + Spendable *bool + func (o Origination) Costs() tezos.Costs + func (o Origination) ManagerAddress() tezos.Address + func (o Origination) Meta() OperationMetadata + func (o Origination) Result() OperationResult + type PendingOperation Operation + func (o *PendingOperation) UnmarshalJSON(data []byte) error + func (o PendingOperation) MarshalJSON() ([]byte, error) + type Proposal struct + Proposal tezos.ProtocolHash + Upvotes int64 + func (p *Proposal) UnmarshalJSON(data []byte) error + type ProposalList []Proposal + type Proposals struct + Period int + Proposals []tezos.ProtocolHash + Source tezos.Address + type RPCError interface + Errors func() []Error + type Receipt struct + Block tezos.BlockHash + List int + Op *Operation + Pos int + func (r *Receipt) Costs() []tezos.Costs + func (r *Receipt) MapLimits() []tezos.Limits + func (r *Receipt) TotalCosts() tezos.Costs + type Result struct + func NewResult(oh tezos.OpHash) *Result + func (r *Result) Cancel() + func (r *Result) Confirmations() int64 + func (r *Result) Done() <-chan struct{} + func (r *Result) Err() error + func (r *Result) GetReceipt(ctx context.Context) (*Receipt, error) + func (r *Result) Hash() tezos.OpHash + func (r *Result) Listen(o *Observer) + func (r *Result) Wait() + func (r *Result) WaitContext(ctx context.Context) + func (r *Result) WithConfirmations(n int64) *Result + func (r *Result) WithTTL(n int64) *Result + type Reveal struct + Metadata OperationMetadata + PublicKey tezos.Key + func (r Reveal) Costs() tezos.Costs + func (r Reveal) Meta() OperationMetadata + func (r Reveal) Result() OperationResult + type RollSnapshotInfo struct + LastRoll []string + Nonces []string + RandomSeed string + RollSnapshot int + type RunOperationRequest struct + ChainId tezos.ChainIdHash + Operation *codec.Op + type RunViewRequest struct + ChainId tezos.ChainIdHash + Contract tezos.Address + Entrypoint string + Gas tezos.N + Input micheline.Prim + Mode string + Payer tezos.Address + Source tezos.Address + type RunViewResponse struct + Data micheline.Prim + type SeedNonce struct + Level int64 + Metadata OperationMetadata + Nonce tezos.HexBytes + func (s SeedNonce) Meta() OperationMetadata + type SetDepositsLimit struct + Limit int64 + Metadata OperationMetadata + func (r SetDepositsLimit) Costs() tezos.Costs + func (r SetDepositsLimit) Meta() OperationMetadata + func (r SetDepositsLimit) Result() OperationResult + type SnapshotIndex struct + Base int64 + Cycle int64 + Index int + type SnapshotOwners struct + Cycle int64 + Index int64 + Rolls []SnapshotRoll + type SnapshotRoll struct + OwnerKey tezos.Key + RollId int64 + func (r *SnapshotRoll) UnmarshalJSON(data []byte) error + func (r SnapshotRoll) MarshalJSON() ([]byte, error) + type StakeInfo struct + ActiveStake int64 + Baker tezos.Address + type StakingSnapshotInfo struct + BakerStake []StakeInfo + Nonces []string + RandomSeed string + TotalActiveStake int64 + type Status struct + Bootstrapped bool + SyncState string + type Transaction struct + Amount int64 + Destination tezos.Address + Metadata OperationMetadata + Parameters *micheline.Parameters + func (t Transaction) Costs() tezos.Costs + func (t Transaction) Meta() OperationMetadata + func (t Transaction) Result() OperationResult + type TypedOperation interface + Costs func() tezos.Costs + Kind func() tezos.OpType + Limits func() tezos.Limits + Meta func() OperationMetadata + Result func() OperationResult + type UnparsingMode string + func (m UnparsingMode) String() string + type VersionInfo struct + CommitInfo CommitInfo + NetworkVersion NetworkVersion + NodeVersion NodeVersion + type Voter struct + Delegate tezos.Address + Rolls int64 + type VoterList []Voter + type VotingPeriod struct + Index int64 + Kind tezos.VotingPeriodKind + StartPosition int64 + type VotingPeriodInfo struct + Position int64 + Remaining int64 + VotingPeriod VotingPeriod + type X0 struct + Addr tezos.Address + Key tezos.Key + Value int64 + type X1 struct + Addr tezos.Address + Delegate tezos.Address + Script micheline.Script + Value int64 + type X2 struct + Addr tezos.Address + Value int64