Documentation ¶
Index ¶
- type API
- func (tzkt *API) AccountCounter(ctx context.Context, address string) (uint64, error)
- func (tzkt *API) AccountsCount(ctx context.Context, filters map[string]string) (uint64, error)
- func (tzkt *API) BuildContractParameters(ctx context.Context, contract, entrypoint string, parameters interface{}) ([]byte, error)
- func (tzkt *API) GetAccountsMetadata(ctx context.Context, filters map[string]string) ([]data.AccountMetadata, error)
- func (tzkt *API) GetActivations(ctx context.Context, filters map[string]string) (operations []data.Activation, err error)
- func (tzkt *API) GetBakings(ctx context.Context, filters map[string]string) (operations []data.Baking, err error)
- func (tzkt *API) GetBallots(ctx context.Context, filters map[string]string) (operations []data.Ballot, err error)
- func (tzkt *API) GetBigmapByID(ctx context.Context, id uint64, filters map[string]string) (response data.BigMap, err error)
- func (tzkt *API) GetBigmapKey(ctx context.Context, id uint64, key string, filters map[string]string) (response data.BigMapKey, err error)
- func (tzkt *API) GetBigmapKeyUpdates(ctx context.Context, id uint64, key string, filters map[string]string) (response []data.BigMapKeyUpdate, err error)
- func (tzkt *API) GetBigmapKeys(ctx context.Context, id uint64, filters map[string]string) (response []data.BigMapKey, err error)
- func (tzkt *API) GetBigmapUpdates(ctx context.Context, filters map[string]string) (response []data.BigMapUpdate, err error)
- func (tzkt *API) GetBigmaps(ctx context.Context, filters map[string]string) (response []data.BigMap, err error)
- func (tzkt *API) GetBigmapsCount(ctx context.Context) (uint64, error)
- func (tzkt *API) GetBlock(ctx context.Context, level uint64) (b data.Block, err error)
- func (tzkt *API) GetBlocks(ctx context.Context, filters map[string]string) (b []data.Block, err error)
- func (tzkt *API) GetContractByAddress(ctx context.Context, address string) (response data.Contract, err error)
- func (tzkt *API) GetContractJSONSchema(ctx context.Context, address string) (response data.ContractJSONSchema, err error)
- func (tzkt *API) GetContractStorage(ctx context.Context, address string, output interface{}) error
- func (tzkt *API) GetDelegateByAddress(ctx context.Context, address string) (delegate data.Delegate, err error)
- func (tzkt *API) GetDelegates(ctx context.Context, filters map[string]string) (delegates []data.Delegate, err error)
- func (tzkt *API) GetDelegatesCount(ctx context.Context) (uint64, error)
- func (tzkt *API) GetDelegations(ctx context.Context, filters map[string]string) (operations []data.Delegation, err error)
- func (tzkt *API) GetDoubleBakings(ctx context.Context, filters map[string]string) (operations []data.DoubleBaking, err error)
- func (tzkt *API) GetDoubleEndorsings(ctx context.Context, filters map[string]string) (operations []data.DoubleEndorsing, err error)
- func (tzkt *API) GetDoublePreendorsings(ctx context.Context, filters map[string]string) (operations []data.DoublePreendorsing, err error)
- func (tzkt *API) GetEndorsements(ctx context.Context, filters map[string]string) (operations []data.Endorsement, err error)
- func (tzkt *API) GetEndorsingRewards(ctx context.Context, filters map[string]string) (operations []data.EndorsingReward, err error)
- func (tzkt *API) GetHead(ctx context.Context) (head data.Head, err error)
- func (tzkt *API) GetIncreasePaidStorage(ctx context.Context, filters map[string]string) (operations []data.IncreasePaidStorage, err error)
- func (tzkt *API) GetMigrations(ctx context.Context, filters map[string]string) (operations []data.Migration, err error)
- func (tzkt *API) GetNonceRevelations(ctx context.Context, filters map[string]string) (operations []data.NonceRevelation, err error)
- func (tzkt *API) GetOperationsByHash(ctx context.Context, hash string, filters map[string]string) (operations []data.Operation, err error)
- func (tzkt *API) GetOriginations(ctx context.Context, filters map[string]string) (operations []data.Origination, err error)
- func (tzkt *API) GetPreendorsement(ctx context.Context, filters map[string]string) (operations []data.Preendorsement, err error)
- func (tzkt *API) GetProposals(ctx context.Context, filters map[string]string) (operations []data.Proposal, err error)
- func (tzkt *API) GetRegisterConstants(ctx context.Context, filters map[string]string) (operations []data.RegisterConstant, err error)
- func (tzkt *API) GetReveals(ctx context.Context, filters map[string]string) (operations []data.Reveal, err error)
- func (tzkt *API) GetRevelationPenalties(ctx context.Context, filters map[string]string) (operations []data.RevelationPenalty, err error)
- func (tzkt *API) GetRights(ctx context.Context, filters map[string]string) (rights []data.Right, err error)
- func (tzkt *API) GetSetDepositsLimit(ctx context.Context, filters map[string]string) (operations []data.SetDepositsLimit, err error)
- func (tzkt *API) GetTokenTransfers(ctx context.Context, filters map[string]string) (transfers []data.Transfer, err error)
- func (tzkt *API) GetTokens(ctx context.Context, filters map[string]string) (tokens []data.Token, err error)
- func (tzkt *API) GetTransactions(ctx context.Context, filters map[string]string) (operations []data.Transaction, err error)
- func (tzkt *API) GetTransactionsByHash(ctx context.Context, hash string, filters map[string]string) (operations []data.Transaction, err error)
- func (tzkt *API) GetTransferTicket(ctx context.Context, filters map[string]string) (operations []data.TransferTicket, err error)
- func (tzkt *API) GetTxRollupCommit(ctx context.Context, filters map[string]string) (operations []data.TxRollupCommit, err error)
- func (tzkt *API) GetTxRollupDispatchTicket(ctx context.Context, filters map[string]string) (operations []data.TxRollupDispatchTicket, err error)
- func (tzkt *API) GetTxRollupFinalizeCommitment(ctx context.Context, filters map[string]string) (operations []data.TxRollupFinalizeCommitment, err error)
- func (tzkt *API) GetTxRollupOrigination(ctx context.Context, filters map[string]string) (operations []data.TxRollupOrigination, err error)
- func (tzkt *API) GetTxRollupRejection(ctx context.Context, filters map[string]string) (operations []data.TxRollupRejection, err error)
- func (tzkt *API) GetTxRollupRemoveCommitment(ctx context.Context, filters map[string]string) (operations []data.TxRollupRemoveCommitment, err error)
- func (tzkt *API) GetTxRollupReturnBond(ctx context.Context, filters map[string]string) (operations []data.TxRollupReturnBond, err error)
- func (tzkt *API) GetTxRollupSubmitBatch(ctx context.Context, filters map[string]string) (operations []data.TxRollupSubmitBatch, err error)
- func (tzkt *API) GetVdfRevelations(ctx context.Context, filters map[string]string) (operations []data.VdfRevelation, err error)
- func (tzkt *API) ListContracts(ctx context.Context, filters map[string]string) (response []data.Contract, err error)
- func (tzkt *API) Protocols(ctx context.Context, args map[string]string) (protocols []data.Protocol, err error)
- func (tzkt *API) Statistics(ctx context.Context, filters map[string]string) (stats []data.Statistics, err error)
- func (tzkt *API) StatisticsCurrent(ctx context.Context, filters map[string]string) (stats data.Statistics, err error)
- func (tzkt *API) StatisticsCyclic(ctx context.Context, filters map[string]string) (stats []data.Statistics, err error)
- func (tzkt *API) StatisticsDaily(ctx context.Context, filters map[string]string) (stats []data.Statistics, err error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API -
func (*API) AccountCounter ¶ added in v0.2.12
AccountCounter - Returns account counter
func (*API) AccountsCount ¶ added in v0.2.16
AccountCounter - Returns a number of accounts.
func (*API) BuildContractParameters ¶ added in v0.1.40
func (tzkt *API) BuildContractParameters(ctx context.Context, contract, entrypoint string, parameters interface{}) ([]byte, error)
BuildContractParameters -
func (*API) GetAccountsMetadata ¶ added in v0.2.8
func (tzkt *API) GetAccountsMetadata(ctx context.Context, filters map[string]string) ([]data.AccountMetadata, error)
GetAccountsMetadata -
func (*API) GetActivations ¶
func (tzkt *API) GetActivations(ctx context.Context, filters map[string]string) (operations []data.Activation, err error)
GetActivations -
func (*API) GetBakings ¶ added in v0.2.15
func (tzkt *API) GetBakings(ctx context.Context, filters map[string]string) (operations []data.Baking, err error)
GetBakings -
func (*API) GetBallots ¶
func (tzkt *API) GetBallots(ctx context.Context, filters map[string]string) (operations []data.Ballot, err error)
GetBallots -
func (*API) GetBigmapByID ¶
func (tzkt *API) GetBigmapByID(ctx context.Context, id uint64, filters map[string]string) (response data.BigMap, err error)
GetBigmapByID -
func (*API) GetBigmapKey ¶
func (tzkt *API) GetBigmapKey(ctx context.Context, id uint64, key string, filters map[string]string) (response data.BigMapKey, err error)
GetBigmapKey -
func (*API) GetBigmapKeyUpdates ¶
func (tzkt *API) GetBigmapKeyUpdates(ctx context.Context, id uint64, key string, filters map[string]string) (response []data.BigMapKeyUpdate, err error)
GetBigmapKeyUpdates -
func (*API) GetBigmapKeys ¶
func (tzkt *API) GetBigmapKeys(ctx context.Context, id uint64, filters map[string]string) (response []data.BigMapKey, err error)
GetBigmapKeys -
func (*API) GetBigmapUpdates ¶
func (tzkt *API) GetBigmapUpdates(ctx context.Context, filters map[string]string) (response []data.BigMapUpdate, err error)
GetBigmapUpdates -
func (*API) GetBigmaps ¶
func (tzkt *API) GetBigmaps(ctx context.Context, filters map[string]string) (response []data.BigMap, err error)
GetBigmaps -
func (*API) GetBigmapsCount ¶
GetBigmapsCount -
func (*API) GetBlocks ¶
func (tzkt *API) GetBlocks(ctx context.Context, filters map[string]string) (b []data.Block, err error)
GetBlocks -
func (*API) GetContractByAddress ¶ added in v0.2.21
func (tzkt *API) GetContractByAddress(ctx context.Context, address string) (response data.Contract, err error)
GetContractByAddress -
func (*API) GetContractJSONSchema ¶ added in v0.1.39
func (tzkt *API) GetContractJSONSchema(ctx context.Context, address string) (response data.ContractJSONSchema, err error)
GetContractJSONSchema -
func (*API) GetContractStorage ¶ added in v0.1.39
GetContractStorage -
func (*API) GetDelegateByAddress ¶ added in v0.1.1
func (tzkt *API) GetDelegateByAddress(ctx context.Context, address string) (delegate data.Delegate, err error)
GetDelegateByAddress -
func (*API) GetDelegates ¶ added in v0.1.1
func (tzkt *API) GetDelegates(ctx context.Context, filters map[string]string) (delegates []data.Delegate, err error)
GetDelegates -
func (*API) GetDelegatesCount ¶ added in v0.1.1
GetDelegatesCount -
func (*API) GetDelegations ¶
func (tzkt *API) GetDelegations(ctx context.Context, filters map[string]string) (operations []data.Delegation, err error)
GetDelegations -
func (*API) GetDoubleBakings ¶
func (tzkt *API) GetDoubleBakings(ctx context.Context, filters map[string]string) (operations []data.DoubleBaking, err error)
GetDoubleBakings -
func (*API) GetDoubleEndorsings ¶
func (tzkt *API) GetDoubleEndorsings(ctx context.Context, filters map[string]string) (operations []data.DoubleEndorsing, err error)
GetDoubleEndorsings -
func (*API) GetDoublePreendorsings ¶ added in v0.2.15
func (tzkt *API) GetDoublePreendorsings(ctx context.Context, filters map[string]string) (operations []data.DoublePreendorsing, err error)
GetDoublePreendorsings -
func (*API) GetEndorsements ¶
func (tzkt *API) GetEndorsements(ctx context.Context, filters map[string]string) (operations []data.Endorsement, err error)
GetEndorsements -
func (*API) GetEndorsingRewards ¶ added in v0.2.15
func (tzkt *API) GetEndorsingRewards(ctx context.Context, filters map[string]string) (operations []data.EndorsingReward, err error)
GetEndorsingRewards -
func (*API) GetIncreasePaidStorage ¶ added in v0.2.22
func (tzkt *API) GetIncreasePaidStorage(ctx context.Context, filters map[string]string) (operations []data.IncreasePaidStorage, err error)
GetIncreasePaidStorage -
func (*API) GetMigrations ¶ added in v0.2.7
func (tzkt *API) GetMigrations(ctx context.Context, filters map[string]string) (operations []data.Migration, err error)
GetMigrations -
func (*API) GetNonceRevelations ¶
func (tzkt *API) GetNonceRevelations(ctx context.Context, filters map[string]string) (operations []data.NonceRevelation, err error)
GetNonceRevelations -
func (*API) GetOperationsByHash ¶ added in v0.2.8
func (tzkt *API) GetOperationsByHash(ctx context.Context, hash string, filters map[string]string) (operations []data.Operation, err error)
GetOperationsByHash -
func (*API) GetOriginations ¶
func (tzkt *API) GetOriginations(ctx context.Context, filters map[string]string) (operations []data.Origination, err error)
GetOriginations -
func (*API) GetPreendorsement ¶ added in v0.2.14
func (tzkt *API) GetPreendorsement(ctx context.Context, filters map[string]string) (operations []data.Preendorsement, err error)
GetPreendorsement -
func (*API) GetProposals ¶
func (tzkt *API) GetProposals(ctx context.Context, filters map[string]string) (operations []data.Proposal, err error)
GetProposals -
func (*API) GetRegisterConstants ¶ added in v0.1.32
func (tzkt *API) GetRegisterConstants(ctx context.Context, filters map[string]string) (operations []data.RegisterConstant, err error)
GetRegisterConstants -
func (*API) GetReveals ¶
func (tzkt *API) GetReveals(ctx context.Context, filters map[string]string) (operations []data.Reveal, err error)
GetReveals -
func (*API) GetRevelationPenalties ¶ added in v0.2.15
func (tzkt *API) GetRevelationPenalties(ctx context.Context, filters map[string]string) (operations []data.RevelationPenalty, err error)
GetRevelationPenalties -
func (*API) GetRights ¶ added in v0.1.1
func (tzkt *API) GetRights(ctx context.Context, filters map[string]string) (rights []data.Right, err error)
GetRights -
func (*API) GetSetDepositsLimit ¶ added in v0.2.14
func (tzkt *API) GetSetDepositsLimit(ctx context.Context, filters map[string]string) (operations []data.SetDepositsLimit, err error)
GetSetDepositsLimit -
func (*API) GetTokenTransfers ¶ added in v0.2.6
func (tzkt *API) GetTokenTransfers(ctx context.Context, filters map[string]string) (transfers []data.Transfer, err error)
GetTokenTransfers -
func (*API) GetTokens ¶ added in v0.2.18
func (tzkt *API) GetTokens(ctx context.Context, filters map[string]string) (tokens []data.Token, err error)
GetTokens -
func (*API) GetTransactions ¶
func (tzkt *API) GetTransactions(ctx context.Context, filters map[string]string) (operations []data.Transaction, err error)
GetTransactions -
func (*API) GetTransactionsByHash ¶ added in v0.2.8
func (tzkt *API) GetTransactionsByHash(ctx context.Context, hash string, filters map[string]string) (operations []data.Transaction, err error)
GetTransactionsByHash -
func (*API) GetTransferTicket ¶ added in v0.2.14
func (tzkt *API) GetTransferTicket(ctx context.Context, filters map[string]string) (operations []data.TransferTicket, err error)
GetTransferTicket -
func (*API) GetTxRollupCommit ¶ added in v0.2.14
func (tzkt *API) GetTxRollupCommit(ctx context.Context, filters map[string]string) (operations []data.TxRollupCommit, err error)
GetTxRollupCommit -
func (*API) GetTxRollupDispatchTicket ¶ added in v0.2.14
func (tzkt *API) GetTxRollupDispatchTicket(ctx context.Context, filters map[string]string) (operations []data.TxRollupDispatchTicket, err error)
GetTxRollupDispatchTicket -
func (*API) GetTxRollupFinalizeCommitment ¶ added in v0.2.14
func (tzkt *API) GetTxRollupFinalizeCommitment(ctx context.Context, filters map[string]string) (operations []data.TxRollupFinalizeCommitment, err error)
GetTxRollupFinalizeCommitment -
func (*API) GetTxRollupOrigination ¶ added in v0.2.14
func (tzkt *API) GetTxRollupOrigination(ctx context.Context, filters map[string]string) (operations []data.TxRollupOrigination, err error)
GetTransferTicket -
func (*API) GetTxRollupRejection ¶ added in v0.2.14
func (tzkt *API) GetTxRollupRejection(ctx context.Context, filters map[string]string) (operations []data.TxRollupRejection, err error)
GetTxRollupRejection -
func (*API) GetTxRollupRemoveCommitment ¶ added in v0.2.14
func (tzkt *API) GetTxRollupRemoveCommitment(ctx context.Context, filters map[string]string) (operations []data.TxRollupRemoveCommitment, err error)
GetTxRollupRemoveCommitment -
func (*API) GetTxRollupReturnBond ¶ added in v0.2.14
func (tzkt *API) GetTxRollupReturnBond(ctx context.Context, filters map[string]string) (operations []data.TxRollupReturnBond, err error)
GetTransferTicket -
func (*API) GetTxRollupSubmitBatch ¶ added in v0.2.14
func (tzkt *API) GetTxRollupSubmitBatch(ctx context.Context, filters map[string]string) (operations []data.TxRollupSubmitBatch, err error)
GetTxRollupSubmitBatch -
func (*API) GetVdfRevelations ¶ added in v0.2.22
func (tzkt *API) GetVdfRevelations(ctx context.Context, filters map[string]string) (operations []data.VdfRevelation, err error)
GetVdfRevelations -
func (*API) ListContracts ¶ added in v0.2.21
func (tzkt *API) ListContracts(ctx context.Context, filters map[string]string) (response []data.Contract, err error)
ListContracts -
func (*API) Protocols ¶ added in v0.2.17
func (tzkt *API) Protocols(ctx context.Context, args map[string]string) (protocols []data.Protocol, err error)
Protocols - Returns a list of protocols.
func (*API) Statistics ¶ added in v0.2.20
func (tzkt *API) Statistics(ctx context.Context, filters map[string]string) (stats []data.Statistics, err error)
Statistics -
func (*API) StatisticsCurrent ¶ added in v0.2.20
func (tzkt *API) StatisticsCurrent(ctx context.Context, filters map[string]string) (stats data.Statistics, err error)
StatisticsCurrent -
func (*API) StatisticsCyclic ¶ added in v0.2.20
func (tzkt *API) StatisticsCyclic(ctx context.Context, filters map[string]string) (stats []data.Statistics, err error)
StatisticsCyclic -
func (*API) StatisticsDaily ¶ added in v0.2.20
func (tzkt *API) StatisticsDaily(ctx context.Context, filters map[string]string) (stats []data.Statistics, err error)
StatisticsDaily -