Versions in this module Expand all Collapse all v8 v8.0.12 Jun 27, 2022 v8.0.11 Jun 27, 2022 v8.0.10 Jun 23, 2022 v8.0.9 Jun 23, 2022 v8.0.8 Jun 22, 2022 v8.0.6 Jun 17, 2022 v8.0.5 Jun 17, 2022 v8.0.4 Jun 17, 2022 v8.0.3 Jun 17, 2022 v8.0.2 Jun 17, 2022 v8.0.0 Jun 14, 2022 Changes in this version + type AddNodeCmd struct + Addr string + SubCmd AddNodeSubCmd + func NewAddNodeCmd(addr string, subCmd AddNodeSubCmd) *AddNodeCmd + type AddNodeSubCmd string + const ANAdd + const ANOneTry + const ANRemove + type Agenda struct + Choices []Choice + Description string + ExpireTime uint64 + ID string + Mask uint16 + QuorumProgress float64 + StartTime uint64 + Status string + type AgendaInfo struct + ExpireTime uint64 + Since int64 + StartTime uint64 + Status string + type AuthenticateCmd struct + Passphrase string + Username string + func NewAuthenticateCmd(username, passphrase string) *AuthenticateCmd + type BlockConnectedNtfn struct + Header string + SubscribedTxs []string + func NewBlockConnectedNtfn(header string, subscribedTxs []string) *BlockConnectedNtfn + type BlockDisconnectedNtfn struct + Header string + func NewBlockDisconnectedNtfn(header string) *BlockDisconnectedNtfn + type Choice struct + Bits uint16 + Count uint32 + Description string + ID string + IsAbstain bool + IsNo bool + Progress float64 + type CreateRawSSRtxCmd struct + Fee *float64 + Inputs []TransactionInput + func NewCreateRawSSRtxCmd(inputs []TransactionInput, fee *float64) *CreateRawSSRtxCmd + type CreateRawSStxCmd struct + Amount map[string]int64 + COuts []SStxCommitOut + Inputs []SStxInput + func NewCreateRawSStxCmd(inputs []SStxInput, amount map[string]int64, couts []SStxCommitOut) *CreateRawSStxCmd + type CreateRawTransactionCmd struct + Amounts map[string]float64 + Expiry *int64 + Inputs []TransactionInput + LockTime *int64 + func NewCreateRawTransactionCmd(inputs []TransactionInput, amounts map[string]float64, lockTime *int64, ...) *CreateRawTransactionCmd + type DebugLevelCmd struct + LevelSpec string + func NewDebugLevelCmd(levelSpec string) *DebugLevelCmd + type DecodeRawTransactionCmd struct + HexTx string + func NewDecodeRawTransactionCmd(hexTx string) *DecodeRawTransactionCmd + type DecodeScriptCmd struct + HexScript string + Version *uint16 + func NewDecodeScriptCmd(hexScript string) *DecodeScriptCmd + type DecodeScriptResult struct + Addresses []string + Asm string + P2sh string + ReqSigs int32 + Type string + type EstimateFeeCmd struct + NumBlocks int64 + func NewEstimateFeeCmd(numBlocks int64) *EstimateFeeCmd + type EstimateSmartFeeCmd struct + Confirmations int64 + Mode *EstimateSmartFeeMode + func NewEstimateSmartFeeCmd(confirmations int64, mode *EstimateSmartFeeMode) *EstimateSmartFeeCmd + type EstimateSmartFeeMode string + const EstimateSmartFeeConservative + const EstimateSmartFeeEconomical + func EstimateSmartFeeModeAddr(v EstimateSmartFeeMode) *EstimateSmartFeeMode + type EstimateSmartFeeResult struct + Blocks int64 + Errors []string + FeeRate float64 + type EstimateStakeDiffCmd struct + Tickets *uint32 + func NewEstimateStakeDiffCmd(tickets *uint32) *EstimateStakeDiffCmd + type EstimateStakeDiffResult struct + Expected float64 + Max float64 + Min float64 + User *float64 + type ExistsAddressCmd struct + Address string + func NewExistsAddressCmd(address string) *ExistsAddressCmd + type ExistsAddressesCmd struct + Addresses []string + func NewExistsAddressesCmd(addresses []string) *ExistsAddressesCmd + type ExistsExpiredTicketsCmd struct + TxHashes []string + func NewExistsExpiredTicketsCmd(txHashes []string) *ExistsExpiredTicketsCmd + type ExistsLiveTicketCmd struct + TxHash string + func NewExistsLiveTicketCmd(txHash string) *ExistsLiveTicketCmd + type ExistsLiveTicketsCmd struct + TxHashes []string + func NewExistsLiveTicketsCmd(txHashes []string) *ExistsLiveTicketsCmd + type ExistsMempoolTxsCmd struct + TxHashes []string + func NewExistsMempoolTxsCmd(txHashes []string) *ExistsMempoolTxsCmd + type ExistsMissedTicketsCmd struct + TxHashes []string + func NewExistsMissedTicketsCmd(txHashes []string) *ExistsMissedTicketsCmd + type FeeInfoBlock struct + Height uint32 + Max float64 + Mean float64 + Median float64 + Min float64 + Number uint32 + StdDev float64 + type FeeInfoMempool struct + Max float64 + Mean float64 + Median float64 + Min float64 + Number uint32 + StdDev float64 + type FeeInfoRange struct + Max float64 + Mean float64 + Median float64 + Min float64 + Number uint32 + StdDev float64 + type FeeInfoWindow struct + EndHeight uint32 + Max float64 + Mean float64 + Median float64 + Min float64 + Number uint32 + StartHeight uint32 + StdDev float64 + type GenerateCmd struct + NumBlocks uint32 + func NewGenerateCmd(numBlocks uint32) *GenerateCmd + type GetAddedNodeInfoCmd struct + DNS bool + Node *string + func NewGetAddedNodeInfoCmd(dns bool, node *string) *GetAddedNodeInfoCmd + type GetAddedNodeInfoResult struct + AddedNode string + Addresses *[]GetAddedNodeInfoResultAddr + Connected *bool + type GetAddedNodeInfoResultAddr struct + Address string + Connected string + type GetBestBlockCmd struct + func NewGetBestBlockCmd() *GetBestBlockCmd + type GetBestBlockHashCmd struct + func NewGetBestBlockHashCmd() *GetBestBlockHashCmd + type GetBestBlockResult struct + Hash string + Height int64 + type GetBlockChainInfoCmd struct + func NewGetBlockChainInfoCmd() *GetBlockChainInfoCmd + type GetBlockChainInfoResult struct + BestBlockHash string + Blocks int64 + Chain string + ChainWork string + Deployments map[string]AgendaInfo + Difficulty uint32 + DifficultyRatio float64 + Headers int64 + InitialBlockDownload bool + MaxBlockSize int64 + SyncHeight int64 + VerificationProgress float64 + type GetBlockCmd struct + Hash string + Verbose *bool + VerboseTx *bool + func NewGetBlockCmd(hash string, verbose, verboseTx *bool) *GetBlockCmd + type GetBlockCountCmd struct + func NewGetBlockCountCmd() *GetBlockCountCmd + type GetBlockHashCmd struct + Index int64 + func NewGetBlockHashCmd(index int64) *GetBlockHashCmd + type GetBlockHeaderCmd struct + Hash string + Verbose *bool + func NewGetBlockHeaderCmd(hash string, verbose *bool) *GetBlockHeaderCmd + type GetBlockHeaderVerboseResult struct + Bits string + ChainWork string + Confirmations int64 + Difficulty float64 + ExtraData string + FinalState string + FreshStake uint8 + Hash string + Height uint32 + MerkleRoot string + NextHash string + Nonce uint32 + PoolSize uint32 + PreviousHash string + Revocations uint8 + SBits float64 + Size uint32 + StakeRoot string + StakeVersion uint32 + Time int64 + Version int32 + VoteBits uint16 + Voters uint16 + type GetBlockSubsidyCmd struct + Height int64 + Voters uint16 + func NewGetBlockSubsidyCmd(height int64, voters uint16) *GetBlockSubsidyCmd + type GetBlockSubsidyResult struct + Developer int64 + PoS int64 + PoW int64 + Total int64 + type GetBlockTemplateCmd struct + Request *TemplateRequest + func NewGetBlockTemplateCmd(request *TemplateRequest) *GetBlockTemplateCmd + type GetBlockTemplateResult struct + Capabilities []string + CoinbaseAux *GetBlockTemplateResultAux + CoinbaseTxn *GetBlockTemplateResultTx + CoinbaseValue *int64 + Expires int64 + Header string + LongPollID string + LongPollURI string + MaxTime int64 + MinTime int64 + Mutable []string + NonceRange string + RejectReasion string + STransactions []GetBlockTemplateResultTx + SigOpLimit int64 + SizeLimit int64 + SubmitOld *bool + Target string + Transactions []GetBlockTemplateResultTx + WorkID string + type GetBlockTemplateResultAux struct + Flags string + type GetBlockTemplateResultTx struct + Data string + Depends []int64 + Fee int64 + Hash string + SigOps int64 + TxType string + type GetBlockVerboseResult struct + Bits string + ChainWork string + Confirmations int64 + Difficulty float64 + ExtraData string + FinalState string + FreshStake uint8 + Hash string + Height int64 + MerkleRoot string + NextHash string + Nonce uint32 + PoolSize uint32 + PreviousHash string + RawSTx []TxRawResult + RawTx []TxRawResult + Revocations uint8 + SBits float64 + STx []string + Size int32 + StakeRoot string + StakeVersion uint32 + Time int64 + Tx []string + Version int32 + VoteBits uint16 + Voters uint16 + type GetCFilterCmd struct + FilterType string + Hash string + func NewGetCFilterCmd(hash string, filterType string) *GetCFilterCmd + type GetCFilterHeaderCmd struct + FilterType string + Hash string + func NewGetCFilterHeaderCmd(hash string, filterType string) *GetCFilterHeaderCmd + type GetChainTipsCmd struct + func NewGetChainTipsCmd() *GetChainTipsCmd + type GetChainTipsResult struct + BranchLen int64 + Hash string + Height int64 + Status string + type GetCoinSupplyCmd struct + func NewGetCoinSupplyCmd() *GetCoinSupplyCmd + type GetConnectionCountCmd struct + func NewGetConnectionCountCmd() *GetConnectionCountCmd + type GetCurrentNetCmd struct + func NewGetCurrentNetCmd() *GetCurrentNetCmd + type GetDifficultyCmd struct + func NewGetDifficultyCmd() *GetDifficultyCmd + type GetGenerateCmd struct + func NewGetGenerateCmd() *GetGenerateCmd + type GetHashesPerSecCmd struct + func NewGetHashesPerSecCmd() *GetHashesPerSecCmd + type GetHeadersCmd struct + BlockLocators []string + HashStop string + func NewGetHeadersCmd(blockLocators []string, hashStop string) *GetHeadersCmd + type GetHeadersResult struct + Headers []string + type GetInfoCmd struct + func NewGetInfoCmd() *GetInfoCmd + type GetMempoolInfoCmd struct + func NewGetMempoolInfoCmd() *GetMempoolInfoCmd + type GetMempoolInfoResult struct + Bytes int64 + Size int64 + type GetMiningInfoCmd struct + func NewGetMiningInfoCmd() *GetMiningInfoCmd + type GetMiningInfoResult struct + Blocks int64 + CurrentBlockSize uint64 + CurrentBlockTx uint64 + Difficulty float64 + Errors string + GenProcLimit int32 + Generate bool + HashesPerSec int64 + NetworkHashPS int64 + PooledTx uint64 + StakeDifficulty int64 + TestNet bool + type GetNetTotalsCmd struct + func NewGetNetTotalsCmd() *GetNetTotalsCmd + type GetNetTotalsResult struct + TimeMillis int64 + TotalBytesRecv uint64 + TotalBytesSent uint64 + type GetNetworkHashPSCmd struct + Blocks *int + Height *int + func NewGetNetworkHashPSCmd(numBlocks, height *int) *GetNetworkHashPSCmd + type GetNetworkInfoCmd struct + func NewGetNetworkInfoCmd() *GetNetworkInfoCmd + type GetNetworkInfoResult struct + Connections int32 + LocalAddresses []LocalAddressesResult + Networks []NetworksResult + ProtocolVersion int32 + RelayFee float64 + TimeOffset int64 + Version int32 + type GetPeerInfoCmd struct + func NewGetPeerInfoCmd() *GetPeerInfoCmd + type GetPeerInfoResult struct + Addr string + AddrLocal string + BanScore int32 + BytesRecv uint64 + BytesSent uint64 + ConnTime int64 + CurrentHeight int64 + ID int32 + Inbound bool + LastRecv int64 + LastSend int64 + PingTime float64 + PingWait float64 + RelayTxes bool + Services string + StartingHeight int64 + SubVer string + SyncNode bool + TimeOffset int64 + Version uint32 + type GetRawMempoolCmd struct + TxType *string + Verbose *bool + func NewGetRawMempoolCmd(verbose *bool, txType *string) *GetRawMempoolCmd + type GetRawMempoolTxTypeCmd string + const GRMAll + const GRMRegular + const GRMRevocations + const GRMTickets + const GRMVotes + type GetRawMempoolVerboseResult struct + CurrentPriority float64 + Depends []string + Fee float64 + Height int64 + Size int32 + StartingPriority float64 + Time int64 + type GetRawTransactionCmd struct + Txid string + Verbose *int + func NewGetRawTransactionCmd(txHash string, verbose *int) *GetRawTransactionCmd + type GetStakeDifficultyCmd struct + func NewGetStakeDifficultyCmd() *GetStakeDifficultyCmd + type GetStakeDifficultyResult struct + CurrentStakeDifficulty float64 + NextStakeDifficulty float64 + type GetStakeVersionInfoCmd struct + Count *int32 + func NewGetStakeVersionInfoCmd(count int32) *GetStakeVersionInfoCmd + type GetStakeVersionInfoResult struct + CurrentHeight int64 + Hash string + Intervals []VersionInterval + type GetStakeVersionsCmd struct + Count int32 + Hash string + func NewGetStakeVersionsCmd(hash string, count int32) *GetStakeVersionsCmd + type GetStakeVersionsResult struct + StakeVersions []StakeVersions + type GetTicketPoolValueCmd struct + func NewGetTicketPoolValueCmd() *GetTicketPoolValueCmd + type GetTxOutCmd struct + IncludeMempool *bool + Txid string + Vout uint32 + func NewGetTxOutCmd(txHash string, vout uint32, includeMempool *bool) *GetTxOutCmd + type GetTxOutResult struct + BestBlock string + Coinbase bool + Confirmations int64 + ScriptPubKey ScriptPubKeyResult + Value float64 + Version int32 + type GetTxOutSetInfoCmd struct + func NewGetTxOutSetInfoCmd() *GetTxOutSetInfoCmd + type GetVoteInfoCmd struct + Version uint32 + func NewGetVoteInfoCmd(version uint32) *GetVoteInfoCmd + type GetVoteInfoResult struct + Agendas []Agenda + CurrentHeight int64 + EndHeight int64 + Hash string + Quorum uint32 + StartHeight int64 + TotalVotes uint32 + VoteVersion uint32 + type GetWorkCmd struct + Data *string + func NewGetWorkCmd(data *string) *GetWorkCmd + type GetWorkResult struct + Data string + Target string + type HelpCmd struct + Command *string + func NewHelpCmd(command *string) *HelpCmd + type InfoChainResult struct + Blocks int64 + Connections int32 + Difficulty float64 + Errors string + ProtocolVersion int32 + Proxy string + RelayFee float64 + TestNet bool + TimeOffset int64 + Version int32 + type LiveTicketsCmd struct + func NewLiveTicketsCmd() *LiveTicketsCmd + type LiveTicketsResult struct + Tickets []string + type LoadTxFilterCmd struct + Addresses []string + OutPoints []OutPoint + Reload bool + func NewLoadTxFilterCmd(reload bool, addresses []string, outPoints []OutPoint) *LoadTxFilterCmd + type LocalAddressesResult struct + Address string + Port uint16 + Score int32 + type Method string + const BlockConnectedNtfnMethod + const BlockDisconnectedNtfnMethod + const NewTicketsNtfnMethod + const RelevantTxAcceptedNtfnMethod + const ReorganizationNtfnMethod + const SpentAndMissedTicketsNtfnMethod + const StakeDifficultyNtfnMethod + const TxAcceptedNtfnMethod + const TxAcceptedVerboseNtfnMethod + const WinningTicketsNtfnMethod + type MissedTicketsCmd struct + func NewMissedTicketsCmd() *MissedTicketsCmd + type MissedTicketsResult struct + Tickets []string + type NetworksResult struct + Limited bool + Name string + Proxy string + ProxyRandomizeCredentials bool + Reachable bool + type NewTicketsNtfn struct + Hash string + Height int32 + StakeDiff int64 + Tickets []string + func NewNewTicketsNtfn(hash string, height int32, stakeDiff int64, tickets []string) *NewTicketsNtfn + type NodeCmd struct + ConnectSubCmd *string + SubCmd NodeSubCmd + Target string + func NewNodeCmd(subCmd NodeSubCmd, target string, connectSubCmd *string) *NodeCmd + type NodeSubCmd string + const NConnect + const NDisconnect + const NRemove + type NotifyBlocksCmd struct + func NewNotifyBlocksCmd() *NotifyBlocksCmd + type NotifyNewTicketsCmd struct + func NewNotifyNewTicketsCmd() *NotifyNewTicketsCmd + type NotifyNewTransactionsCmd struct + Verbose *bool + func NewNotifyNewTransactionsCmd(verbose *bool) *NotifyNewTransactionsCmd + type NotifySpentAndMissedTicketsCmd struct + func NewNotifySpentAndMissedTicketsCmd() *NotifySpentAndMissedTicketsCmd + type NotifyStakeDifficultyCmd struct + func NewNotifyStakeDifficultyCmd() *NotifyStakeDifficultyCmd + type NotifyWinningTicketsCmd struct + func NewNotifyWinningTicketsCmd() *NotifyWinningTicketsCmd + type OutPoint struct + Hash string + Index uint32 + Tree int8 + type PingCmd struct + func NewPingCmd() *PingCmd + type PrevOut struct + Addresses []string + Value float64 + type RebroadcastMissedCmd struct + func NewRebroadcastMissedCmd() *RebroadcastMissedCmd + type RebroadcastWinnersCmd struct + func NewRebroadcastWinnersCmd() *RebroadcastWinnersCmd + type RelevantTxAcceptedNtfn struct + Transaction string + func NewRelevantTxAcceptedNtfn(txHex string) *RelevantTxAcceptedNtfn + type ReorganizationNtfn struct + NewHash string + NewHeight int32 + OldHash string + OldHeight int32 + func NewReorganizationNtfn(oldHash string, oldHeight int32, newHash string, newHeight int32) *ReorganizationNtfn + type RescanCmd struct + BlockHashes []string + func NewRescanCmd(blockHashes []string) *RescanCmd + type RescanResult struct + DiscoveredData []RescannedBlock + type RescannedBlock struct + Hash string + Transactions []string + type SStxCommitOut struct + Addr string + ChangeAddr string + ChangeAmt int64 + CommitAmt int64 + type SStxInput struct + Amt int64 + Tree int8 + Txid string + Vout uint32 + type ScriptPubKeyResult struct + Addresses []string + Asm string + CommitAmt *float64 + Hex string + ReqSigs int32 + Type string + type ScriptSig struct + Asm string + Hex string + type SearchRawTransactionsCmd struct + Address string + Count *int + FilterAddrs *[]string + Reverse *bool + Skip *int + Verbose *int + VinExtra *int + func NewSearchRawTransactionsCmd(address string, verbose, skip, count *int, vinExtra *int, reverse *bool, ...) *SearchRawTransactionsCmd + type SearchRawTransactionsResult struct + BlockHash string + BlockHeight int64 + BlockIndex uint32 + Blocktime int64 + Confirmations uint64 + Expiry uint32 + Hex string + LockTime uint32 + Time int64 + Txid string + Version int32 + Vin []VinPrevOut + Vout []Vout + type SendRawTransactionCmd struct + AllowHighFees *bool + HexTx string + func NewSendRawTransactionCmd(hexTx string, allowHighFees *bool) *SendRawTransactionCmd + type SessionCmd struct + func NewSessionCmd() *SessionCmd + type SessionResult struct + SessionID uint64 + type SetGenerateCmd struct + GenProcLimit *int + Generate bool + func NewSetGenerateCmd(generate bool, genProcLimit *int) *SetGenerateCmd + type SpentAndMissedTicketsNtfn struct + Hash string + Height int32 + StakeDiff int64 + Tickets map[string]string + func NewSpentAndMissedTicketsNtfn(hash string, height int32, stakeDiff int64, tickets map[string]string) *SpentAndMissedTicketsNtfn + type StakeDifficultyNtfn struct + BlockHash string + BlockHeight int32 + StakeDiff int64 + func NewStakeDifficultyNtfn(hash string, height int32, stakeDiff int64) *StakeDifficultyNtfn + type StakeVersions struct + BlockVersion int32 + Hash string + Height int64 + StakeVersion uint32 + Votes []VersionBits + type StopCmd struct + func NewStopCmd() *StopCmd + type StopNotifyBlocksCmd struct + func NewStopNotifyBlocksCmd() *StopNotifyBlocksCmd + type StopNotifyNewTransactionsCmd struct + func NewStopNotifyNewTransactionsCmd() *StopNotifyNewTransactionsCmd + type SubmitBlockCmd struct + HexBlock string + Options *SubmitBlockOptions + func NewSubmitBlockCmd(hexBlock string, options *SubmitBlockOptions) *SubmitBlockCmd + type SubmitBlockOptions struct + WorkID string + type TemplateRequest struct + Capabilities []string + Data string + LongPollID string + MaxVersion uint32 + Mode string + SigOpLimit interface{} + SizeLimit interface{} + Target string + WorkID string + func (t *TemplateRequest) UnmarshalJSON(data []byte) error + type Ticket struct + Hash string + Owner string + type TicketFeeInfoCmd struct + Blocks *uint32 + Windows *uint32 + func NewTicketFeeInfoCmd(blocks *uint32, windows *uint32) *TicketFeeInfoCmd + type TicketFeeInfoResult struct + FeeInfoBlocks []FeeInfoBlock + FeeInfoMempool FeeInfoMempool + FeeInfoWindows []FeeInfoWindow + type TicketVWAPCmd struct + End *uint32 + Start *uint32 + func NewTicketVWAPCmd(start *uint32, end *uint32) *TicketVWAPCmd + type TicketsForAddressCmd struct + Address string + func NewTicketsForAddressCmd(addr string) *TicketsForAddressCmd + type TicketsForAddressResult struct + Tickets []string + type TransactionInput struct + Amount float64 + Tree int8 + Txid string + Vout uint32 + type TxAcceptedNtfn struct + Amount float64 + TxID string + func NewTxAcceptedNtfn(txHash string, amount float64) *TxAcceptedNtfn + type TxAcceptedVerboseNtfn struct + RawTx TxRawResult + func NewTxAcceptedVerboseNtfn(rawTx TxRawResult) *TxAcceptedVerboseNtfn + type TxFeeInfoCmd struct + Blocks *uint32 + RangeEnd *uint32 + RangeStart *uint32 + func NewTxFeeInfoCmd(blocks *uint32, start *uint32, end *uint32) *TxFeeInfoCmd + type TxFeeInfoResult struct + FeeInfoBlocks []FeeInfoBlock + FeeInfoMempool FeeInfoMempool + FeeInfoRange FeeInfoRange + type TxRawDecodeResult struct + Expiry uint32 + Locktime uint32 + Txid string + Version int32 + Vin []Vin + Vout []Vout + type TxRawResult struct + BlockHash string + BlockHeight int64 + BlockIndex uint32 + Blocktime int64 + Confirmations int64 + Expiry uint32 + Hex string + LockTime uint32 + Time int64 + Txid string + Version int32 + Vin []Vin + Vout []Vout + type ValidateAddressChainResult struct + Address string + IsValid bool + type ValidateAddressCmd struct + Address string + func NewValidateAddressCmd(address string) *ValidateAddressCmd + type VerifyChainCmd struct + CheckDepth *int64 + CheckLevel *int64 + func NewVerifyChainCmd(checkLevel, checkDepth *int64) *VerifyChainCmd + type VerifyMessageCmd struct + Address string + Message string + Signature string + func NewVerifyMessageCmd(address, signature, message string) *VerifyMessageCmd + type VersionBits struct + Bits uint16 + Version uint32 + type VersionCmd struct + func NewVersionCmd() *VersionCmd + type VersionCount struct + Count uint32 + Version uint32 + type VersionInterval struct + EndHeight int64 + PoSVersions []VersionCount + StartHeight int64 + VoteVersions []VersionCount + type VersionResult struct + BuildMetadata string + Major uint32 + Minor uint32 + Patch uint32 + Prerelease string + VersionString string + type Vin struct + AmountIn float64 + BlockHeight uint32 + BlockIndex uint32 + Coinbase string + ScriptSig *ScriptSig + Sequence uint32 + Stakebase string + Tree int8 + Txid string + Vout uint32 + func (v *Vin) IsCoinBase() bool + func (v *Vin) IsStakeBase() bool + func (v *Vin) MarshalJSON() ([]byte, error) + type VinPrevOut struct + AmountIn *float64 + BlockHeight *uint32 + BlockIndex *uint32 + Coinbase string + PrevOut *PrevOut + ScriptSig *ScriptSig + Sequence uint32 + Stakebase string + Tree int8 + Txid string + Vout uint32 + func (v *VinPrevOut) IsCoinBase() bool + func (v *VinPrevOut) IsStakeBase() bool + func (v *VinPrevOut) MarshalJSON() ([]byte, error) + type Vout struct + N uint32 + ScriptPubKey ScriptPubKeyResult + Value float64 + Version uint16 + type WinningTicketsNtfn struct + BlockHash string + BlockHeight int32 + Tickets map[string]string + func NewWinningTicketsNtfn(hash string, height int32, tickets map[string]string) *WinningTicketsNtfn