package
4.1.6
Repository: https://github.com/bakingbacon/go-tezos.git
Documentation: pkg.go.dev

# Functions

New returns a pointer to a Client and initializes the rpc configuration with the host's Tezos netowrk constants.

# Constants

ACTIVATEACCOUNT kind.
ALLOC is a big_map_diff action.
BALLOT kind.
COPY is a big_map_diff action.
DELEGATION kind.
DOUBLEBAKINGEVIDENCE kind.
DOUBLEENDORSEMENTEVIDENCE kind.
ENDORSEMENT kind.
ENDORSEMENT WITH SLOT kind.
MUTEZ is mutez on the tezos network.
ORIGINATION kind.
PROPOSALS kind.
REMOVE is a big_map_diff action.
REVEAL kind.
SEEDNONCEREVELATION kind.
TRANSACTION kind.
UPDATE is a big_map_diff action.

# Structs

AccountActivation represents an Activate_account in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
AccountActivationMetadata represents the metadata for Activate_account in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
BakingRights represents the baking rights RPC on the tezos network.
BakingRightsInput is the input for the BakingRights function.
BalanceUpdates represents the balance updates in a Tezos block RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
Ballot represents a Ballot in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
Ballots represents a ballot total.
BigMapDiff is an element of BigMapDiffs.
BigMapDiffAlloc represents $contract.big_map_diff in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
BigMapDiffCopy represents $contract.big_map_diff in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
BigMapDiffRemove represents $contract.big_map_diff in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
BigMapDiffUpdate represents $contract.big_map_diff in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
BigMapInput is the input for the BigMap function.
Block represents a Tezos block.
BlockHeader represents $block_header.alpha.full_header in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
BlockHeaderSignedContents is signed header contents returend from parsing a block RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-parse-block */.
BlockIDHead is the BlockID for the head block.
BlockIDPredecessor is a BlockID equivilent to hash~<diff_level>.
Client contains a client (http.Client), network contents, and the host of the node.
CompletePrefixInput is the input for the Prefix function.
Constants represents the network constants.
ConstantsInput is the input for the Constants function.
Content is an element of Contents.
ContentsMetadata represents metadata in contents in Tezos operations.
Contract represents a contract.
ContractBalanceInput is the input for the Balance function.
ContractCounterInput is the input for the Counter function.
ContractDelegateInput is the input for the ContractDelegate function.
ContractEntrypointInput is the input for the ContractDelegate function.
ContractEntrypointsInput is the input for the ContractDelegate function.
ContractInput is the input for the Contract function.
ContractManagerKeyInput is the input for the ContractManagerKey function.
ContractSaplingDiffInput is the input for the ContractSaplingDiff function.
ContractScriptInput is the input for the ContractScript function.
ContractsInput is the input for the Contracts function.
ContractStorageInput is the input for the ContractStorage function.
CurrentLevel is the the level of the interrogated block, or the one of a block located `offset` blocks after in the chain (or before when negative).
CurrentLevelInput is the input to the CurrentLevel function.
Cycle gets information about a cycle.
Delegate represents the frozen delegate RPC on the tezos network.
DelegateBalanceInput is the input for the DelegateBalance function.
DelegateDeactivatedInput is the input for the DelegateDeactivated function.
DelegateDelegatedBalanceInput is the input for the DelegateDelegatedBalance function.
DelegateDelegatedContractsInput is the input for the DelegateDelegatedContracts function.
DelegateFrozenBalanceByCycleInput is the input for the DelegateFrozenBalanceByCycle function.
DelegateFrozenBalanceInput is the input for the DelegateFrozenBalance function.
DelegateGracePeriodInput is the input for the DelegateGracePeriod function.
DelegateInput is the input for the Delegate function.
DelegatesInput is the input for the Delegates function.
DelegateStakingBalanceInput is the input for the DelegateStakingBalance function.
DelegateVotingPowerInput is the input for the DelegateVotingPower function.
Delegation represents a Delegation in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
DelegationMetadata represents the metadata Delegation in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
DoubleBakingEvidence represents an Double_baking_evidence in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
DoubleBakingEvidenceMetadata represents the metadata of Double_baking_evidence in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
DoubleEndorsementEvidence represents an Double_endorsement_evidence in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
DoubleEndorsementEvidenceMetadata represents the metadata for Double_endorsement_evidence in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
Endorsement represents an endorsement in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
EndorsementMetadata represents the metadata of an endorsement in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
EndorsementWithSlot represents a Florence 009 endorsement in the tezos block schema Docs: http://doc.tzalpha.net/protocols/009_florence.html#endorsements-now-checked-in-linear-time-attention-indexers */.
EndorsingOperation the body of the operation for endorsing power Path ../<block_id>/endorsing_power (POST) RPC https://tezos.gitlab.io/008/rpc.html#post-block-id-endorsing-power */.
EndorsingPower the body of the operation for endorsing power Path ../<block_id>/endorsing_power (POST) RPC https://tezos.gitlab.io/008/rpc.html#post-block-id-endorsing-power */.
EndorsingPowerInput is the input for the EndorsingPower function Path ../<block_id>/endorsing_power (POST) RPC https://tezos.gitlab.io/008/rpc.html#post-block-id-endorsing-power */.
EndorsingRights represents the endorsing rights RPC on the tezos network.
EndorsingRightsInput is the input for the EndorsingRights function.
Entrypoint is the return value for the Entrypoint function and contains the entrypoint type RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-entrypoint */.
EntrypointBody is the entrypoint body for the Entrypoint function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-entrypoint */.
EntrypointInput is the input for the Entrypoint function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-entrypoint */.
Entrypoints is the return value for the Entrypoints function and contains the entrypoints for a script RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-entrypoints */.
EntrypointsBody is the entrypoints body for the Entrypoints function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-entrypoints */.
EntrypointsInput is the input for the Entrypoints function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-entrypoints */.
Error represents and RPC error */.
ForgeBlockHeader is the block header received from forging RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-forge-block-header */.
ForgeBlockHeaderBody is the block header to forge RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-forge-block-header */.
ForgeBlockHeaderInput is the input for the function ForgeBlockHeader RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-forge-block-header */.
ForgeOperationsInput is the input for the function ForgeOperation RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-forge-operations */.
FrozenBalanceByCycle represents the frozen balance of a delegate at a cycle.
GetFA12AllowanceInput is the input for the goTezos.GetFA12Allowance function.
GetFA12BalanceInput is the input for the goTezos.GetFA12Balance function.
GetFA12SupplyInput is the input for the goTezos.GetFA12Supply function.
Header represents the header in a Tezos block RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
HeaderShell is the shell-specific fragment of the block header.
InjectionBlockInput is the input for the InjectionBlock function.
InjectionOperationInput is the input for the InjectionOperation function.
InlinedEndorsement represents $inlined.endorsement in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
InlinedEndorsementOperations represents operations in $inlined.endorsement in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
InternalOperationResults represents an InternalOperationResults in the $operation.alpha.internal_operation_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
Level represents the level in a Tezos block RPC: https://tezos.gitlab.io/010/rpc.html#get-block-id */.
LevelsInCurrentCycle is the levels of a cycle RPC: https://tezos.gitlab.io/010/rpc.html#get-block-id-helpers-levels-in-current-cycle */.
LevelsInCurrentCycleInput is the input for the LevelsInCurrentCycle function RPC: https://tezos.gitlab.io/010/rpc.html#get-block-id-helpers-levels-in-current-cycle */.
MaxOperationListLength represents the maxoperationlistlength in a Tezos block RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
Mempool represents the contents of the Tezos mempool.
MempoolInput is the input for the goTezos.Mempool function.
Metadata represents the metadata in a Tezos block RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
MinimalValidTimeInput is the input for the MinimalValidTime function RPC https://tezos.gitlab.io/008/rpc.html#get-block-id-minimal-valid-time */.
Nonces represents nonces in the RPC RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id-context-nonces-block-level */.
NoncesInput is the input for the Nonces function.
OperationHashesInput is the input to the OperationHashes function RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id-operation-hashes https://tezos.gitlab.io/008/rpc.html#get-block-id-operation-hashes-list-offset https://tezos.gitlab.io/008/rpc.html#get-block-id-operation-hashes-list-offset-operation-offset */.
OperationMetadataHashesInput is the operations metadata hashes in the OperationMetadataHashes function RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id-operation-hashes https://tezos.gitlab.io/008/rpc.html#get-block-id-operation-hashes-list-offset https://tezos.gitlab.io/008/rpc.html#get-block-id-operation-hashes-list-offset-operation-offset */.
OperationResult represents the operation result in a Tezos block RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
OperationResultDelegation represents $operation.alpha.operation_result.delegation in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
OperationResultOrigination represents $operation.alpha.operation_result.origination in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
OperationResultReveal represents an OperationResultReveal in the $operation.alpha.operation_result.reveal in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
OperationResults represents the operation_results in Tezos operations.
OperationResultTransfer represents $operation.alpha.operation_result.transaction in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
Operations represents the operations in a Tezos block RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
OperationsInput is the input for the Operations function RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id-operations https://tezos.gitlab.io/008/rpc.html#get-block-id-operations-list-offset https://tezos.gitlab.io/008/rpc.html#get-block-id-operations-list-offset-operation-offset */.
OrganizedBigMapDiff represents a BigMapDiffs organized by kind.
OrganizedContents represents the contents in Tezos operations orginized by kind.
Origination represents a Origination in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
OriginationMetadata represents the metadata of Origination in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
PackDataBody is the data to pack for the PackData function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-pack-data */.
PackDataInput is the input for the PackData function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-pack-data */.
PackedData is the packed data for the PackData function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-pack-data */.
Parameters represents parameters in Tezos operations.
ParseBlockInput is the input for the function ParseBlock function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-parse-block */.
ParseOperationsBody is the operations you wish to parse RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-parse-operations */.
ParseOperationsInput is the input for the ParseOperations function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-parse-operations */.
PreappliedBlock is the preapplied block returned by the PreapplyBlock function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-preapply-block */.
PreappliedBlockOperations is the preapplied block operations returned by the PreapplyBlock function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-preapply-block */.
PreappliedBlockOperationsStatus is the preapplied block operation status returned by the PreapplyBlock function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-preapply-block */.
PreapplyBlockBody is the block to preapply in the PreapplyBlock function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-preapply-block */.
PreapplyBlockInput is the input for the PreapplyBlock function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-preapply-block */.
PreapplyBlockProtocolData is the protocol data of the block to preapply in the PreapplyBlock function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-preapply-block */.
PreapplyOperationsInput is the input for the PreapplyOperations function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-preapply-operations */.
Proposal represents a Proposal in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
ProtocolData is the version-specific fragment of the block header.
Protocols is the current and next protocol.
RanCode is the response to running code with the RunCode function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-run-code */.
RawBytesInput is the input for the RawBytes function.
RequiredEndorsementsInput is the input for RequiredEndorsements functions.
ResultError are errors reported by OperationResults.
Reveal represents a Reveal in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
RevealMetadata represents the metadata for Reveal in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
RunCodeBody is the body of the RunCode RPC RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-run-code */.
RunCodeInput is the input for the RunCode function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-run-code */.
RunOperation is the operation to run in the RunOperation function.
RunOperationInput is the input for the RunOperation function.
SaplingDiffInput is the input for the SaplingDiff function.
Script represents the script in an Origination in the $operation.alpha.operation_contents_and_result -> $scripted.contracts in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
ScriptedContracts represents $scripted.contracts in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
SeedInput is the input for the Seed function.
SeedNonceRevelation represents an Seed_nonce_revelation in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
SeedNonceRevelationMetadata represents the metadata for Seed_nonce_revelation in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
Stack is a stack in a trace in traced code returned from the TraceCode function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-trace-code */.
TestChainStatus represents the testchainstatus in a Tezos block RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
Trace is a trace in traced code returned from the TraceCode function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-trace-code */.
TraceCodeInput is the input for TraceCode function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-trace-code */.
TracedCode is traced code returned from the TraceCode function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-trace-code */.
Transaction represents a Transaction in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
TransactionMetadata represents the metadata of Transaction in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
TypecheckCodeBody is body for the input for the TypecheckCode functions RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-typecheck-code */.
TypeCheckcodeInput is the input for the TypecheckCode functions RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-typecheck-code */.
TypecheckDataBody is body for the input for the TypecheckData functions RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-typecheck-data */.
TypecheckDataInput is the input for the TypecheckData functions RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-typecheck-data */.
TypecheckedCode is typechecked code returned by the TypecheckCode function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-typecheck-code */.
TypecheckedData is body for the input for the TypecheckData functions RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-typecheck-data */.
UnreachableEntrypoints is the unreachable entrypoints in theEntrypoints function RPC: https://tezos.gitlab.io/010/rpc.html#post-block-id-helpers-scripts-entrypoints */.
VotingPeriod is the the voting period (index, kind, starting position) and related information (position, remaining) of the interrogated block.

# Interfaces

BlockID represents an ID for a Block.
IFace is an interface mocking a GoTezos object.

# Type aliases

ActiveChains is the active chains on the tezos network.
BallotList represents a list of casted ballots in a block.
BigMapDiffAction is an Action in a BigMapDiff.
BigMapDiffs represents $contract.big_map_diff in the tezos block schema RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id */.
BlockIDHash is the BlockID for a specific hash.
BlockIDHeadPredecessor is a BlockID equivilent to head~<diff_level>.
BlockIDLevel is the BlockID for a specific level.
Connections is the network connections of a tezos node.
Contents represents the contents in Tezos operations.
Errors represents multiple RPCError(s).s */.
FlattenedOperations is Opperations expressed in a single slice RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id-operations https://tezos.gitlab.io/008/rpc.html#get-block-id-operations-list-offset https://tezos.gitlab.io/008/rpc.html#get-block-id-operations-list-offset-operation-offset */.
IntArray implements json.Marshaler so that a slice of string-ints can be a slice of ints.
Kind is a contents kind.
Listings represents a list of delegates with their voting weight, in number of rolls.
OperationHashes is the operations hashes in the OperationHashes function RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id-operation-hashes https://tezos.gitlab.io/008/rpc.html#get-block-id-operation-hashes-list-offset https://tezos.gitlab.io/008/rpc.html#get-block-id-operation-hashes-list-offset-operation-offset */.
OperationMetadataHashes is the operations hashes in the OperationMetadataHashes function RPC: https://tezos.gitlab.io/008/rpc.html#get-block-id-operation-hashes https://tezos.gitlab.io/008/rpc.html#get-block-id-operation-hashes-list-offset https://tezos.gitlab.io/008/rpc.html#get-block-id-operation-hashes-list-offset-operation-offset */.
OperationsAlt represents a JSON array containing an opHash at index 0, and an Operation object at index 1.
Proposals is the list of proposals with number of supporters.