Versions in this module Expand all Collapse all v1 v1.0.0 Jul 14, 2021 Changes in this version + const AssetMaxNumberOfDecimals + const AssetMetadataHashLen + const AssetNameMaxLen + const AssetURLMaxLen + const AssetUnitNameMaxLen + const LogicSigMaxCost + const LogicSigMaxSize + const MaxTxGroupSize + func OAdd(a uint64, b uint64) (res uint64, overflowed bool) + func OAdd16(a uint16, b uint16) (res uint16, overflowed bool) + func OMul(a uint64, b uint64) (res uint64, overflowed bool) + func OSub(a uint64, b uint64) (res uint64, overflowed bool) + type Address [hashLenBytes]byte + var ZeroAddress Address = [hashLenBytes]byte{} + func DecodeAddress(addr string) (a Address, err error) + func (a Address) IsZero() bool + func (a Address) String() string + type AppIndex uint64 + type ApplicationCallTxnFields struct + Accounts []Address + ApplicationArgs [][]byte + ApplicationID AppIndex + ApprovalProgram []byte + ClearStateProgram []byte + ExtraProgramPages uint32 + ForeignApps []AppIndex + ForeignAssets []AssetIndex + GlobalStateSchema StateSchema + LocalStateSchema StateSchema + OnCompletion OnCompletion + func (ac *ApplicationCallTxnFields) Empty() bool + type ApplicationFields struct + type ApplyData struct + AssetClosingAmount uint64 + CloseRewards MicroAlgos + ClosingAmount MicroAlgos + EvalDelta EvalDelta + ReceiverRewards MicroAlgos + SenderRewards MicroAlgos + type AssetConfigTxnFields struct + AssetParams AssetParams + ConfigAsset AssetIndex + type AssetFreezeTxnFields struct + AssetFrozen bool + FreezeAccount Address + FreezeAsset AssetIndex + type AssetIndex uint64 + type AssetParams struct + AssetName string + Clawback Address + Decimals uint32 + DefaultFrozen bool + Freeze Address + Manager Address + MetadataHash [AssetMetadataHashLen]byte + Reserve Address + Total uint64 + URL string + UnitName string + func (ap AssetParams) IsZero() bool + type AssetTransferTxnFields struct + AssetAmount uint64 + AssetCloseTo Address + AssetReceiver Address + AssetSender Address + XferAsset AssetIndex + type Bid struct + AuctionID uint64 + AuctionKey Address + BidCurrency uint64 + BidID uint64 + BidderKey Address + MaxPrice uint64 + type Block struct + Payset Payset + func (block *Block) FromBase64String(b64string string) error + type BlockHash Digest + type BlockHeader struct + Branch BlockHash + GenesisHash Digest + GenesisID string + Round Round + Seed [32]byte + TimeStamp int64 + TxnCounter uint64 + TxnRoot Digest + type DeltaAction uint64 + const DeleteAction + const SetBytesAction + const SetUintAction + type Digest [hashLenBytes]byte + type EvalDelta struct + GlobalDelta StateDelta + LocalDeltas map[uint64]StateDelta + type Header struct + Fee MicroAlgos + FirstValid Round + GenesisHash Digest + GenesisID string + Group Digest + LastValid Round + Lease [32]byte + Note []byte + RekeyTo Address + Sender Address + type KeyregTxnFields struct + Nonparticipation bool + SelectionPK VRFPK + VoteFirst Round + VoteKeyDilution uint64 + VoteLast Round + VotePK VotePK + type LogicSig struct + Args [][]byte + Logic []byte + Msig MultisigSig + Sig Signature + func (lsig LogicSig) Blank() bool + type MasterDerivationKey [masterDerivationKeyLenBytes]byte + type MicroAlgos uint64 + func ToMicroAlgos(algos float64) MicroAlgos + func (microalgos MicroAlgos) ToAlgos() float64 + type MultisigSig struct + Subsigs []MultisigSubsig + Threshold uint8 + Version uint8 + func (msig MultisigSig) Blank() bool + type MultisigSubsig struct + Key ed25519.PublicKey + Sig Signature + type NoteField struct + SignedBid SignedBid + Type NoteFieldType + type NoteFieldType string + const NoteBid + const NoteDeposit + const NoteParams + const NoteSettlement + type OnCompletion uint64 + const ClearStateOC + const CloseOutOC + const DeleteApplicationOC + const NoOpOC + const OptInOC + const UpdateApplicationOC + type PaymentTxnFields struct + Amount MicroAlgos + CloseRemainderTo Address + Receiver Address + type Payset []SignedTxnInBlock + type RewardsState struct + FeeSink Address + RewardsLevel uint64 + RewardsPool Address + RewardsRate uint64 + RewardsRecalculationRound Round + RewardsResidue uint64 + type Round uint64 + type Signature [ed25519.SignatureSize]byte + type SignedBid struct + Bid Bid + Sig Signature + type SignedTxn struct + AuthAddr Address + Lsig LogicSig + Msig MultisigSig + Sig Signature + Txn Transaction + func (signedTxn *SignedTxn) FromBase64String(b64string string) error + type SignedTxnInBlock struct + HasGenesisHash bool + HasGenesisID bool + type SignedTxnWithAD struct + type StateDelta map[string]ValueDelta + type StateSchema struct + NumByteSlice uint64 + NumUint uint64 + type SuggestedParams struct + ConsensusVersion string + Fee MicroAlgos + FirstRoundValid Round + FlatFee bool + GenesisHash []byte + GenesisID string + LastRoundValid Round + MinFee uint64 + type Transaction struct + Type TxType + func (tx *Transaction) AddLease(lease [32]byte, feePerByte uint64) + func (tx *Transaction) AddLeaseWithFlatFee(lease [32]byte, flatFee uint64) + func (tx *Transaction) Rekey(rekeyToAddress string) error + type TxGroup struct + TxGroupHashes []Digest + type TxType string + const ApplicationCallTx + const AssetConfigTx + const AssetFreezeTx + const AssetTransferTx + const KeyRegistrationTx + const PaymentTx + type UpgradeState struct + CurrentProtocol string + NextProtocol string + NextProtocolApprovals uint64 + NextProtocolSwitchOn Round + NextProtocolVoteBefore Round + type UpgradeVote struct + UpgradeApprove bool + UpgradeDelay Round + UpgradePropose string + type VRFPK [ed25519.PublicKeySize]byte + type ValueDelta struct + Action DeltaAction + Bytes string + Uint uint64 + type VotePK [ed25519.PublicKeySize]byte