Versions in this module Expand all Collapse all v0 v0.22.0 Mar 17, 2020 Changes in this version + func JSONMarshal(t interface{}) ([]byte, error) + type AccountReferral struct + BreakFee Asset + EndDate Time + InterestRate uint16 + Referrer string + func (cp *AccountReferral) MarshalTransaction(encoder *transaction.Encoder) error + type Asset struct + Amount float64 + Symbol string + func (op *Asset) MarshalJSON() ([]byte, error) + func (op *Asset) MarshalTransaction(encoder *transaction.Encoder) error + func (op *Asset) String() string + func (op *Asset) StringAmount() string + func (op *Asset) UnmarshalJSON(data []byte) error + type Authority struct + AccountAuths StringInt64Map + KeyAuths StringInt64Map + WeightThreshold uint32 + func (auth *Authority) MarshalTransaction(encoder *transaction.Encoder) error + type Beneficiary struct + Account string + Weight uint16 + type ChainProperties struct + AccountCreationFee Asset + AccountIdlenessTime uint32 + AllowDistributeAuctionReward bool + AllowReturnAuctionRewardToFund bool + AuctionWindowSize uint16 + CommentsPerWindow uint16 + CommentsWindow uint16 + CreateAccountDelegationTime uint32 + CreateAccountMinDelegation Asset + CreateAccountMinGolosFee Asset + CurationRewardCurve string + CustomOpsBandwidthMultiplier uint16 + MaxCurationPercent uint16 + MaxDelegatedVestingInterestRate uint16 + MaxReferralBreakFee Asset + MaxReferralInterestRate uint16 + MaxReferralTermSec uint32 + MaximumBlockSize uint32 + MinCurationPercent uint16 + MinDelegation Asset + MinReferralBreakFee Asset + PostsPerWindow uint16 + PostsWindow uint16 + SBDInterestRate uint16 + SbdDebtConvertRate uint16 + VestingRewardPercent uint16 + VoteRegenerationPerDay uint32 + VotesPerWindow uint16 + VotesWindow uint16 + WitnessIdlenessTime uint32 + WitnessRewardPercent uint16 + WitnessSkippingResetTime uint32 + WorkerRequestApproveMinPercent uint16 + WorkerRequestCreationFee Asset + WorkerRewardPercent uint16 + func (cp *ChainProperties) MarshalTransaction(encoder *transaction.Encoder) error + type ChainPropertiesOLD struct + AccountCreationFee *Asset + MaximumBlockSize uint32 + SBDInterestRate uint16 + func (cp *ChainPropertiesOLD) MarshalTransaction(encoder *transaction.Encoder) error + type CommentAuctionWindowRewardDestination struct + Destination int + func (cp *CommentAuctionWindowRewardDestination) MarshalTransaction(encoder *transaction.Encoder) error + type CommentCurationRewardsPercent struct + Percent uint16 + func (cp *CommentCurationRewardsPercent) MarshalTransaction(encoder *transaction.Encoder) error + type CommentPayoutBeneficiaries struct + Beneficiaries []Beneficiary + func (cp *CommentPayoutBeneficiaries) MarshalTransaction(encoder *transaction.Encoder) error + type ExchRate struct + Base *Asset + Quote *Asset + func (exch *ExchRate) MarshalTransaction(encoder *transaction.Encoder) error + type Int struct + func (num *Int) UnmarshalJSON(data []byte) error + type Int16 int16 + func (num *Int16) UnmarshalJSON(data []byte) error + func (num Int16) MarshalTransaction(encoder *transaction.Encoder) error + type Int32 int32 + func (num *Int32) UnmarshalJSON(data []byte) error + func (num Int32) MarshalTransaction(encoder *transaction.Encoder) error + type Int64 int64 + func (num *Int64) UnmarshalJSON(data []byte) error + func (num Int64) MarshalTransaction(encoder *transaction.Encoder) error + type Int8 int8 + func (num *Int8) UnmarshalJSON(data []byte) error + func (num Int8) MarshalTransaction(encoder *transaction.Encoder) error + type OperationResponse struct + BlockNum int32 + Expired bool + ID string + JSONTrx string + TrxNum int32 + type POW struct + Input string + Signature string + Work string + Worker string + type POW2Input struct + Nonce uint64 + PrevBlock []byte + WorkerAccount string + type RPCError struct + Code int + Data struct{ ... } + Message string + func (e *RPCError) Error() string + type RPCIncoming struct + ID uint64 + JSON string + Result json.RawMessage + type RPCRequest struct + ID uint64 + JSON string + Method string + Params interface{} + type RPCResponse struct + Error *RPCError + ID uint64 + JSON string + Result *json.RawMessage + type StringInt64Map map[string]int64 + func (m *StringInt64Map) UnmarshalJSON(data []byte) error + func (m StringInt64Map) MarshalJSON() ([]byte, error) + type StringSlice []string + func (ss *StringSlice) UnmarshalJSON(data []byte) error + type Time struct + func (t *Time) MarshalJSON() ([]byte, error) + func (t *Time) MarshalTransaction(encoder *transaction.Encoder) error + func (t *Time) UnmarshalJSON(data []byte) error + type UInt uint + func (num *UInt) UnmarshalJSON(data []byte) error + func (num UInt) MarshalTransaction(encoder *transaction.Encoder) error + type UInt16 uint16 + func (num *UInt16) UnmarshalJSON(data []byte) error + func (num UInt16) MarshalTransaction(encoder *transaction.Encoder) error + type UInt32 uint32 + func (num *UInt32) UnmarshalJSON(data []byte) error + func (num UInt32) MarshalTransaction(encoder *transaction.Encoder) error + type UInt64 uint64 + func (num *UInt64) UnmarshalJSON(data []byte) error + func (num UInt64) MarshalTransaction(encoder *transaction.Encoder) error + type UInt8 uint8 + func (num *UInt8) UnmarshalJSON(data []byte) error + func (num UInt8) MarshalTransaction(encoder *transaction.Encoder) error