Documentation ¶
Index ¶
- type BaseTransactionsRes
- type ClusterStampDataRow
- type CurrencyTypeDataRes
- type OriginatorCurrencyDataRes
- type SyncResponse
- type TokenGenerationServiceDataRes
- type TokenMintingServiceDataRes
- type TransactionByHashRequest
- type TransactionResponse
- type TransactionsLastIndex
- type TransactionsLastIndexChanelResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseTransactionsRes ¶
type BaseTransactionsRes struct { TransactionHash *string `json:"transactionHash"` AddressHash string `json:"addressHash"` Amount decimal.Decimal `json:"amount"` OriginalAmount decimal.NullDecimal `json:"originalAmount"` Hash string `json:"hash"` Name string `json:"name"` CreateTime decimal.Decimal `json:"createTime"` ReducedAmount decimal.Decimal `json:"reducedAmount"` ReceiverDescription *string `json:"receiverDescription"` CurrencyHash *string `json:"currencyHash"` OriginalCurrencyHash *string `json:"originalCurrencyHash"` SignerHash *string `json:"signerHash"` TokenGenerationServiceData TokenGenerationServiceDataRes `json:"tokenGenerationServiceData"` TokenMintingServiceData TokenMintingServiceDataRes `json:"tokenMintingServiceData"` Event *string `json:"event"` HardFork *bool `json:"hardFork"` }
type ClusterStampDataRow ¶
type CurrencyTypeDataRes ¶
type CurrencyTypeDataRes struct { CurrencyType *string `json:"currencyType"` CurrencyRateSourceType *string `json:"currencyRateSourceType"` RateSource *string `json:"rateSource"` ProtectionModel *string `json:"protectionModel"` SignerHash *string `json:"SignerHash"` CreateTime decimal.Decimal `json:"createTime"` }
type SyncResponse ¶
type SyncResponse struct { NodeMaxIndex int64 `json:"nodeMaxIndex"` NodeLastIndex int64 `json:"nodeLastIndex"` BackupNodeLastIndex int64 `json:"backupNodeLastIndex"` SyncIterationLastTransactionIndex int64 `json:"SyncIterationLastTransactionIndex"` LastMonitoredTransactionIndex int64 `json:"lastMonitoredTransactionIndex"` SyncPercentage float64 `json:"syncPercentage"` IsNodeSynced bool `json:"isNodeSynced"` }
type TokenGenerationServiceDataRes ¶
type TokenGenerationServiceDataRes struct { OriginatorCurrencyData OriginatorCurrencyDataRes `json:"originatorCurrencyData"` CurrencyTypeData CurrencyTypeDataRes `json:"currencyTypeData"` FeeAmount decimal.Decimal `json:"feeAmount"` }
type TokenMintingServiceDataRes ¶
type TokenMintingServiceDataRes struct { FeeAmount decimal.Decimal `json:"feeAmount"` MintingCurrencyHash string `json:"mintingCurrencyHash"` MintingAmount decimal.Decimal `json:"mintingAmount"` ReceiverAddress string `json:"receiverAddress"` CreateTime decimal.Decimal `json:"createTime"` SignerHash string `json:"signerHash"` }
type TransactionByHashRequest ¶
type TransactionByHashRequest struct {
TransactionHashes []string `json:"transactionHashes"`
}
type TransactionResponse ¶
type TransactionResponse struct { Hash string `json:"hash"` Index *int32 `json:"index,omitempty"` Amount decimal.Decimal `json:"amount"` AttachmentTime decimal.Decimal `json:"attachmentTime"` IsValid *bool `json:"isValid"` CreateTime decimal.Decimal `json:"createTime"` LeftParentHash *string `json:"leftParentHash"` RightParentHash *string `json:"rightParentHash"` NodeHash *string `json:"nodeHash"` SenderHash *string `json:"senderHash"` SenderTrustScore float64 `json:"senderTrustScore"` TransactionConsensusUpdateTime decimal.NullDecimal `json:"transactionConsensusUpdateTime"` TransactionDescription *string `json:"transactionDescription"` TrustChainConsensus bool `json:"trustChainConsensus"` TrustChainTrustScore decimal.Decimal `json:"trustChainTrustScore"` Type *string `json:"type"` BaseTransactionsRes []BaseTransactionsRes `json:"baseTransactions"` }
type TransactionsLastIndex ¶
type TransactionsLastIndexChanelResult ¶
type TransactionsLastIndexChanelResult struct { Tran TransactionsLastIndex Error error }
Click to show internal directories.
Click to hide internal directories.