Versions in this module Expand all Collapse all v0 v0.5.0 Jan 3, 2019 Changes in this version + const TimeFormat + const TxExpirationDefault + var EmptyBuffer = []byte + var EmptyParams = []interface{} + var ErrAddressChainPrefixMismatch = fmt.Errorf("Address chain prefix mismatch") + var ErrCurrentChainConfigIsNotSet = fmt.Errorf("current chain config is not set") + var ErrInvalidAddress = fmt.Errorf("invalid Address") + var ErrInvalidChecksum = fmt.Errorf("invalid checksum") + var ErrInvalidCurve = fmt.Errorf("invalid elliptic curve") + var ErrInvalidDigestLength = fmt.Errorf("invalid digest length") + var ErrInvalidInputLength = fmt.Errorf("invalid input length") + var ErrInvalidInputType = fmt.Errorf("invalid input type") + var ErrInvalidPrivateKeyCurve = fmt.Errorf("invalid PrivateKey curve") + var ErrInvalidPublicKey = fmt.Errorf("invalid PublicKey") + var ErrNoSigningKeyFound = fmt.Errorf("no signing key found") + var ErrNoVerifyingKeyFound = fmt.Errorf("no verifying key found") + var ErrNotImplemented = fmt.Errorf("not implemented") + var ErrPublicKeyChainPrefixMismatch = fmt.Errorf("PublicKey chain prefix mismatch") + var ErrRPCClientNotInitialized = fmt.Errorf("RPC client is not initialized") + var ErrSharedKeyIsPointAtInfinity = fmt.Errorf("shared key is point at infinity") + var ErrSharedKeyTooBig = fmt.Errorf("shared key params are too big") + var OperationMap = make(map[OperationType]GetOpFunc) + type Account struct + Active Authority + ActiveSpecialAuthority ActiveSpecialAuthority + BlacklistedAccounts GrapheneIDs + BlacklistingAccounts GrapheneIDs + CashbackVB GrapheneID + ID GrapheneID + LifetimeReferrer GrapheneID + LifetimeReferrerFeePercentage UInt64 + MembershipExpirationDate Time + Name string + NetworkFeePercentage UInt64 + Options AccountOptions + Owner Authority + OwnerSpecialAuthority OwnerSpecialAuthority + Referrer GrapheneID + ReferrerRewardsPercentage UInt64 + Registrar GrapheneID + Statistics GrapheneID + TopNControlFlags UInt64 + WhitelistedAccounts GrapheneIDs + WhitelistingAccounts GrapheneIDs + func NewAccount(id GrapheneID) *Account + func (j *Account) MarshalJSON() ([]byte, error) + func (j *Account) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *Account) UnmarshalJSON(input []byte) error + func (j *Account) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type AccountAuthsMap map[GrapheneID]UInt16 + func (p *AccountAuthsMap) UnmarshalJSON(data []byte) error + func (p AccountAuthsMap) Marshal(enc *util.TypeEncoder) error + func (p AccountAuthsMap) MarshalJSON() ([]byte, error) + type AccountBalance struct + AssetType GrapheneID + Balance UInt64 + ID GrapheneID + MaintenanceFlag bool + Owner GrapheneID + func (j *AccountBalance) MarshalJSON() ([]byte, error) + func (j *AccountBalance) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *AccountBalance) UnmarshalJSON(input []byte) error + func (j *AccountBalance) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type AccountBalances []AccountBalance + type AccountCreateExtensions struct + ActiveSpecialAuthority *ActiveSpecialAuthority + BuybackOptions *BuybackOptions + NullExt *NullExtension + OwnerSpecialAuthority *OwnerSpecialAuthority + func (j *AccountCreateExtensions) MarshalJSON() ([]byte, error) + func (j *AccountCreateExtensions) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *AccountCreateExtensions) UnmarshalJSON(input []byte) error + func (j *AccountCreateExtensions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p AccountCreateExtensions) Length() int + func (p AccountCreateExtensions) Marshal(enc *util.TypeEncoder) error + type AccountCreateExtensionsType UInt8 + const AccountCreateExtensionsActiveSpecial + const AccountCreateExtensionsBuyback + const AccountCreateExtensionsNullExt + const AccountCreateExtensionsOwnerSpecial + type AccountInfo struct + Account Account + Assets GrapheneIDs + Balances AccountBalances + CallOrders CallOrders + CashbackBalance VestingBalance + LifetimeReferrerName string + LimitOrders LimitOrders + ReferrerName string + RegistrarName string + SettleOrders SettleOrders + Statistics AccountStatistics + VestingBalances VestingBalances + func (j *AccountInfo) MarshalJSON() ([]byte, error) + func (j *AccountInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *AccountInfo) UnmarshalJSON(input []byte) error + func (j *AccountInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type AccountOptions struct + Extensions Extensions + MemoKey PublicKey + NumCommittee UInt16 + NumWitness UInt16 + Votes Votes + VotingAccount GrapheneID + func (j *AccountOptions) MarshalJSON() ([]byte, error) + func (j *AccountOptions) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *AccountOptions) UnmarshalJSON(input []byte) error + func (j *AccountOptions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p AccountOptions) Marshal(enc *util.TypeEncoder) error + type AccountStatistics struct + ID GrapheneID + LifetimeFeesPaid UInt64 + MostRecentOp GrapheneID + Owner GrapheneID + PendingFees UInt64 + PendingVestedFees UInt64 + RemovedOps UInt64 + TotalCoreInOrders UInt64 + TotalOps UInt64 + func (j *AccountStatistics) MarshalJSON() ([]byte, error) + func (j *AccountStatistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *AccountStatistics) UnmarshalJSON(input []byte) error + func (j *AccountStatistics) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type AccountUpdateExtensions struct + ActiveSpecialAuthority *ActiveSpecialAuthority + NullExt *NullExtension + OwnerSpecialAuthority *OwnerSpecialAuthority + func (j *AccountUpdateExtensions) MarshalJSON() ([]byte, error) + func (j *AccountUpdateExtensions) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *AccountUpdateExtensions) UnmarshalJSON(input []byte) error + func (j *AccountUpdateExtensions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p AccountUpdateExtensions) Length() int + func (p AccountUpdateExtensions) Marshal(enc *util.TypeEncoder) error + type Accounts []Account + type ActiveSpecialAuthority struct + func (p ActiveSpecialAuthority) Marshal(enc *util.TypeEncoder) error + type Address struct + func NewAddress(pub *PublicKey) (*Address, error) + func NewAddressFromString(add string) (*Address, error) + func (p *Address) UnmarshalJSON(data []byte) error + func (p Address) Bytes() []byte + func (p Address) Marshal(enc *util.TypeEncoder) error + func (p Address) MarshalJSON() ([]byte, error) + func (p Address) String() string + type AddressAuthsMap map[*Address]UInt16 + func (p *AddressAuthsMap) UnmarshalJSON(data []byte) error + func (p AddressAuthsMap) Marshal(enc *util.TypeEncoder) error + func (p AddressAuthsMap) MarshalJSON() ([]byte, error) + type Asset struct + BitassetDataID GrapheneID + DynamicAssetDataID GrapheneID + ID GrapheneID + Issuer GrapheneID + Options AssetOptions + Precision int + Symbol string + func NewAsset(id GrapheneID) *Asset + func (j *Asset) MarshalJSON() ([]byte, error) + func (j *Asset) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *Asset) UnmarshalJSON(input []byte) error + func (j *Asset) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type AssetAmount struct + Amount Int64 + Asset GrapheneID + func (j *AssetAmount) MarshalJSON() ([]byte, error) + func (j *AssetAmount) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *AssetAmount) UnmarshalJSON(input []byte) error + func (j *AssetAmount) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p *AssetAmount) Rate(prec float64) float64 + func (p AssetAmount) Marshal(enc *util.TypeEncoder) error + func (p AssetAmount) Valid() bool + type AssetAmounts []AssetAmount + type AssetFeed struct + DateTime Time + FeedInfo PriceFeed + ProviderID GrapheneID + func (p *AssetFeed) UnmarshalJSON(data []byte) error + func (p AssetFeed) MarshalJSON() ([]byte, error) + type AssetFeeds []AssetFeed + type AssetOptions struct + BlacklistAuthorities GrapheneIDs + BlacklistMarkets GrapheneIDs + CoreExchangeRate Price + Description string + Extensions Extensions + Flags UInt16 + IssuerPermissions UInt16 + MarketFeePercent UInt16 + MaxMarketFee Int64 + MaxSupply Int64 + WhitelistAuthorities GrapheneIDs + WhitelistMarkets GrapheneIDs + func (j *AssetOptions) MarshalJSON() ([]byte, error) + func (j *AssetOptions) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *AssetOptions) UnmarshalJSON(input []byte) error + func (j *AssetOptions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p AssetOptions) Marshal(enc *util.TypeEncoder) error + type AssetPermission Int16 + const AssetPermissionChargeMarketFee + const AssetPermissionComiteeFedAsset + const AssetPermissionDisableConfidential + const AssetPermissionDisableForceSettle + const AssetPermissionGlobalSettle + const AssetPermissionOverrideAuthority + const AssetPermissionTransferRestricted + const AssetPermissionWhiteList + const AssetPermissionWitnessFedAsset + func (i AssetPermission) String() string + type AssetType Int8 + const AssetTypeCoreAsset + const AssetTypePredictionMarket + const AssetTypeSmartCoin + const AssetTypeUIA + const AssetTypeUndefined + func (i AssetType) String() string + type Assets []Asset + type Authority struct + AccountAuths AccountAuthsMap + AddressAuths AddressAuthsMap + Extensions Extensions + KeyAuths KeyAuthsMap + WeightThreshold UInt32 + func (j *Authority) MarshalJSON() ([]byte, error) + func (j *Authority) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *Authority) UnmarshalJSON(input []byte) error + func (j *Authority) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p Authority) Marshal(enc *util.TypeEncoder) error + type Balance struct + Balance AssetAmount + ID GrapheneID + LastClaimDate Time + Owner Address + func (j *Balance) MarshalJSON() ([]byte, error) + func (j *Balance) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *Balance) UnmarshalJSON(input []byte) error + func (j *Balance) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type BitAssetData struct + CurrentFeed PriceFeed + Feeds AssetFeeds + ForcedSettledVolume UInt64 + ID GrapheneID + IsPredictionMarket bool + MembershipExpirationDate Time + Options BitassetOptions + SettlementFund UInt64 + SettlementPrice Price + func (j *BitAssetData) MarshalJSON() ([]byte, error) + func (j *BitAssetData) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *BitAssetData) UnmarshalJSON(input []byte) error + func (j *BitAssetData) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type BitassetOptions struct + Extensions Extensions + FeedLifetimeSec UInt32 + ForceSettlementDelaySec UInt32 + ForceSettlementOffsetPercent UInt16 + MaximumForceSettlementVolume UInt16 + MinimumFeeds UInt8 + ShortBackingAsset GrapheneID + func (j *BitassetOptions) MarshalJSON() ([]byte, error) + func (j *BitassetOptions) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *BitassetOptions) UnmarshalJSON(input []byte) error + func (j *BitassetOptions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p BitassetOptions) Marshal(enc *util.TypeEncoder) error + type Block struct + BlockID Buffer + Extensions Extensions + Previous Buffer + SigningKey *PublicKey + TimeStamp Time + TransactionIDs Buffers + TransactionMerkleRoot Buffer + Transactions SignedTransactions + Witness GrapheneID + WitnessSignature Buffer + func (j *Block) MarshalJSON() ([]byte, error) + func (j *Block) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *Block) UnmarshalJSON(input []byte) error + func (j *Block) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type Buffer []byte + func BufferFromString(data string) (b Buffer, err error) + func (p *Buffer) Decrypt(cipherKey []byte) ([]byte, error) + func (p *Buffer) Encrypt(cipherKey []byte) ([]byte, error) + func (p *Buffer) FromString(data string) error + func (p *Buffer) Unmarshal(dec *util.TypeDecoder) error + func (p *Buffer) UnmarshalJSON(data []byte) error + func (p Buffer) Bytes() []byte + func (p Buffer) Length() int + func (p Buffer) Marshal(enc *util.TypeEncoder) error + func (p Buffer) MarshalJSON() ([]byte, error) + func (p Buffer) String() string + type Buffers []Buffer + type BurnWorkerInitializer struct + func (p BurnWorkerInitializer) Marshal(enc *util.TypeEncoder) error + type BuybackOptions struct + AssetToBuy GrapheneID + AssetToBuyIssuer GrapheneID + Markets GrapheneIDs + func (j *BuybackOptions) MarshalJSON() ([]byte, error) + func (j *BuybackOptions) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *BuybackOptions) UnmarshalJSON(input []byte) error + func (j *BuybackOptions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p BuybackOptions) Marshal(enc *util.TypeEncoder) error + type CCDVestingPolicy struct + CoinSecondsEarned UInt64 + CoinSecondsEarnedLastUpdate Time + StartClaim Time + VestingSeconds UInt32 + func (j *CCDVestingPolicy) MarshalJSON() ([]byte, error) + func (j *CCDVestingPolicy) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *CCDVestingPolicy) UnmarshalJSON(input []byte) error + func (j *CCDVestingPolicy) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p CCDVestingPolicy) Marshal(enc *util.TypeEncoder) error + type CallOrder struct + Borrower GrapheneID + CallPrice Price + Collateral Int64 + Debt Int64 + ID GrapheneID + func (j *CallOrder) MarshalJSON() ([]byte, error) + func (j *CallOrder) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *CallOrder) UnmarshalJSON(input []byte) error + func (j *CallOrder) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type CallOrderUpdateExtensions struct + TargetCollateralRatio *TargetCollRatio + func (j *CallOrderUpdateExtensions) MarshalJSON() ([]byte, error) + func (j *CallOrderUpdateExtensions) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *CallOrderUpdateExtensions) UnmarshalJSON(input []byte) error + func (j *CallOrderUpdateExtensions) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p CallOrderUpdateExtensions) Length() int + func (p CallOrderUpdateExtensions) Marshal(enc *util.TypeEncoder) error + type CallOrderUpdateExtensionsType UInt8 + const CallOrderUpdateExtensionsTypeTargetRatio + type CallOrders []CallOrder + type CommiteeMember struct + CommiteeMemberAccount GrapheneID + ID GrapheneID + TotalVotes UInt64 + URL string + VoteID VoteID + func (j *CommiteeMember) MarshalJSON() ([]byte, error) + func (j *CommiteeMember) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *CommiteeMember) UnmarshalJSON(input []byte) error + func (j *CommiteeMember) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type DynamicGlobalProperties struct + AccountsRegisteredThisInterval int + CurrentAslot int64 + CurrentWitness GrapheneID + DynamicFlags int + HeadBlockID string + HeadBlockNumber UInt32 + ID GrapheneID + LastBudgetTime Time + LastIrreversibleBlockNum UInt32 + NextMaintenanceTime Time + RecentSlotsFilled string + RecentlyMissedCount int64 + Time Time + WitnessBudget int64 + func (j *DynamicGlobalProperties) MarshalJSON() ([]byte, error) + func (j *DynamicGlobalProperties) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *DynamicGlobalProperties) UnmarshalJSON(input []byte) error + func (j *DynamicGlobalProperties) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p DynamicGlobalProperties) RefBlockNum() UInt16 + func (p DynamicGlobalProperties) RefBlockPrefix() (UInt32, error) + type Extensions []interface + func (p Extensions) Marshal(enc *util.TypeEncoder) error + type Float32 float32 + func (num *Float32) UnmarshalJSON(data []byte) error + func (num Float32) Marshal(enc *util.TypeEncoder) error + type Float64 float64 + func (num *Float64) UnmarshalJSON(data []byte) error + func (num Float64) Marshal(enc *util.TypeEncoder) error + type FullAccountInfo struct + AccountInfo AccountInfo + ID GrapheneID + func (p *FullAccountInfo) UnmarshalJSON(data []byte) error + func (p FullAccountInfo) MarshalJSON() ([]byte, error) + type FullAccountInfos []FullAccountInfo + type GetOpFunc func() Operation + type GrapheneID struct + func NewGrapheneID(id string) *GrapheneID + func (p *GrapheneID) FromRawData(in interface{}) error + func (p *GrapheneID) FromString(in string) error + func (p *GrapheneID) Unmarshal(dec *util.TypeDecoder) error + func (p *GrapheneID) UnmarshalJSON(s []byte) error + func (p GrapheneID) Equals(o GrapheneObject) bool + func (p GrapheneID) ID() string + func (p GrapheneID) Marshal(enc *util.TypeEncoder) error + func (p GrapheneID) MarshalJSON() ([]byte, error) + func (p GrapheneID) Space() SpaceType + func (p GrapheneID) String() string + func (p GrapheneID) Type() ObjectType + func (p GrapheneID) Valid() bool + type GrapheneIDs []GrapheneID + func (p GrapheneIDs) Marshal(enc *util.TypeEncoder) error + type GrapheneObject interface + Equals func(id GrapheneObject) bool + ID func() string + Space func() SpaceType + String func() string + Type func() ObjectType + Valid func() bool + type GrapheneObjects []GrapheneObject + func (p GrapheneObjects) String() string + func (p GrapheneObjects) ToStrings() []string + type Int16 int16 + func (num *Int16) UnmarshalJSON(data []byte) error + func (num Int16) Marshal(enc *util.TypeEncoder) error + type Int32 int32 + func (num *Int32) UnmarshalJSON(data []byte) error + func (num Int32) Marshal(enc *util.TypeEncoder) error + type Int64 int64 + func (num *Int64) UnmarshalJSON(data []byte) error + func (num Int64) Marshal(enc *util.TypeEncoder) error + type Int8 int8 + func (num *Int8) UnmarshalJSON(data []byte) error + func (num Int8) Marshal(enc *util.TypeEncoder) error + type KeyAuthsMap map[*PublicKey]UInt16 + func (p *KeyAuthsMap) UnmarshalJSON(data []byte) error + func (p KeyAuthsMap) Marshal(enc *util.TypeEncoder) error + func (p KeyAuthsMap) MarshalJSON() ([]byte, error) + type LimitOrder struct + DeferredFee UInt64 + Expiration Time + ForSale UInt64 + ID GrapheneID + SellPrice Price + Seller GrapheneID + func (j *LimitOrder) MarshalJSON() ([]byte, error) + func (j *LimitOrder) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *LimitOrder) UnmarshalJSON(input []byte) error + func (j *LimitOrder) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type LimitOrders []LimitOrder + type LinearVestingPolicy struct + BeginTimestamp Time + VestingCliffSeconds UInt32 + VestingDurationSeconds UInt32 + func (j *LinearVestingPolicy) MarshalJSON() ([]byte, error) + func (j *LinearVestingPolicy) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *LinearVestingPolicy) UnmarshalJSON(input []byte) error + func (j *LinearVestingPolicy) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p LinearVestingPolicy) Marshal(enc *util.TypeEncoder) error + type MarketTrade struct + Amount Float64 + DateTime Time + Price Float64 + Value Float64 + func (j *MarketTrade) MarshalJSON() ([]byte, error) + func (j *MarketTrade) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *MarketTrade) UnmarshalJSON(input []byte) error + func (j *MarketTrade) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type MarketTrades []MarketTrade + type Memo struct + From PublicKey + Message Buffer + Nonce UInt64 + To PublicKey + func (j *Memo) MarshalJSON() ([]byte, error) + func (j *Memo) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *Memo) UnmarshalJSON(input []byte) error + func (j *Memo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p *Memo) Encrypt(priv *PrivateKey, msg string) error + func (p Memo) Decrypt(priv *PrivateKey) (string, error) + func (p Memo) Marshal(enc *util.TypeEncoder) error + type NoSpecialAuthority struct + func (j *NoSpecialAuthority) MarshalJSON() ([]byte, error) + func (j *NoSpecialAuthority) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *NoSpecialAuthority) UnmarshalJSON(input []byte) error + func (j *NoSpecialAuthority) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type NullExtension struct + func (j *NullExtension) MarshalJSON() ([]byte, error) + func (j *NullExtension) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *NullExtension) UnmarshalJSON(input []byte) error + func (j *NullExtension) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p NullExtension) Marshal(enc *util.TypeEncoder) error + type ObjectType Int8 + const ObjectTypeAccount + const ObjectTypeAccountBalance + const ObjectTypeAccountStatistics + const ObjectTypeAccountTransactionHistory + const ObjectTypeAsset + const ObjectTypeAssetBitAssetData + const ObjectTypeAssetDynamicData + const ObjectTypeBalance + const ObjectTypeBase + const ObjectTypeBlindedBalance + const ObjectTypeBlockSummary + const ObjectTypeBudgetRecord + const ObjectTypeCallOrder + const ObjectTypeChainProperty + const ObjectTypeCommiteeMember + const ObjectTypeCustom + const ObjectTypeDynamicGlobalProperty + const ObjectTypeForceSettlement + const ObjectTypeGlobalProperty + const ObjectTypeLimitOrder + const ObjectTypeOperationHistory + const ObjectTypeProposal + const ObjectTypeSpecialAuthority + const ObjectTypeTransaction + const ObjectTypeUndefined + const ObjectTypeVestingBalance + const ObjectTypeWithdrawPermission + const ObjectTypeWitness + const ObjectTypeWitnessSchedule + const ObjectTypeWorker + func (i ObjectType) String() string + type Operation interface + GetFee func() AssetAmount + SetFee func(fee AssetAmount) + Type func() OperationType + type OperationEnvelope struct + Operation Operation + Type OperationType + func (p *OperationEnvelope) UnmarshalJSON(data []byte) error + func (p OperationEnvelope) Marshal(enc *util.TypeEncoder) error + func (p OperationEnvelope) MarshalJSON() ([]byte, error) + type OperationEnvelopeHolder struct + Op OperationEnvelope + type OperationEnvelopeHolders []OperationEnvelopeHolder + func (p OperationEnvelopeHolders) Marshal(enc *util.TypeEncoder) error + type OperationFee struct + Fee *AssetAmount + func (p *OperationFee) SetFee(fee AssetAmount) + func (p OperationFee) GetFee() AssetAmount + type OperationHistories []OperationHistory + type OperationHistory struct + BlockNum UInt32 + ID GrapheneID + OpInTrx UInt16 + Operation OperationEnvelope + Result OperationResult + TrxInBlock UInt16 + VirtualOp UInt16 + func (j *OperationHistory) MarshalJSON() ([]byte, error) + func (j *OperationHistory) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *OperationHistory) UnmarshalJSON(input []byte) error + func (j *OperationHistory) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type OperationRelativeHistories []OperationRelativeHistory + type OperationRelativeHistory struct + Description string + Memo string + Op OperationHistory + func (j *OperationRelativeHistory) MarshalJSON() ([]byte, error) + func (j *OperationRelativeHistory) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *OperationRelativeHistory) UnmarshalJSON(input []byte) error + func (j *OperationRelativeHistory) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type OperationResult interface + type OperationType Int8 + const OperationTypeAccountCreate + const OperationTypeAccountTransfer + const OperationTypeAccountUpdate + const OperationTypeAccountUpgrade + const OperationTypeAccountWhitelist + const OperationTypeAssert + const OperationTypeAssetClaimFees + const OperationTypeAssetCreate + const OperationTypeAssetFundFeePool + const OperationTypeAssetGlobalSettle + const OperationTypeAssetIssue + const OperationTypeAssetPublishFeed + const OperationTypeAssetReserve + const OperationTypeAssetSettle + const OperationTypeAssetSettleCancel + const OperationTypeAssetUpdate + const OperationTypeAssetUpdateBitasset + const OperationTypeAssetUpdateFeedProducers + const OperationTypeBalanceClaim + const OperationTypeBidCollateral + const OperationTypeBlindTransfer + const OperationTypeCallOrderUpdate + const OperationTypeCommitteeMemberCreate + const OperationTypeCommitteeMemberUpdate + const OperationTypeCommitteeMemberUpdateGlobalParameters + const OperationTypeCustom + const OperationTypeExecuteBid + const OperationTypeFBADistribute + const OperationTypeFillOrder + const OperationTypeLimitOrderCancel + const OperationTypeLimitOrderCreate + const OperationTypeOverrideTransfer + const OperationTypeProposalCreate + const OperationTypeProposalDelete + const OperationTypeProposalUpdate + const OperationTypeTransfer + const OperationTypeTransferFromBlind + const OperationTypeTransferToBlind + const OperationTypeVestingBalanceCreate + const OperationTypeVestingBalanceWithdraw + const OperationTypeWithdrawPermissionClaim + const OperationTypeWithdrawPermissionCreate + const OperationTypeWithdrawPermissionDelete + const OperationTypeWithdrawPermissionUpdate + const OperationTypeWitnessCreate + const OperationTypeWitnessUpdate + const OperationTypeWorkerCreate + func (i OperationType) String() string + func (p OperationType) OperationName() string + type Operations []Operation + func (p *Operations) UnmarshalJSON(data []byte) error + func (p Operations) ApplyFees(fees AssetAmounts) error + func (p Operations) CombinedFees() AssetAmounts + func (p Operations) Envelopes() []OperationEnvelope + func (p Operations) Marshal(enc *util.TypeEncoder) error + func (p Operations) MarshalJSON() ([]byte, error) + type Order struct + Base Float64 + Price Float64 + Quote Float64 + func (j *Order) MarshalJSON() ([]byte, error) + func (j *Order) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *Order) UnmarshalJSON(input []byte) error + func (j *Order) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type OrderBook struct + Asks []Order + Base GrapheneID + Bids []Order + Quote GrapheneID + func (j *OrderBook) MarshalJSON() ([]byte, error) + func (j *OrderBook) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *OrderBook) UnmarshalJSON(input []byte) error + func (j *OrderBook) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type OwnerSpecialAuthority struct + func (p OwnerSpecialAuthority) Marshal(enc *util.TypeEncoder) error + type Price struct + Base AssetAmount + Quote AssetAmount + func (j *Price) MarshalJSON() ([]byte, error) + func (j *Price) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *Price) UnmarshalJSON(input []byte) error + func (j *Price) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p Price) Marshal(enc *util.TypeEncoder) error + func (p Price) Rate(precBase, precQuote float64) Rate + func (p Price) Valid() bool + type PriceFeed struct + CoreExchangeRate Price + MaintenanceCollateralRatio UInt16 + MaximumShortSqueezeRatio UInt16 + SettlementPrice Price + func (j *PriceFeed) MarshalJSON() ([]byte, error) + func (j *PriceFeed) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *PriceFeed) UnmarshalJSON(input []byte) error + func (j *PriceFeed) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p PriceFeed) Marshal(enc *util.TypeEncoder) error + type PrivateKey struct + func NewPrivateKeyFromWif(wifPrivateKey string) (*PrivateKey, error) + func (p *PrivateKey) Unmarshal(dec *util.TypeDecoder) error + func (p PrivateKey) Bytes() []byte + func (p PrivateKey) ECPrivateKey() *btcec.PrivateKey + func (p PrivateKey) Marshal(enc *util.TypeEncoder) error + func (p PrivateKey) PublicKey() *PublicKey + func (p PrivateKey) SharedSecret(pub *PublicKey, skLen, macLen int) (sk []byte, err error) + func (p PrivateKey) SignCompact(hash []byte) (sig []byte, err error) + func (p PrivateKey) ToECDSA() *ecdsa.PrivateKey + func (p PrivateKey) ToHex() string + func (p PrivateKey) ToWIF() string + type PrivateKeys []PrivateKey + type PublicKey struct + func NewPublicKey(pub *btcec.PublicKey) (*PublicKey, error) + func NewPublicKeyFromString(key string) (*PublicKey, error) + func (p *PublicKey) ToAddress() (*Address, error) + func (p *PublicKey) UnmarshalJSON(data []byte) error + func (p PublicKey) Bytes() []byte + func (p PublicKey) Equal(pub *PublicKey) bool + func (p PublicKey) Marshal(enc *util.TypeEncoder) error + func (p PublicKey) MarshalJSON() ([]byte, error) + func (p PublicKey) MaxSharedKeyLength() int + func (p PublicKey) String() string + func (p PublicKey) ToECDSA() *ecdsa.PublicKey + type PublicKeys []PublicKey + type Rate float64 + func (p Rate) Inverse() Rate + func (p Rate) Value() float64 + type RefundWorkerInitializer struct + func (p RefundWorkerInitializer) Marshal(enc *util.TypeEncoder) error + type SettleOrder struct + Balance AssetAmount + ID GrapheneID + Owner GrapheneID + SettlementDate Time + func (j *SettleOrder) MarshalJSON() ([]byte, error) + func (j *SettleOrder) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *SettleOrder) UnmarshalJSON(input []byte) error + func (j *SettleOrder) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type SettleOrders []SettleOrder + type Signatures []Buffer + func (p *Signatures) Reset() + func (p Signatures) Marshal(enc *util.TypeEncoder) error + type SignedTransaction struct + Signatures Signatures + func NewSignedTransaction() *SignedTransaction + func NewSignedTransactionWithBlockData(props *DynamicGlobalProperties) (*SignedTransaction, error) + func (j *SignedTransaction) MarshalJSON() ([]byte, error) + func (j *SignedTransaction) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *SignedTransaction) UnmarshalJSON(input []byte) error + func (j *SignedTransaction) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p SignedTransaction) Marshal(enc *util.TypeEncoder) error + func (p SignedTransaction) SerializeTrx() ([]byte, error) + func (p SignedTransaction) ToHex() (string, error) + func (tx SignedTransaction) Digest(chain *config.ChainConfig) ([]byte, error) + type SignedTransactionWithTransactionId struct + SignedTransaction SignedTransaction + TransactionId string + func (p *SignedTransactionWithTransactionId) UnmarshalJSON(data []byte) error + func (p SignedTransactionWithTransactionId) Marshal(enc *util.TypeEncoder) error + func (p SignedTransactionWithTransactionId) MarshalJSON() ([]byte, error) + type SignedTransactions []SignedTransaction + type SpaceType Int8 + const SpaceTypeImplementation + const SpaceTypeProtocol + const SpaceTypeUndefined + func (i SpaceType) String() string + type SpecialAuth struct + Auth interface{} + Type SpecialAuthorityType + func (p *SpecialAuth) UnmarshalJSON(data []byte) error + func (p SpecialAuth) Marshal(enc *util.TypeEncoder) error + func (p SpecialAuth) MarshalJSON() ([]byte, error) + type SpecialAuthorityType UInt8 + const SpecialAuthorityTypeNoSpecial + const SpecialAuthorityTypeTopHolders + type TargetCollRatio UInt16 + func (p TargetCollRatio) Marshal(enc *util.TypeEncoder) error + type Time struct + func (t *Time) FromTime(tm time.Time) + func (t *Time) Set(dur time.Duration) + func (t *Time) UnmarshalJSON(data []byte) error + func (t Time) Add(dur time.Duration) Time + func (t Time) IsZero() bool + func (t Time) Marshal(enc *util.TypeEncoder) error + func (t Time) MarshalJSON() ([]byte, error) + type TopHoldersSpecialAuthority struct + Asset GrapheneID + NumTopHolders UInt8 + func (j *TopHoldersSpecialAuthority) MarshalJSON() ([]byte, error) + func (j *TopHoldersSpecialAuthority) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *TopHoldersSpecialAuthority) UnmarshalJSON(input []byte) error + func (j *TopHoldersSpecialAuthority) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + func (p TopHoldersSpecialAuthority) Marshal(enc *util.TypeEncoder) error + type Transaction struct + Expiration Time + Extensions Extensions + Operations Operations + RefBlockNum UInt16 + RefBlockPrefix UInt32 + func (p *Transaction) AdjustExpiration(dur time.Duration) + func (p Transaction) Marshal(enc *util.TypeEncoder) error + type UInt uint + func (num *UInt) UnmarshalJSON(data []byte) error + func (num UInt) Marshal(enc *util.TypeEncoder) error + type UInt16 uint16 + func (num *UInt16) UnmarshalJSON(data []byte) error + func (num UInt16) Marshal(enc *util.TypeEncoder) error + type UInt32 uint32 + func (num *UInt32) UnmarshalJSON(data []byte) error + func (num UInt32) Marshal(enc *util.TypeEncoder) error + type UInt64 uint64 + func (num *UInt64) UnmarshalJSON(data []byte) error + func (num UInt64) Marshal(enc *util.TypeEncoder) error + type UInt8 uint8 + func (num *UInt8) UnmarshalJSON(data []byte) error + func (num UInt8) Marshal(enc *util.TypeEncoder) error + type VestingBalance struct + Balance AssetAmount + ID GrapheneID + Owner GrapheneID + Policy VestingPolicy + func (j *VestingBalance) MarshalJSON() ([]byte, error) + func (j *VestingBalance) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *VestingBalance) UnmarshalJSON(input []byte) error + func (j *VestingBalance) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type VestingBalanceWorkerInitializer struct + PayVestingPeriodDays UInt16 + func (p VestingBalanceWorkerInitializer) Marshal(enc *util.TypeEncoder) error + type VestingBalances []VestingBalance + type VestingPolicy struct + func (p *VestingPolicy) UnmarshalJSON(data []byte) error + func (p VestingPolicy) Marshal(enc *util.TypeEncoder) error + func (p VestingPolicy) MarshalJSON() ([]byte, error) + type VestingPolicyType UInt8 + const VestingPolicyTypeCCD + const VestingPolicyTypeLinear + type Volume24 struct + Base GrapheneID + BaseVolume Float64 + Quote GrapheneID + QuoteVolume Float64 + Time Time + func (j *Volume24) MarshalJSON() ([]byte, error) + func (j *Volume24) MarshalJSONBuf(buf fflib.EncodingBuffer) error + func (j *Volume24) UnmarshalJSON(input []byte) error + func (j *Volume24) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error + type VoteID struct + func NewVoteID(id string) *VoteID + func (p *VoteID) UnmarshalJSON(data []byte) error + func (p VoteID) Marshal(enc *util.TypeEncoder) error + func (p VoteID) MarshalJSON() ([]byte, error) + type Votes []VoteID + func (p Votes) Marshal(enc *util.TypeEncoder) error + type WorkerInitializer struct + Initializer interface{} + Type WorkerInitializerType + func (p *WorkerInitializer) UnmarshalJSON(data []byte) error + func (p WorkerInitializer) Marshal(enc *util.TypeEncoder) error + func (p WorkerInitializer) MarshalJSON() ([]byte, error) + type WorkerInitializerType UInt8 + const WorkerInitializerTypeBurn + const WorkerInitializerTypeRefund + const WorkerInitializerTypeVestingBalance