package
3.0.2
Repository: https://github.com/goat-systems/go-tezos.git
Documentation: pkg.go.dev

# Functions

ForgeScriptExpressionForAddress - A helper to forge a source account for a big_map script_exp */.
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.
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: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/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: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
BakingRightsInput is the input for the goTezos.BakingRights function.
BalanceInput is the input for the gotezos.Balance function.
BalanceUpdates represents the balance updates in a Tezos block RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
Ballot represents a Ballot in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/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: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
BigMapDiffCopy represents $contract.big_map_diff in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
BigMapDiffRemove represents $contract.big_map_diff in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
BigMapDiffUpdate represents $contract.big_map_diff in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
BigMapInput is the input for the goTezos.BigMap function.
Block represents a Tezos block.
BlockHeader represents $block_header.alpha.full_header in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
BlocksInput is the input for the goTezos.Blocks function.
Bootstrap represents the bootstrap RPC.
Checkpoint represents a Tezos checkpoint.
Client contains a client (http.Client), network contents, and the host of the node.
Constants represents the constants RPC.
Content is an element of Contents.
ContentsMetadata represents metadata in contents in Tezos operations.
ContractStorageInput is the input for the client.ContractStorage() function.
CounterInput is the input for the client.Counter function.
Cycle represents the cycle RPC.
Delegate represents the frozen delegate RPC on the tezos network.
DelegatedContractsInput is the input for the goTezos.DelegatedContractsInput function.
DelegateInput is the input for the client.Delegate() function.
DelegatesInput is the input for the goTezos.Delegates function.
Delegation represents a Delegation in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
DelegationMetadata represents the metadata Delegation in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/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: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/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: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/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: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/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: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
Endorsement represents an endorsement in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/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: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
EndorsingRightsInput is the input for the goTezos.EndorsingRights function.
Error represents and RPC error */.
ForgeOperationInput is the input for the client.ForgeOperation function.
FrozenBalance represents the frozen balance RPC on the tezos network.
FrozenBalanceInput is the input for the client.Delegate() function.
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: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
InjectionBlockInput is the input for the goTezos.InjectionBlock function.
InjectionOperationInput is the input for the goTezos.InjectionOperation function.
InlinedEndorsement represents $inlined.endorsement in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
InlinedEndorsementOperations represents operations in $inlined.endorsement in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
InternalOperationResults represents an InternalOperationResults in the $operation.alpha.internal_operation_result in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
InvalidBlock represents Tezos invalid blocks.
Level represents the level in a Tezos block RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
MaxOperationListLength represents the maxoperationlistlength in a Tezos block RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
Metadata represents the metadata in a Tezos block RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
OperationResult represents the operation result in a Tezos block RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
OperationResultDelegation represents $operation.alpha.operation_result.delegation in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
OperationResultOrigination represents $operation.alpha.operation_result.origination in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
OperationResultReveal represents an OperationResultReveal in the $operation.alpha.operation_result.reveal in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/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: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
Operations represents the operations in a Tezos block RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
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: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/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: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
Parameters represents parameters in Tezos operations.
PreapplyOperationsInput is the input for the PreapplyOperations.
Proposal represents a Proposal in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
ResultError are errors reported by OperationResults.
Reveal represents a Reveal in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/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: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
RunOperation is a sub structure of RunOperationInput.
RunOperationInput is the input for the rpc.RunOperation function.
Script represents the script in an Origination in the $operation.alpha.operation_contents_and_result -> $scripted.contracts in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
ScriptedContracts represents $scripted.contracts in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
SeedNonceRevelation represents an Seed_nonce_revelation in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/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: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
StakingBalanceInput is the input for the goTezos.StakingBalance function.
TestChainStatus represents the testchainstatus in a Tezos block RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
Transaction represents a Transaction in the $operation.alpha.operation_contents_and_result in the tezos block schema RPC: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/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: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
UnforgeOperation is a sub structure of UnforgeOperationWithRPCInput.
UnforgeOperationInput is the input for the goTezos.UnforgeOperationWithRPC function.
UserActivatedProtocolOverrides represents user activated protocl overrides on the Tezos network.
Version represents the Version RPC.

# Interfaces

IFace is an interface mocking a GoTezos object.

# Type aliases

ActiveChains represents the active chains RPC.
BakingRights represents the baking rights RPC 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: /chains/<chain_id>/blocks/<block_id> (<dyn>) Link: https://tezos.gitlab.io/api/rpc.html#get-block-id */.
Connections represents the connections RPC.
Contents represents the contents in Tezos operations.
EndorsingRights represents the endorsing rights RPC on the tezos network.
Errors represents multiple RPCError(s).s */.
IntArray implements json.Marshaler so that a string of 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.
Proposals represents a list of proposals with number of supporters.
ScriptExpression is a string that will eventually be forged into a script_expression Link: https://tezos.gitlab.io/api/rpc.html#get-block-id-context-big-maps-big-map-id-script-expr */.