Versions in this module Expand all Collapse all v5 v5.0.2 Dec 21, 2021 Changes in this version type Client + func (c *Client) Get(path string, opts ...rpcOptions) (*resty.Response, error) + func (c *Client) Post(path string, body interface{}, opts ...rpcOptions) (*resty.Response, error) v5.0.1 Dec 20, 2021 Changes in this version type Client + func (c *Client) SimulationOperation(input InjectionOperationInput) (*resty.Response, string, error) v5.0.0 Dec 20, 2021 Changes in this version + const MUTEZ + type AccountActivation struct + Kind Kind + Metadata *AccountActivationMetadata + Pkh string + Secret string + func (a *AccountActivation) ToContent() Content + type AccountActivationMetadata struct + BalanceUpdates []BalanceUpdates + type ActiveChains []struct + type BakingRights struct + Delegate string + EstimatedTime time.Time + Level int + Priority int + type BakingRightsInput struct + All bool + BlockID BlockID + Cycle int + Delegate string + Level int + MaxPriority int + type BalanceUpdates struct + Category string + Change string + Contract string + Cycle int + Delegate string + Kind string + Level int + type Ballot struct + Ballot string + Kind Kind + Period int + Proposal string + Source string + func (b *Ballot) ToContent() Content + type BallotList []struct + type Ballots struct + Nay int + Pass int + Yay int + type BigMapDiff struct + Action BigMapDiffAction + BigMap string + DestinationBigMap string + Key *json.RawMessage + KeyHash string + KeyType *json.RawMessage + SourceBigMap string + Value *json.RawMessage + ValueType *json.RawMessage + func (b BigMapDiff) ToAlloc() BigMapDiffAlloc + func (b BigMapDiff) ToCopy() BigMapDiffCopy + func (b BigMapDiff) ToRemove() BigMapDiffRemove + func (b BigMapDiff) ToUpdate() BigMapDiffUpdate + type BigMapDiffAction string + const ALLOC + const COPY + const REMOVE + const UPDATE + type BigMapDiffAlloc struct + Action BigMapDiffAction + BigMap string + KeyType *json.RawMessage + ValueType *json.RawMessage + type BigMapDiffCopy struct + Action BigMapDiffAction + DestinationBigMap string + SourceBigMap string + type BigMapDiffRemove struct + Action BigMapDiffAction + BigMap string + type BigMapDiffUpdate struct + Action BigMapDiffAction + BigMap string + Key *json.RawMessage + KeyHash string + Value *json.RawMessage + type BigMapDiffs []BigMapDiff + func (b BigMapDiffs) Organize() OrganizedBigMapDiff + type BigMapInput struct + BigMapID int + BlockID BlockID + Cycle int + ScriptExpression string + type Block struct + ChainID string + Hash string + Header Header + Metadata Metadata + Operations [][]Operations + Protocol string + type BlockHeader struct + Context string + Fitness []string + Level int + OperationsHash string + Predecessor string + Priority int + ProofOfWorkNonce string + Proto int + SeedNonceHash string + Signature string + Timestamp time.Time + ValidationPass int + type BlockHeaderSignedContents struct + Priority int + ProofOfWorkNonce string + SeedNonceHash string + Signature string + type BlockID interface + ID func() string + type BlockIDHash string + func (b *BlockIDHash) ID() string + type BlockIDHead struct + func (b *BlockIDHead) ID() string + type BlockIDHeadPredecessor int + func (b *BlockIDHeadPredecessor) ID() string + type BlockIDLevel int + func (b *BlockIDLevel) ID() string + type BlockIDPredecessor struct + DiffLevel int + Hash string + func (b *BlockIDPredecessor) ID() string + type Client struct + func New(host string) (*Client, error) + func (c *Client) ActiveChains() (*resty.Response, ActiveChains, error) + func (c *Client) BakingRights(input BakingRightsInput) (*resty.Response, []BakingRights, error) + func (c *Client) BallotList(blockID BlockID) (*resty.Response, BallotList, error) + func (c *Client) Ballots(blockID BlockID) (*resty.Response, Ballots, error) + func (c *Client) BigMap(input BigMapInput) (*resty.Response, error) + func (c *Client) Block(blockID BlockID) (*resty.Response, *Block, error) + func (c *Client) CompletePrefix(input CompletePrefixInput) (*resty.Response, []string, error) + func (c *Client) Connections() (*resty.Response, Connections, error) + func (c *Client) Constants(input ConstantsInput) (*resty.Response, Constants, error) + func (c *Client) Contract(input ContractInput) (*resty.Response, Contract, error) + func (c *Client) ContractBalance(input ContractBalanceInput) (*resty.Response, string, error) + func (c *Client) ContractCounter(input ContractCounterInput) (*resty.Response, int, error) + func (c *Client) ContractDelegate(input ContractDelegateInput) (*resty.Response, string, error) + func (c *Client) ContractEntrypoint(input ContractEntrypointInput) (*resty.Response, *json.RawMessage, error) + func (c *Client) ContractEntrypoints(input ContractEntrypointsInput) (*resty.Response, map[string]*json.RawMessage, error) + func (c *Client) ContractManagerKey(input ContractManagerKeyInput) (*resty.Response, string, error) + func (c *Client) ContractSaplingDiff(input ContractSaplingDiffInput) (*resty.Response, error) + func (c *Client) ContractScript(input ContractScriptInput) (*resty.Response, error) + func (c *Client) ContractStorage(input ContractStorageInput) (*resty.Response, error) + func (c *Client) Contracts(input ContractsInput) (*resty.Response, []string, error) + func (c *Client) CurrentContstants() Constants + func (c *Client) CurrentLevel(input CurrentLevelInput) (*resty.Response, CurrentLevel, error) + func (c *Client) CurrentPeriod(blockID BlockID) (*resty.Response, VotingPeriod, error) + func (c *Client) CurrentPeriodKind(blockID BlockID) (*resty.Response, string, error) + func (c *Client) CurrentProposal(blockID BlockID) (*resty.Response, string, error) + func (c *Client) CurrentQuorum(blockID BlockID) (*resty.Response, int, error) + func (c *Client) Cycle(cycle int) (*resty.Response, Cycle, error) + func (c *Client) Delegate(input DelegateInput) (*resty.Response, Delegate, error) + func (c *Client) DelegateBalance(input DelegateBalanceInput) (*resty.Response, string, error) + func (c *Client) DelegateDeactivated(input DelegateDeactivatedInput) (*resty.Response, bool, error) + func (c *Client) DelegateDelegatedBalance(input DelegateDelegatedBalanceInput) (*resty.Response, string, error) + func (c *Client) DelegateDelegatedContracts(input DelegateDelegatedContractsInput) (*resty.Response, []string, error) + func (c *Client) DelegateFrozenBalance(input DelegateFrozenBalanceInput) (*resty.Response, string, error) + func (c *Client) DelegateFrozenBalanceByCycle(input DelegateFrozenBalanceByCycleInput) (*resty.Response, []FrozenBalanceByCycle, error) + func (c *Client) DelegateGracePeriod(input DelegateGracePeriodInput) (*resty.Response, int, error) + func (c *Client) DelegateStakingBalance(input DelegateStakingBalanceInput) (*resty.Response, string, error) + func (c *Client) DelegateVotingPower(input DelegateVotingPowerInput) (*resty.Response, int, error) + func (c *Client) Delegates(input DelegatesInput) (*resty.Response, []string, error) + func (c *Client) EndorsingPower(input EndorsingPowerInput) (*resty.Response, int, error) + func (c *Client) EndorsingRights(input EndorsingRightsInput) (*resty.Response, []EndorsingRights, error) + func (c *Client) Entrypoint(input EntrypointInput) (*resty.Response, Entrypoint, error) + func (c *Client) Entrypoints(input EntrypointsInput) (*resty.Response, Entrypoints, error) + func (c *Client) ForgeBlockHeader(input ForgeBlockHeaderInput) (*resty.Response, ForgeBlockHeader, error) + func (c *Client) ForgeOperations(input ForgeOperationsInput) (*resty.Response, string, error) + func (c *Client) GetFA12Allowance(input GetFA12AllowanceInput) (*resty.Response, string, error) + func (c *Client) GetFA12Balance(input GetFA12BalanceInput) (*resty.Response, string, error) + func (c *Client) GetFA12Supply(input GetFA12SupplyInput) (*resty.Response, string, error) + func (c *Client) Hash(blockID BlockID) (*resty.Response, string, error) + func (c *Client) Header(blockID BlockID) (*resty.Response, Header, error) + func (c *Client) HeaderProtocolData(blockID BlockID) (*resty.Response, ProtocolData, error) + func (c *Client) HeaderProtocolDataRaw(blockID BlockID) (*resty.Response, string, error) + func (c *Client) HeaderRaw(blockID BlockID) (*resty.Response, string, error) + func (c *Client) HeaderShell(blockID BlockID) (*resty.Response, HeaderShell, error) + func (c *Client) InjectionBlock(input InjectionBlockInput) (*resty.Response, error) + func (c *Client) InjectionOperation(input InjectionOperationInput) (*resty.Response, string, error) + func (c *Client) LevelsInCurrentCycle(input LevelsInCurrentCycleInput) (*resty.Response, LevelsInCurrentCycle, error) + func (c *Client) Listings(blockID BlockID) (*resty.Response, Listings, error) + func (c *Client) LiveBlocks(blockID BlockID) (*resty.Response, []string, error) + func (c *Client) Metadata(blockID BlockID) (*resty.Response, Metadata, error) + func (c *Client) MetadataHash(blockID BlockID) (*resty.Response, string, error) + func (c *Client) MinimalValidTime(input MinimalValidTimeInput) (*resty.Response, time.Time, error) + func (c *Client) Nonces(input NoncesInput) (*resty.Response, Nonces, error) + func (c *Client) OperationHashes(input OperationHashesInput) (*resty.Response, OperationHashes, error) + func (c *Client) OperationMetadataHashes(input OperationMetadataHashesInput) (*resty.Response, OperationMetadataHashes, error) + func (c *Client) Operations(input OperationsInput) (*resty.Response, FlattenedOperations, error) + func (c *Client) OperationsMetadataHash(blockID BlockID) (*resty.Response, string, error) + func (c *Client) OverrideClient(client *resty.Client) + func (c *Client) PackData(input PackDataInput) (*resty.Response, PackedData, error) + func (c *Client) ParseBlock(input ParseBlockInput) (*resty.Response, BlockHeaderSignedContents, error) + func (c *Client) ParseOperations(input ParseOperationsInput) (*resty.Response, []Operations, error) + func (c *Client) PreapplyBlock(input PreapplyBlockInput) (*resty.Response, PreappliedBlock, error) + func (c *Client) PreapplyOperations(input PreapplyOperationsInput) (*resty.Response, []Operations, error) + func (c *Client) Proposals(blockID BlockID) (*resty.Response, Proposals, error) + func (c *Client) Protocols(blockID BlockID) (*resty.Response, Protocols, error) + func (c *Client) RawBytes(input RawBytesInput) (*resty.Response, error) + func (c *Client) RequiredEndorsements(input RequiredEndorsementsInput) (*resty.Response, int, error) + func (c *Client) RunCode(input RunCodeInput) (*resty.Response, RanCode, error) + func (c *Client) RunOperation(input RunOperationInput) (*resty.Response, Operations, error) + func (c *Client) SaplingDiff(input SaplingDiffInput) (*resty.Response, error) + func (c *Client) Seed(input SeedInput) (*resty.Response, string, error) + func (c *Client) SetChain(chain string) + func (c *Client) SetConstants(constants Constants) + func (c *Client) SimulateOperation(input InjectionOperationInput) (*resty.Response, string, error) + func (c *Client) SuccessorPeriod(blockID BlockID) (*resty.Response, VotingPeriod, error) + func (c *Client) TotalVotingPower(blockID BlockID) (*resty.Response, int, error) + func (c *Client) TraceCode(input TraceCodeInput) (*resty.Response, TracedCode, error) + func (c *Client) TypecheckCode(input TypeCheckcodeInput) (*resty.Response, TypecheckedCode, error) + func (c *Client) TypecheckData(input TypecheckDataInput) (*resty.Response, TypecheckedData, error) + type CompletePrefixInput struct + BlockID BlockID + Prefix string + type Connections []struct + type Constants struct + BlockReward IntArray + BlockSecurityDeposit int + BlocksPerCommitment int + BlocksPerCycle int + BlocksPerRollSnapshot int + BlocksPerVotingPeriod int + CostPerByte int + EndorsementReward IntArray + EndorsementSecurityDeposit int + EndorsersPerBlock int + HardGasLimitPerBlock int + HardGasLimitPerOperation int + HardStorageLimitPerOperation int + MaxOperationDataLength int + MaxProposalsPerDelegate int + MaxRevelationsPerBlock int + MichelsonMaximumTypeSize int + NonceLength int + OriginationSize int + PreservedCycles int + ProofOfWorkNonceSize int + ProofOfWorkThreshold string + SeedNonceRevelationTip string + TimeBetweenBlocks []string + TokensPerRoll string + type ConstantsInput struct + BlockID BlockID + Cycle int + type Content struct + Amount string + Balance string + Ballot string + Bh1 *BlockHeader + Bh2 *BlockHeader + Counter string + Delegate string + Destination string + Fee string + GasLimit string + Kind Kind + Level int + ManagerPubkey string + Metadata *ContentsMetadata + Nonce string + Op1 *InlinedEndorsement + Op2 *InlinedEndorsement + Parameters *Parameters + Period int + Pkh string + Proposal string + Proposals []string + PublicKey string + Script Script + Secret string + Source string + StorageLimit string + func (c *Content) MarshalJSON() ([]byte, error) + func (c *Content) ToAccountActivation() AccountActivation + func (c *Content) ToBallot() Ballot + func (c *Content) ToDelegation() Delegation + func (c *Content) ToDoubleBakingEvidence() DoubleBakingEvidence + func (c *Content) ToDoubleEndorsementEvidence() DoubleEndorsementEvidence + func (c *Content) ToEndorsement() Endorsement + func (c *Content) ToOrigination() Origination + func (c *Content) ToProposal() Proposal + func (c *Content) ToReveal() Reveal + func (c *Content) ToSeedNonceRevelations() SeedNonceRevelation + func (c *Content) ToTransaction() Transaction + type Contents []Content + func (c Contents) Organize() OrganizedContents + type ContentsMetadata struct + BalanceUpdates []BalanceUpdates + Delegate string + InternalOperationResult []InternalOperationResults + OperationResults *OperationResults + Slots []int + type Contract struct + Balance string + Counter string + Delegate string + Script struct{ ... } + type ContractBalanceInput struct + BlockID BlockID + ContractID string + Cycle int + type ContractCounterInput struct + BlockID BlockID + ContractID string + Cycle int + type ContractDelegateInput struct + BlockID BlockID + ContractID string + Cycle int + type ContractEntrypointInput struct + BlockID BlockID + ContractID string + Entrypoint string + type ContractEntrypointsInput struct + BlockID BlockID + ContractID string + type ContractInput struct + BlockID BlockID + ContractID string + Cycle int + type ContractManagerKeyInput struct + BlockID BlockID + ContractID string + type ContractSaplingDiffInput struct + BlockID BlockID + ContractID string + Cycle int + OffsetCommitment int + OffsetNullifier int + type ContractScriptInput struct + BlockID BlockID + ContractID string + Cycle int + type ContractStorageInput struct + BlockID BlockID + ContractID string + Cycle int + type ContractsInput struct + BlockID BlockID + Cycle int + type CurrentLevel struct + Cycle int + CyclePosition int + ExpectedCommitment bool + Level int + LevelPosition int + VotingPeriod int + VotingPeriodPosition int + type CurrentLevelInput struct + BlockID BlockID + Offset int32 + type Cycle struct + BlockHash string + LastRoll []string + Nonces []string + RandomSeed string + RollSnapshot int + type Delegate struct + Balance string + Deactivated bool + DelegateContracts []string + DelegatedBalance string + FrozenBalance string + FrozenBalanceByCycle []struct{ ... } + GracePeriod int + StakingBalance string + type DelegateBalanceInput struct + BlockID BlockID + Cycle int + Delegate string + type DelegateDeactivatedInput struct + BlockID BlockID + Cycle int + Delegate string + type DelegateDelegatedBalanceInput struct + BlockID BlockID + Cycle int + Delegate string + type DelegateDelegatedContractsInput struct + BlockID BlockID + Cycle int + Delegate string + type DelegateFrozenBalanceByCycleInput struct + BlockID BlockID + Cycle int + Delegate string + type DelegateFrozenBalanceInput struct + BlockID BlockID + Cycle int + Delegate string + type DelegateGracePeriodInput struct + BlockID BlockID + Cycle int + Delegate string + type DelegateInput struct + BlockID BlockID + Cycle int + Delegate string + type DelegateStakingBalanceInput struct + BlockID BlockID + Cycle int + Delegate string + type DelegateVotingPowerInput struct + BlockID BlockID + Cycle int + Delegate string + type DelegatesInput struct + BlockID BlockID + Cycle int + type Delegation struct + Counter string + Delegate string + Fee string + GasLimit string + Kind Kind + Metadata *DelegationMetadata + Source string + StorageLimit string + func (d *Delegation) ToContent() Content + type DelegationMetadata struct + BalanceUpdates []BalanceUpdates + InternalOperationResults []InternalOperationResults + OperationResults OperationResultDelegation + type DoubleBakingEvidence struct + Bh1 *BlockHeader + Bh2 *BlockHeader + Kind Kind + Metadata *DoubleBakingEvidenceMetadata + func (d *DoubleBakingEvidence) ToContent() Content + type DoubleBakingEvidenceMetadata struct + BalanceUpdates []BalanceUpdates + type DoubleEndorsementEvidence struct + Kind Kind + Metadata *DoubleEndorsementEvidenceMetadata + Op1 *InlinedEndorsement + Op2 *InlinedEndorsement + func (d *DoubleEndorsementEvidence) ToContent() Content + type DoubleEndorsementEvidenceMetadata struct + BalanceUpdates []BalanceUpdates + type Endorsement struct + Kind Kind + Level int + Metadata *EndorsementMetadata + func (e *Endorsement) ToContent() Content + type EndorsementMetadata struct + BalanceUpdates []BalanceUpdates + Delegate string + Slots []int + type EndorsingOperation struct + Branch string + Contents []Content + Signature string + type EndorsingPower struct + ChainID string + EndorsementOperation EndorsingOperation + type EndorsingPowerInput struct + BlockID BlockID + Cycle int + EndorsingPower EndorsingPower + type EndorsingRights struct + Delegate string + EstimatedTime time.Time + Level int + Slots []int + type EndorsingRightsInput struct + BlockID BlockID + Cycle int + Delegate string + Level int + type Entrypoint struct + EntrypointType *json.RawMessage + type EntrypointBody struct + Entrypoint string + Script *json.RawMessage + type EntrypointInput struct + BlockID BlockID + Entrypoint EntrypointBody + type Entrypoints struct + EntrypointsFromScript *json.RawMessage + Unreachable []UnreachableEntrypoints + type EntrypointsBody struct + Script *json.RawMessage + type EntrypointsInput struct + BlockID BlockID + Entrypoints EntrypointsBody + type Error struct + Err string + Kind string + func (r *Error) Error() string + type Errors []Error + type FlattenedOperations []Operations + func (f *FlattenedOperations) UnmarshalJSON(b []byte) error + type ForgeBlockHeader struct + Block string + type ForgeBlockHeaderBody struct + Context string + Fitness []string + Level int + OperationsHash string + Predecessor string + Proto string + ProtocolData string + Timestamp time.Time + ValidationPass int + type ForgeBlockHeaderInput struct + BlockHeader ForgeBlockHeaderBody + BlockID BlockID + type ForgeOperationsInput struct + BlockIDHash BlockIDHash + Branch string + CheckRPCAddr string + Contents Contents + type FrozenBalanceByCycle struct + Cycle int + Deposit string + Fees string + Rewards string + type GetFA12AllowanceInput struct + BlockID BlockID + ChainID string + ContractViewAddress string + Cycle int + FA12Contract string + OwnerAddress string + Source string + SpenderAddress string + Testnet bool + type GetFA12BalanceInput struct + BlockID BlockID + ChainID string + ContractViewAddress string + Cycle int + FA12Contract string + OwnerAddress string + Source string + Testnet bool + type GetFA12SupplyInput struct + BlockID BlockID + ChainID string + ContractViewAddress string + Cycle int + FA12Contract string + Source string + Testnet bool + type Header struct + Context string + Fitness []string + Level int + OperationsHash string + Predecessor string + Priority int + ProofOfWorkNonce string + Proto int + SeedNonceHash string + Signature string + Timestamp time.Time + ValidationPass int + type HeaderShell struct + Context string + Fitness []string + Level int + OperationsHash string + Predecessor string + Proto int + Timestamp time.Time + ValidationPass int + type IFace interface + ActiveChains func() (*resty.Response, ActiveChains, error) + BakingRights func(input BakingRightsInput) (*resty.Response, []BakingRights, error) + BallotList func(blockID BlockID) (*resty.Response, BallotList, error) + Ballots func(blockID BlockID) (*resty.Response, Ballots, error) + BigMap func(input BigMapInput) (*resty.Response, error) + Block func(blockID BlockID) (*resty.Response, *Block, error) + CompletePrefix func(input CompletePrefixInput) (*resty.Response, []string, error) + Connections func() (*resty.Response, Connections, error) + Constants func(input ConstantsInput) (*resty.Response, Constants, error) + Contract func(input ContractInput) (*resty.Response, Contract, error) + ContractBalance func(input ContractBalanceInput) (*resty.Response, string, error) + ContractCounter func(input ContractCounterInput) (*resty.Response, int, error) + ContractDelegate func(input ContractDelegateInput) (*resty.Response, string, error) + ContractEntrypoint func(input ContractEntrypointInput) (*resty.Response, *json.RawMessage, error) + ContractEntrypoints func(input ContractEntrypointsInput) (*resty.Response, map[string]*json.RawMessage, error) + ContractManagerKey func(input ContractManagerKeyInput) (*resty.Response, string, error) + ContractSaplingDiff func(input ContractSaplingDiffInput) (*resty.Response, error) + ContractScript func(input ContractScriptInput) (*resty.Response, error) + ContractStorage func(input ContractStorageInput) (*resty.Response, error) + Contracts func(input ContractsInput) (*resty.Response, []string, error) + CurrentLevel func(input CurrentLevelInput) (*resty.Response, CurrentLevel, error) + CurrentPeriod func(blockID BlockID) (*resty.Response, VotingPeriod, error) + CurrentPeriodKind func(blockID BlockID) (*resty.Response, string, error) + CurrentProposal func(blockID BlockID) (*resty.Response, string, error) + CurrentQuorum func(blockID BlockID) (*resty.Response, int, error) + Cycle func(cycle int) (*resty.Response, Cycle, error) + Delegate func(input DelegateInput) (*resty.Response, Delegate, error) + DelegateBalance func(input DelegateBalanceInput) (*resty.Response, string, error) + DelegateDeactivated func(input DelegateDeactivatedInput) (*resty.Response, bool, error) + DelegateDelegatedBalance func(input DelegateDelegatedBalanceInput) (*resty.Response, string, error) + DelegateDelegatedContracts func(input DelegateDelegatedContractsInput) (*resty.Response, []string, error) + DelegateFrozenBalance func(input DelegateFrozenBalanceInput) (*resty.Response, string, error) + DelegateFrozenBalanceByCycle func(input DelegateFrozenBalanceByCycleInput) (*resty.Response, []FrozenBalanceByCycle, error) + DelegateGracePeriod func(input DelegateGracePeriodInput) (*resty.Response, int, error) + DelegateStakingBalance func(input DelegateStakingBalanceInput) (*resty.Response, string, error) + DelegateVotingPower func(input DelegateVotingPowerInput) (*resty.Response, int, error) + Delegates func(input DelegatesInput) (*resty.Response, []string, error) + EndorsingPower func(input EndorsingPowerInput) (*resty.Response, int, error) + EndorsingRights func(input EndorsingRightsInput) (*resty.Response, []EndorsingRights, error) + Entrypoint func(input EntrypointInput) (*resty.Response, Entrypoint, error) + Entrypoints func(input EntrypointsInput) (*resty.Response, Entrypoints, error) + ForgeBlockHeader func(input ForgeBlockHeaderInput) (*resty.Response, ForgeBlockHeader, error) + ForgeOperations func(input ForgeOperationsInput) (*resty.Response, string, error) + GetFA12Allowance func(input GetFA12AllowanceInput) (*resty.Response, string, error) + GetFA12Balance func(input GetFA12BalanceInput) (*resty.Response, string, error) + GetFA12Supply func(input GetFA12SupplyInput) (*resty.Response, string, error) + Hash func(blockID BlockID) (*resty.Response, string, error) + Header func(blockID BlockID) (*resty.Response, Header, error) + HeaderProtocolData func(blockID BlockID) (*resty.Response, ProtocolData, error) + HeaderProtocolDataRaw func(blockID BlockID) (*resty.Response, string, error) + HeaderRaw func(blockID BlockID) (*resty.Response, string, error) + HeaderShell func(blockID BlockID) (*resty.Response, HeaderShell, error) + InjectionBlock func(input InjectionBlockInput) (*resty.Response, error) + InjectionOperation func(input InjectionOperationInput) (*resty.Response, string, error) + LevelsInCurrentCycle func(input LevelsInCurrentCycleInput) (*resty.Response, LevelsInCurrentCycle, error) + Listings func(blockID BlockID) (*resty.Response, Listings, error) + LiveBlocks func(blockID BlockID) (*resty.Response, []string, error) + Metadata func(blockID BlockID) (*resty.Response, Metadata, error) + MetadataHash func(blockID BlockID) (*resty.Response, string, error) + MinimalValidTime func(input MinimalValidTimeInput) (*resty.Response, time.Time, error) + Nonces func(input NoncesInput) (*resty.Response, Nonces, error) + OperationHashes func(input OperationHashesInput) (*resty.Response, OperationHashes, error) + OperationMetadataHashes func(input OperationMetadataHashesInput) (*resty.Response, OperationMetadataHashes, error) + Operations func(input OperationsInput) (*resty.Response, FlattenedOperations, error) + OperationsMetadataHash func(blockID BlockID) (*resty.Response, string, error) + PackData func(input PackDataInput) (*resty.Response, PackedData, error) + ParseBlock func(input ParseBlockInput) (*resty.Response, BlockHeaderSignedContents, error) + ParseOperations func(input ParseOperationsInput) (*resty.Response, []Operations, error) + PreapplyBlock func(input PreapplyBlockInput) (*resty.Response, PreappliedBlock, error) + PreapplyOperations func(input PreapplyOperationsInput) (*resty.Response, []Operations, error) + Proposals func(blockID BlockID) (*resty.Response, Proposals, error) + Protocols func(blockID BlockID) (*resty.Response, Protocols, error) + RawBytes func(input RawBytesInput) (*resty.Response, error) + RequiredEndorsements func(input RequiredEndorsementsInput) (*resty.Response, int, error) + RunCode func(input RunCodeInput) (*resty.Response, RanCode, error) + RunOperation func(input RunOperationInput) (*resty.Response, Operations, error) + SaplingDiff func(input SaplingDiffInput) (*resty.Response, error) + Seed func(input SeedInput) (*resty.Response, string, error) + SuccessorPeriod func(blockID BlockID) (*resty.Response, VotingPeriod, error) + TotalVotingPower func(blockID BlockID) (*resty.Response, int, error) + TraceCode func(input TraceCodeInput) (*resty.Response, TracedCode, error) + TypecheckCode func(input TypeCheckcodeInput) (*resty.Response, TypecheckedCode, error) + TypecheckData func(input TypecheckDataInput) (*resty.Response, TypecheckedData, error) + type InjectionBlockInput struct + Async bool + Block *Block + ChainID string + Force bool + type InjectionOperationInput struct + Async bool + ChainID string + Operation string + type InlinedEndorsement struct + Branch string + Operations *InlinedEndorsementOperations + Signature string + type InlinedEndorsementOperations struct + Kind string + Level int + type IntArray []int + func (i *IntArray) MarshalJSON() ([]byte, error) + func (i *IntArray) UnmarshalJSON(data []byte) error + type InternalOperationResults struct + Amount string + Balance string + Delegate string + Destination string + Kind string + Nonce int + Parameters struct{ ... } + PublicKey string + Result OperationResult + Script ScriptedContracts + Source string + type Kind string + const ACTIVATEACCOUNT + const BALLOT + const DELEGATION + const DOUBLEBAKINGEVIDENCE + const DOUBLEENDORSEMENTEVIDENCE + const ENDORSEMENT + const ORIGINATION + const PROPOSALS + const REVEAL + const SEEDNONCEREVELATION + const TRANSACTION + type Level struct + Cycle int + CyclePosition int + ExpectedCommitment bool + Level int + LevelPosition int + VotingPeriod int + VotingPeriodPosition int + type LevelsInCurrentCycle struct + First int + Last int + type LevelsInCurrentCycleInput struct + BlockID BlockID + Offset int32 + type Listings []struct + type MaxOperationListLength struct + MaxOp int + MaxSize int + type Metadata struct + Baker string + BalanceUpdates []BalanceUpdates + ConsumedGas string + Deactivated []string + Level Level + MaxBlockHeaderLength int + MaxOperationDataLength int + MaxOperationListLength []MaxOperationListLength + MaxOperationsTTL int + NextProtocol string + NonceHash interface{} + Protocol string + TestChainStatus TestChainStatus + VotingPeriodKind string + type MinimalValidTimeInput struct + BlockID BlockID + EndorsingPower int + Priority int + type Nonces struct + Forgotten bool + Hash string + Nonce string + func (n *Nonces) UnmarshalJSON(data []byte) error + type NoncesInput struct + BlockID BlockID + Cycle int + Level int + type OperationHashes []string + func (o *OperationHashes) UnmarshalJSON(b []byte) error + type OperationHashesInput struct + BlockID BlockID + ListOffset string + OperationOffset string + type OperationMetadataHashes []string + func (o *OperationMetadataHashes) UnmarshalJSON(b []byte) error + type OperationMetadataHashesInput struct + BlockID BlockID + ListOffset string + OperationOffset string + type OperationResult struct + AllocatedDestinationContract bool + BalanceUpdates []BalanceUpdates + BigMapDiff BigMapDiffs + ConsumedGas string + Errors []ResultError + OriginatedContracts []string + Status string + Storage *json.RawMessage + StorageSize string + type OperationResultDelegation struct + ConsumedGas string + Errors []ResultError + Status string + type OperationResultOrigination struct + BalanceUpdates []BalanceUpdates + BigMapDiff BigMapDiffs + ConsumedGas string + Errors []ResultError + OriginatedContracts []string + PaidStorageSizeDiff string + Status string + StorageSize string + type OperationResultReveal struct + ConsumedGas string + Errors []ResultError + Status string + type OperationResultTransfer struct + AllocatedDestinationContract bool + BalanceUpdates []BalanceUpdates + BigMapDiff BigMapDiffs + ConsumedGas string + Errors []ResultError + OriginatedContracts []string + PaidStorageSizeDiff string + Status string + Storage *json.RawMessage + StorageSize string + type OperationResults struct + AllocatedDestinationContract bool + BalanceUpdates []BalanceUpdates + BigMapDiff BigMapDiffs + ConsumedGas string + Errors []ResultError + OriginatedContracts []string + PaidStorageSizeDiff string + Status string + Storage *json.RawMessage + StorageSize string + type Operations struct + Branch string + ChainID string + Contents Contents + Hash string + Protocol string + Signature string + type OperationsInput struct + BlockID BlockID + ListOffset string + OperationOffset string + type OrganizedBigMapDiff struct + Allocs []BigMapDiffAlloc + Copies []BigMapDiffCopy + Removals []BigMapDiffRemove + Updates []BigMapDiffUpdate + func (o *OrganizedBigMapDiff) ToBigMapDiffs() BigMapDiffs + type OrganizedContents struct + AccountActivations []AccountActivation + Ballots []Ballot + Delegations []Delegation + DoubleBakingEvidence []DoubleBakingEvidence + DoubleEndorsementEvidence []DoubleEndorsementEvidence + Endorsements []Endorsement + Originations []Origination + Proposals []Proposal + Reveals []Reveal + SeedNonceRevelations []SeedNonceRevelation + Transactions []Transaction + func (o *OrganizedContents) MarshalJSON() ([]byte, error) + func (o *OrganizedContents) ToContents() Contents + type Origination struct + Balance string + Counter string + Delegate string + Fee string + GasLimit string + Kind Kind + ManagerPubkey string + Metadata *OriginationMetadata + Script Script + Source string + StorageLimit string + func (o *Origination) ToContent() Content + type OriginationMetadata struct + BalanceUpdates []BalanceUpdates + InternalOperationResults []InternalOperationResults + OperationResults OperationResultOrigination + type PackDataBody struct + Data *json.RawMessage + Gas string + Type *json.RawMessage + type PackDataInput struct + BlockID BlockID + Data PackDataBody + type PackedData struct + Gas string + Packed string + type Parameters struct + Entrypoint string + Value *json.RawMessage + type ParseBlockInput struct + BlockHeader ForgeBlockHeaderBody + BlockID BlockID + type ParseOperationsBody struct + Branch string + Data string + type ParseOperationsInput struct + BlockID BlockID + CheckSignature bool + Operations []ParseOperationsBody + type PreappliedBlock struct + Operations []PreappliedBlockOperations + ShellHeader HeaderShell + type PreappliedBlockOperations struct + Applied []PreappliedBlockOperationsStatus + BranchDelayed []PreappliedBlockOperationsStatus + BranchRefused []PreappliedBlockOperationsStatus + Refused []PreappliedBlockOperationsStatus + type PreappliedBlockOperationsStatus struct + Branch string + Data string + Error ResultError + Hash string + type PreapplyBlockBody struct + Operations [][]Operations + ProtocolData PreapplyBlockProtocolData + type PreapplyBlockInput struct + Block PreapplyBlockBody + BlockID BlockID + Sort bool + Timestamp *time.Time + type PreapplyBlockProtocolData struct + Priority int + ProofOfWorkNonce string + Protocol string + SeedNonceHash string + Signature string + type PreapplyOperationsInput struct + BlockID BlockID + Operations []Operations + type Proposal struct + Kind Kind + Period int + Proposals []string + Source string + func (p *Proposal) ToContent() Content + type Proposals []struct + func (p *Proposals) UnmarshalJSON(b []byte) error + type ProtocolData struct + Priority int + ProofOfWorkNonce string + Protocol string + Signature string + type Protocols struct + NextProtocol string + Protocol string + type RanCode struct + BigMapDiffs []BigMapDiff + Operations []Operations + Storage *json.RawMessage + type RawBytesInput struct + BlockID BlockID + Cycle int + Depth int + type RequiredEndorsementsInput struct + BlockDelay int64 + BlockID BlockID + type ResultError struct + ContractCode *json.RawMessage + ContractHandle string + ID string + Kind string + Location int + Msg string + With *json.RawMessage + type Reveal struct + Counter string + Fee string + GasLimit string + Kind Kind + Metadata *RevealMetadata + PublicKey string + Source string + StorageLimit string + func (r *Reveal) ToContent() Content + type RevealMetadata struct + BalanceUpdates []BalanceUpdates + InternalOperationResults []InternalOperationResults + OperationResult OperationResultReveal + type RunCodeBody struct + Amount string + Balance string + ChainID string + Entrypoint string + Gas string + Input *json.RawMessage + Payer string + Script *json.RawMessage + Source string + Storage *json.RawMessage + type RunCodeInput struct + BlockID BlockID + Code RunCodeBody + type RunOperation struct + ChainID string + Operation Operations + type RunOperationInput struct + BlockID BlockID + Operation RunOperation + type SaplingDiffInput struct + BlockID BlockID + Cycle int + OffsetCommitment int + OffsetNullifier int + SaplingStateID string + type Script struct + Code *json.RawMessage + Storage *json.RawMessage + type ScriptedContracts struct + Code *json.RawMessage + Storage *json.RawMessage + type SeedInput struct + BlockID BlockID + Cycle int + type SeedNonceRevelation struct + Kind Kind + Level int + Metadata *SeedNonceRevelationMetadata + Nonce string + func (s *SeedNonceRevelation) ToContent() Content + type SeedNonceRevelationMetadata struct + BalanceUpdates []BalanceUpdates + type Stack struct + Annot string + Item *json.RawMessage + type TestChainStatus struct + ChainID string + Expiration time.Time + Genesis string + Protocol string + Status string + type Trace struct + Gas string + Location int + Stack []Stack + type TraceCodeInput struct + BlockID BlockID + Code RunCodeBody + type TracedCode struct + Trace Trace + type Transaction struct + Amount string + Counter string + Destination string + Fee string + GasLimit string + Kind Kind + Metadata *TransactionMetadata + Parameters *Parameters + Source string + StorageLimit string + func (t *Transaction) ToContent() Content + type TransactionMetadata struct + BalanceUpdates []BalanceUpdates + InternalOperationResults []InternalOperationResults + OperationResult OperationResultTransfer + type TypeCheckcodeInput struct + BlockID BlockID + Code TypecheckCodeBody + type TypecheckCodeBody struct + Gas string + Legacy bool + Program *json.RawMessage + type TypecheckDataBody struct + Data *json.RawMessage + Gas string + Legacy bool + Type *json.RawMessage + type TypecheckDataInput struct + BlockID BlockID + Data TypecheckDataBody + type TypecheckedCode struct + Gas string + TypeMap []struct{ ... } + type TypecheckedData struct + Gas string + type UnreachableEntrypoints struct + Path []*json.RawMessage + type VotingPeriod struct + Position int + Remaining int + VotingPeriod struct{ ... } Other modules containing this package github.com/pitittatou/go-tezos/v6