Versions in this module Expand all Collapse all v1 v1.0.2 Mar 23, 2022 v1.0.1 Mar 17, 2022 Changes in this version + const AccountBalanceNtfnMethod + const BlockConnectedNtfnMethod + const BlockDisconnectedNtfnMethod + const BtcdConnectedNtfnMethod + const NewTicketsNtfnMethod + const NewTxNtfnMethod + const RelevantTxAcceptedNtfnMethod + const ReorganizationNtfnMethod + const RevocationCreatedNtfnMethod + const SpentAndMissedTicketsNtfnMethod + const StakeDifficultyNtfnMethod + const TicketPurchasedNtfnMethod + const TxAcceptedNtfnMethod + const TxAcceptedVerboseNtfnMethod + const VoteCreatedNtfnMethod + const WalletLockStateNtfnMethod + const WinningTicketsNtfnMethod + var ErrBestBlockHash = Error + var ErrBlockCount = Error + var ErrBlockNotFound = Error + var ErrClientInInitialDownload = Error + var ErrClientNotConnected = Error + var ErrDatabase = Error + var ErrDecodeHexString = Error + var ErrDeserialization = Error + var ErrDifficulty = Error + var ErrForbiddenBySafeMode = Error + var ErrInternal = Error + var ErrInvalidAddressOrKey = Error + var ErrInvalidParameter = Error + var ErrInvalidParams = Error + var ErrInvalidRequest = Error + var ErrInvalidTxVout = Error + var ErrMethodNotFound = Error + var ErrMisc = Error + var ErrNoNewestBlockInfo = Error + var ErrNoTxInfo = Error + var ErrNoWallet = Error + var ErrOutOfMemory = Error + var ErrOutOfRange = Error + var ErrParse = Error + var ErrRPCInternal = &RPCError + var ErrRPCInvalidParams = &RPCError + var ErrRPCInvalidRequest = &RPCError + var ErrRPCMethodNotFound = &RPCError + var ErrRPCParse = &RPCError + var ErrRawTxString = Error + var ErrType = Error + var ErrUnimplemented = Error + var ErrWallet = Error + var ErrWalletAlreadyUnlocked = Error + var ErrWalletEncryptionFailed = Error + var ErrWalletInsufficientFunds = Error + var ErrWalletInvalidAccountName = Error + var ErrWalletKeypoolRanOut = Error + var ErrWalletPassphraseIncorrect = Error + var ErrWalletUnlockNeeded = Error + var ErrWalletWrongEncState = Error + func Bool(v bool) *bool + func CmdMethod(cmd interface{}) (string, error) + func DecodeConcatenatedHashes(hashes string) ([]chainhash.Hash, error) + func DecodeConcatenatedVoteBits(voteBitsString string) ([]stake.VoteBits, error) + func EncodeConcatenatedHashes(hashSlice []chainhash.Hash) string + func EncodeConcatenatedVoteBits(voteBitsSlice []stake.VoteBits) (string, error) + func Float64(v float64) *float64 + func GenerateHelp(method string, descs map[string]string, resultTypes ...interface{}) (string, error) + func Int(v int) *int + func Int32(v int32) *int32 + func Int64(v int64) *int64 + func IsValidIDType(id interface{}) bool + func MarshalCmd(id interface{}, cmd interface{}) ([]byte, error) + func MarshalResponse(id interface{}, result interface{}, rpcErr *RPCError) ([]byte, error) + func MethodUsageText(method string) (string, error) + func MustRegisterCmd(method string, cmd interface{}, flags UsageFlag) + func NewCmd(method string, args ...interface{}) (interface{}, error) + func RegisterCmd(method string, cmd interface{}, flags UsageFlag) error + func RegisteredCmdMethods() []string + func String(v string) *string + func Uint(v uint) *uint + func Uint32(v uint32) *uint32 + func Uint64(v uint64) *uint64 + func UnmarshalCmd(r *Request) (interface{}, error) + type AccountAddressIndexCmd struct + Account string + Branch int + func NewAccountAddressIndexCmd(acct string, branch int) *AccountAddressIndexCmd + type AccountBalanceNtfn struct + Account string + Balance float64 + Confirmed bool + func NewAccountBalanceNtfn(account string, balance float64, confirmed bool) *AccountBalanceNtfn + type AccountSyncAddressIndexCmd struct + Account string + Branch int + Index int + func NewAccountSyncAddressIndexCmd(acct string, branch int, idx int) *AccountSyncAddressIndexCmd + type AddMultisigAddressCmd struct + Account *string + Keys []string + NRequired int + func NewAddMultisigAddressCmd(nRequired int, keys []string, account *string) *AddMultisigAddressCmd + type AddNodeCmd struct + Addr string + SubCmd AddNodeSubCmd + func NewAddNodeCmd(addr string, subCmd AddNodeSubCmd) *AddNodeCmd + type AddNodeSubCmd string + const ANAdd + const ANOneTry + const ANRemove + type AddTicketCmd struct + TicketHex string + func NewAddTicketCmd(ticketHex string) *AddTicketCmd + type Agenda struct + Choices []Choice + Description string + ExpireTime uint64 + Id string + Mask uint16 + QuorumProgress float64 + 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 BtcdConnectedNtfn struct + Connected bool + func NewBtcdConnectedNtfn(connected bool) *BtcdConnectedNtfn + type Choice struct + Bits uint16 + Count uint32 + Description string + Id string + IsAbstain bool + IsNo bool + Progress float64 + type ConsolidateCmd struct + Account *string + Address *string + Inputs int + func NewConsolidateCmd(inputs int, acct *string, addr *string) *ConsolidateCmd + type CreateEncryptedWalletCmd struct + Passphrase string + func NewCreateEncryptedWalletCmd(passphrase string) *CreateEncryptedWalletCmd + type CreateMultiSigResult struct + Address string + RedeemScript string + type CreateMultisigCmd struct + Keys []string + NRequired int + func NewCreateMultisigCmd(nRequired int, keys []string) *CreateMultisigCmd + type CreateNewAccountCmd struct + Account string + AccountType string + func NewCreateNewAccountCmd(account string, acctype string) *CreateNewAccountCmd + type CreateRawSSGenTxCmd struct + Inputs []TransactionInput + VoteBits uint16 + func NewCreateRawSSGenTxCmd(inputs []TransactionInput, vb uint16) *CreateRawSSGenTxCmd + 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 + Inputs []TransactionInput + LockTime *int64 + PayLoad *string + 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 + func NewDecodeScriptCmd(hexScript string) *DecodeScriptCmd + type DecodeScriptResult struct + Addresses []string + Asm string + P2sh string + ReqSigs int32 + Type string + type DumpPrivKeyCmd struct + Address string + func NewDumpPrivKeyCmd(address string) *DumpPrivKeyCmd + type Error struct + Code ErrorCode + Message string + func (e Error) Error() string + type ErrorCode int + const ErrDuplicateMethod + const ErrEmbeddedType + const ErrInvalidType + const ErrInvalidUsageFlags + const ErrMismatchedDefault + const ErrMissingDescription + const ErrNonOptionalDefault + const ErrNonOptionalField + const ErrNumParams + const ErrUnexportedField + const ErrUnregisteredMethod + const ErrUnsupportedFieldType + func (e ErrorCode) String() string + type EstimateFeeCmd struct + NumBlocks int64 + func NewEstimateFeeCmd(numBlocks int64) *EstimateFeeCmd + type EstimatePriorityCmd struct + NumBlocks int64 + func NewEstimatePriorityCmd(numBlocks int64) *EstimatePriorityCmd + 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 + TxHashBlob string + func NewExistsExpiredTicketsCmd(txHashBlob string) *ExistsExpiredTicketsCmd + type ExistsLiveTicketCmd struct + TxHash string + func NewExistsLiveTicketCmd(txHash string) *ExistsLiveTicketCmd + type ExistsLiveTicketsCmd struct + TxHashBlob string + func NewExistsLiveTicketsCmd(txHashBlob string) *ExistsLiveTicketsCmd + type ExistsMempoolTxsCmd struct + TxHashBlob string + func NewExistsMempoolTxsCmd(txHashBlob string) *ExistsMempoolTxsCmd + type ExistsMissedTicketsCmd struct + TxHashBlob string + func NewExistsMissedTicketsCmd(txHashBlob string) *ExistsMissedTicketsCmd + type ExportWatchingWalletCmd struct + Account *string + Download *bool + func NewExportWatchingWalletCmd(account *string, download *bool) *ExportWatchingWalletCmd + 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 GenerateVoteCmd struct + BlockHash string + Height int64 + TicketHash string + VoteBits uint16 + VoteBitsExt string + func NewGenerateVoteCmd(blockhash string, height int64, tickethash string, votebits uint16, ...) *GenerateVoteCmd + type GenerateVoteResult struct + Hex string + type GetAccountAddressCmd struct + Account string + func NewGetAccountAddressCmd(account string) *GetAccountAddressCmd + type GetAccountBalanceResult struct + AccountName string + ImmatureCoinbaseRewards float64 + ImmatureStakeGeneration float64 + LockedByTickets float64 + Spendable float64 + Total float64 + Unconfirmed float64 + VotingAuthority float64 + type GetAccountCmd struct + Address string + func NewGetAccountCmd(address string) *GetAccountCmd + 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 GetAddressesByAccountCmd struct + Account string + func NewGetAddressesByAccountCmd(account string) *GetAddressesByAccountCmd + type GetBalanceCmd struct + Account *string + MinConf *int + func NewGetBalanceCmd(account *string, minConf *int) *GetBalanceCmd + type GetBalanceResult struct + Balances []GetAccountBalanceResult + BlockHash string + CumulativeTotal float64 + TotalImmatureCoinbaseRewards float64 + TotalImmatureStakeGeneration float64 + TotalLockedByTickets float64 + TotalSpendable float64 + TotalUnconfirmed float64 + TotalVotingAuthority float64 + 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 int32 + Chain string + ChainWork string + Difficulty float64 + DifficultyRatio float64 + Headers int32 + 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 + 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 + 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 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 GetMasterPubkeyCmd struct + Account *string + func NewGetMasterPubkeyCmd(acct *string) *GetMasterPubkeyCmd + 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 GetMultisigOutInfoCmd struct + Hash string + Index uint32 + func NewGetMultisigOutInfoCmd(hash string, index uint32) *GetMultisigOutInfoCmd + type GetMultisigOutInfoResult struct + Address string + Amount float64 + BlockHash string + BlockHeight uint32 + M uint8 + N uint8 + Pubkeys []string + RedeemScript string + Spent bool + SpentBy string + SpentByIndex uint32 + TxHash string + 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 GetNewAddressCmd struct + Account *string + GapPolicy *string + func NewGetNewAddressCmd(account *string, gapPolicy *string) *GetNewAddressCmd + 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 + Services string + StartingHeight int64 + SubVer string + SyncNode bool + TimeOffset int64 + Version uint32 + type GetRawChangeAddressCmd struct + Account *string + func NewGetRawChangeAddressCmd(account *string) *GetRawChangeAddressCmd + 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 GetReceivedByAccountCmd struct + Account string + MinConf *int + func NewGetReceivedByAccountCmd(account string, minConf *int) *GetReceivedByAccountCmd + type GetReceivedByAddressCmd struct + Address string + MinConf *int + func NewGetReceivedByAddressCmd(address string, minConf *int) *GetReceivedByAddressCmd + type GetSeedCmd struct + func NewGetSeedCmd() *GetSeedCmd + type GetStakeDifficultyCmd struct + func NewGetStakeDifficultyCmd() *GetStakeDifficultyCmd + type GetStakeDifficultyResult struct + CurrentStakeDifficulty float64 + NextStakeDifficulty float64 + type GetStakeInfoCmd struct + func NewGetStakeInfoCmd() *GetStakeInfoCmd + type GetStakeInfoResult struct + AllMempoolTix uint32 + BlockHeight int64 + Difficulty float64 + Expired uint32 + Immature uint32 + Live uint32 + Missed uint32 + OwnMempoolTix uint32 + PoolSize uint32 + ProportionLive float64 + ProportionMissed float64 + Revoked uint32 + TotalSubsidy float64 + Voted uint32 + 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 GetStraightPubKeyCmd struct + SrcAddress string + type GetStraightPubKeyResult struct + StraightPubKey string + type GetTicketFeeCmd struct + func NewGetTicketFeeCmd() *GetTicketFeeCmd + type GetTicketPoolValueCmd struct + func NewGetTicketPoolValueCmd() *GetTicketPoolValueCmd + type GetTicketsCmd struct + IncludeImmature bool + func NewGetTicketsCmd(includeImmature bool) *GetTicketsCmd + type GetTicketsResult struct + Hashes []string + type GetTransactionCmd struct + IncludeWatchOnly *bool + Txid string + func NewGetTransactionCmd(txHash string, includeWatchOnly *bool) *GetTransactionCmd + type GetTransactionDetailsResult struct + Account string + Address string + Amount float64 + Category string + Fee *float64 + InvolvesWatchOnly bool + Vout uint32 + type GetTransactionResult struct + Amount float64 + BlockHash string + BlockIndex int64 + BlockTime int64 + Confirmations int64 + Details []GetTransactionDetailsResult + Fee float64 + Hex string + Time int64 + TimeReceived int64 + TxID string + WalletConflicts []string + 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 GetUnconfirmedBalanceCmd struct + Account *string + func NewGetUnconfirmedBalanceCmd(account *string) *GetUnconfirmedBalanceCmd + type GetVoteChoicesCmd struct + func NewGetVoteChoicesCmd() *GetVoteChoicesCmd + type GetVoteChoicesResult struct + Choices []VoteChoice + Version uint32 + 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 GetWalletFeeCmd struct + func NewGetWalletFeeCmd() *GetWalletFeeCmd + 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 ImportAddressCmd struct + Address string + Rescan *bool + func NewImportAddressCmd(address string, rescan *bool) *ImportAddressCmd + type ImportPrivKeyCmd struct + Label *string + PrivKey string + Rescan *bool + ScanFrom *int + func NewImportPrivKeyCmd(privKey string, label *string, rescan *bool, scanFrom *int) *ImportPrivKeyCmd + type ImportPubKeyCmd struct + PubKey string + Rescan *bool + func NewImportPubKeyCmd(pubKey string, rescan *bool) *ImportPubKeyCmd + type ImportScriptCmd struct + Hex string + Rescan *bool + ScanFrom *int + func NewImportScriptCmd(hex string, rescan *bool, scanFrom *int) *ImportScriptCmd + type InfoChainResult struct + Blocks int64 + Connections int32 + Difficulty float64 + Errors string + ProtocolVersion int32 + Proxy string + RelayFee float64 + TestNet bool + TimeOffset int64 + Version int32 + type InfoWalletResult struct + Balance float64 + Blocks int32 + Connections int32 + Difficulty float64 + Errors string + KeypoolOldest int64 + KeypoolSize int32 + PaytxFee float64 + ProtocolVersion int32 + Proxy string + RelayFee float64 + TestNet bool + TimeOffset int64 + UnlockedUntil int64 + Version int32 + WalletVersion int32 + type KeyPoolRefillCmd struct + NewSize *uint + func NewKeyPoolRefillCmd(newSize *uint) *KeyPoolRefillCmd + type ListAccountsCmd struct + MinConf *int + func NewListAccountsCmd(minConf *int) *ListAccountsCmd + type ListAddressTransactionsCmd struct + Account *string + Addresses []string + func NewListAddressTransactionsCmd(addresses []string, account *string) *ListAddressTransactionsCmd + type ListAllTransactionsCmd struct + Account *string + func NewListAllTransactionsCmd(account *string) *ListAllTransactionsCmd + type ListLockUnspentCmd struct + func NewListLockUnspentCmd() *ListLockUnspentCmd + type ListReceivedByAccountCmd struct + IncludeEmpty *bool + IncludeWatchOnly *bool + MinConf *int + func NewListReceivedByAccountCmd(minConf *int, includeEmpty, includeWatchOnly *bool) *ListReceivedByAccountCmd + type ListReceivedByAccountResult struct + Account string + Amount float64 + Confirmations uint64 + type ListReceivedByAddressCmd struct + IncludeEmpty *bool + IncludeWatchOnly *bool + MinConf *int + func NewListReceivedByAddressCmd(minConf *int, includeEmpty, includeWatchOnly *bool) *ListReceivedByAddressCmd + type ListReceivedByAddressResult struct + Account string + Address string + Amount float64 + Confirmations uint64 + InvolvesWatchonly bool + TxIDs []string + type ListScriptsCmd struct + func NewListScriptsCmd() *ListScriptsCmd + type ListScriptsResult struct + Scripts []ScriptInfo + type ListSinceBlockCmd struct + BlockHash *string + IncludeWatchOnly *bool + TargetConfirmations *int + func NewListSinceBlockCmd(blockHash *string, targetConfirms *int, includeWatchOnly *bool) *ListSinceBlockCmd + type ListSinceBlockResult struct + LastBlock string + Transactions []ListTransactionsResult + type ListTransactionsCmd struct + Account *string + Count *int + From *int + IncludeWatchOnly *bool + func NewListTransactionsCmd(account *string, count, from *int, includeWatchOnly *bool) *ListTransactionsCmd + type ListTransactionsResult struct + Account string + Address string + Amount float64 + BlockHash string + BlockIndex *int64 + BlockTime int64 + Category string + Comment string + Confirmations int64 + Fee *float64 + Generated bool + InvolvesWatchOnly bool + OtherAccount string + Time int64 + TimeReceived int64 + TxID string + TxType *ListTransactionsTxType + Vout uint32 + WalletConflicts []string + type ListTransactionsTxType string + const LTTTRegular + const LTTTRevocation + const LTTTTicket + const LTTTVote + type ListUnspentCmd struct + Addresses *[]string + MaxConf *int + MinConf *int + func NewListUnspentCmd(minConf, maxConf *int, addresses *[]string) *ListUnspentCmd + type ListUnspentResult struct + Account string + Address string + Amount float64 + Confirmations int64 + RedeemScript string + ScriptPubKey string + Spendable bool + Tree int8 + TxID string + TxType int + Vout uint32 + 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 LockUnspentCmd struct + Transactions []TransactionInput + Unlock bool + func NewLockUnspentCmd(unlock bool, transactions []TransactionInput) *LockUnspentCmd + type MissedTicketsCmd struct + func NewMissedTicketsCmd() *MissedTicketsCmd + type MissedTicketsResult struct + Tickets []string + type NetworksResult struct + Limited bool + Name string + Proxy string + 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 NewTxNtfn struct + Account string + Details ListTransactionsResult + func NewNewTxNtfn(account string, details ListTransactionsResult) *NewTxNtfn + 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 OmniClearCmd struct + func NewOmniClearCmd(height uint32, hashs *[]string) *OmniClearCmd + type OmniCreateAgreementCmd struct + AgtContent string + AgtEncryptedContent string + AgtKey string + AgtType string + AgtnonencryptedContent string + func NewOmniCreateAgreementCmd() *OmniCreateAgreementCmd + type OmniCreatepayloadCancelalltradesCmd struct + func NewOmniCreatepayloadCancelalltradesCmd() *OmniCreatepayloadCancelalltradesCmd + type OmniCreatepayloadCancelalltradesResult struct + type OmniCreatepayloadCanceltradesbypairCmd struct + Propertyiddesired int64 + Propertyidforsale int64 + func NewOmniCreatepayloadCanceltradesbypairCmd(propertyidforsale int64, propertyiddesired int64) *OmniCreatepayloadCanceltradesbypairCmd + type OmniCreatepayloadCanceltradesbypairResult struct + type OmniCreatepayloadCanceltradesbypriceCmd struct + Amountdesired string + Amountforsale string + Propertyiddesired int64 + Propertyidforsale int64 + func NewOmniCreatepayloadCanceltradesbypriceCmd(propertyidforsale int64, amountforsale string, propertyiddesired int64, ...) *OmniCreatepayloadCanceltradesbypriceCmd + type OmniCreatepayloadCanceltradesbypriceResult struct + type OmniCreatepayloadChangeissuerCmd struct + Propertyid int64 + func NewOmniCreatepayloadChangeissuerCmd() *OmniCreatepayloadChangeissuerCmd + type OmniCreatepayloadChangeissuerResult struct + type OmniCreatepayloadClosecrowdsaleCmd struct + func NewOmniCreatepayloadClosecrowdsaleCmd() *OmniCreatepayloadClosecrowdsaleCmd + type OmniCreatepayloadClosecrowdsaleResult struct + type OmniCreatepayloadDexacceptCmd struct + Amount string + Propertyid int64 + func NewOmniCreatepayloadDexacceptCmd(propertyid int64, amount string) *OmniCreatepayloadDexacceptCmd + type OmniCreatepayloadDexacceptResult struct + type OmniCreatepayloadDexsellCmd struct + Action int64 + Amountdesired string + Amountforsale string + Minacceptfee string + Paymentwindow int64 + Propertyidforsale int64 + func NewOmniCreatepayloadDexsellCmd(propertyidforsale int64, amountforsale string, amountdesired string, ...) *OmniCreatepayloadDexsellCmd + type OmniCreatepayloadDexsellResult struct + type OmniCreatepayloadDisablefreezingCmd struct + Propertyid int64 + func NewOmniCreatepayloadDisablefreezingCmd() *OmniCreatepayloadDisablefreezingCmd + type OmniCreatepayloadDisablefreezingResult struct + type OmniCreatepayloadEnablefreezingCmd struct + Propertyid int64 + func NewOmniCreatepayloadEnablefreezingCmd() *OmniCreatepayloadEnablefreezingCmd + type OmniCreatepayloadEnablefreezingResult struct + type OmniCreatepayloadFreezeCmd struct + Amount string + Propertyid int64 + Toaddress string + func NewOmniCreatepayloadFreezeCmd(toaddress string, propertyid int64, amount string) *OmniCreatepayloadFreezeCmd + type OmniCreatepayloadFreezeResult struct + type OmniCreatepayloadGrantCmd struct + Amount string + Memo *string + Propertyid int64 + func NewOmniCreatepayloadGrantCmd(propertyid int64, amount string, memo *string) *OmniCreatepayloadGrantCmd + type OmniCreatepayloadGrantResult struct + type OmniCreatepayloadIssuancecrowdsaleCmd struct + Category string + Data string + Deadline int64 + Earlybonus int64 + Ecosystem int64 + Issuerpercentage int64 + Name string + Previousid int64 + Propertyiddesired int64 + Subcategory string + Tokensperunit string + Typo int64 + Url string + func NewOmniCreatepayloadIssuancecrowdsaleCmd(ecosystem int64, typo int64, previousid int64, category string, ...) *OmniCreatepayloadIssuancecrowdsaleCmd + type OmniCreatepayloadIssuancecrowdsaleResult struct + type OmniCreatepayloadIssuancefixedCmd struct + Amount string + Category string + Data string + Ecosystem int64 + Name string + Previousid int64 + Subcategory string + Typo int64 + Url string + func NewOmniCreatepayloadIssuancefixedCmd(ecosystem int64, typo int64, previousid int64, category string, ...) *OmniCreatepayloadIssuancefixedCmd + type OmniCreatepayloadIssuancefixedResult struct + type OmniCreatepayloadIssuancemanagedCmd struct + Category string + Data string + Ecosystem int64 + Name string + Previousid int64 + Subcategory string + Typo int64 + Url string + func NewOmniCreatepayloadIssuancemanagedCmd(ecosystem int64, typo int64, previousid int64, category string, ...) *OmniCreatepayloadIssuancemanagedCmd + type OmniCreatepayloadIssuancemanagedResult struct + type OmniCreatepayloadRevokeCmd struct + Amount string + Memo *string + Propertyid int64 + func NewOmniCreatepayloadRevokeCmd(propertyid int64, amount string, memo *string) *OmniCreatepayloadRevokeCmd + type OmniCreatepayloadRevokeResult struct + type OmniCreatepayloadSendallCmd struct + func NewOmniCreatepayloadSendallCmd() *OmniCreatepayloadSendallCmd + type OmniCreatepayloadSendallResult struct + type OmniCreatepayloadSimplesendCmd struct + Amount string + Propertyid int64 + func NewOmniCreatepayloadSimplesendCmd(propertyid int64, amount string) *OmniCreatepayloadSimplesendCmd + type OmniCreatepayloadSimplesendResult struct + type OmniCreatepayloadStoCmd struct + Amount string + Distributionproperty *int64 + Propertyid int64 + func NewOmniCreatepayloadStoCmd(propertyid int64, amount string, distributionproperty *int64) *OmniCreatepayloadStoCmd + type OmniCreatepayloadStoResult struct + type OmniCreatepayloadTradeCmd struct + Amountdesired string + Amountforsale string + Propertyiddesired int64 + Propertyidforsale int64 + func NewOmniCreatepayloadTradeCmd(propertyidforsale int64, amountforsale string, propertyiddesired int64, ...) *OmniCreatepayloadTradeCmd + type OmniCreatepayloadTradeResult struct + type OmniCreatepayloadUnfreezeCmd struct + Amount string + Propertyid int64 + Toaddress string + func NewOmniCreatepayloadUnfreezeCmd(toaddress string, propertyid int64, amount string) *OmniCreatepayloadUnfreezeCmd + type OmniCreatepayloadUnfreezeResult struct + type OmniCreaterawtxChangeCmd struct + Destination string + Fee int64 + Position *int64 + Prevtxs string + Rawtx string + func NewOmniCreaterawtxChangeCmd(rawtx string, prevtxs string, destination string, fee int64, position *int64) *OmniCreaterawtxChangeCmd + type OmniCreaterawtxChangeResult struct + type OmniCreaterawtxInputCmd struct + N int64 + Rawtx string + Txid string + func NewOmniCreaterawtxInputCmd(rawtx string, txid string, n int64) *OmniCreaterawtxInputCmd + type OmniCreaterawtxInputResult struct + type OmniCreaterawtxMultisigCmd struct + AddPayload string + Rawtx string + RedemptionPayload string + Seed string + func NewOmniCreaterawtxMultisigCmd(rawtx string, addPayload string, seed string, redemptionPayload string) *OmniCreaterawtxMultisigCmd + type OmniCreaterawtxMultisigResult struct + type OmniCreaterawtxOpreturnCmd struct + Payload string + Rawtx string + func NewOmniCreaterawtxOpreturnCmd(rawtx string, payload string) *OmniCreaterawtxOpreturnCmd + type OmniCreaterawtxOpreturnResult struct + type OmniCreaterawtxReferenceCmd struct + Amount *int64 + Destination string + Rawtx string + func NewOmniCreaterawtxReferenceCmd(rawtx string, destination string, amount *int64) *OmniCreaterawtxReferenceCmd + type OmniCreaterawtxReferenceResult struct + type OmniDecodetransactionCmd struct + Height *int64 + Prevtxs *string + Rawtx string + func NewOmniDecodetransactionCmd(rawtx string, prevtxs *string, height *int64) *OmniDecodetransactionCmd + type OmniDecodetransactionResult struct + type OmniFundedSendCmd struct + Amount string + Feeaddress string + Fromaddress string + Propertyid int64 + Toaddress string + func NewOmniFundedSendCmd(fromaddress string, toaddress string, propertyid int64, amount string, ...) *OmniFundedSendCmd + type OmniFundedSendResult struct + type OmniFundedSendallCmd struct + Ecosystem int64 + Feeaddress string + Fromaddress string + Toaddress string + func NewOmniFundedSendallCmd(fromaddress string, toaddress string, ecosystem int64, feeaddress string) *OmniFundedSendallCmd + type OmniFundedSendallResult struct + type OmniGetBlockInfoCmd struct + Height uint32 + func NewOmniGetBlockInfoCmd(height uint32) *OmniGetBlockInfoCmd + type OmniGetactivationsCmd struct + func NewOmniGetactivationsCmd() *OmniGetactivationsCmd + type OmniGetactivationsResult struct + type OmniGetactivecrowdsalesCmd struct + func NewOmniGetactivecrowdsalesCmd() *OmniGetactivecrowdsalesCmd + type OmniGetactivecrowdsalesResult struct + type OmniGetactivedexsellsCmd struct + func NewOmniGetactivedexsellsCmd() *OmniGetactivedexsellsCmd + type OmniGetactivedexsellsResult struct + type OmniGetallbalancesforaddressCmd struct + Address string + func NewOmniGetallbalancesforaddressCmd() *OmniGetallbalancesforaddressCmd + type OmniGetallbalancesforaddressResult struct + type OmniGetallbalancesforidCmd struct + Propertyid int64 + func NewOmniGetallbalancesforidCmd() *OmniGetallbalancesforidCmd + type OmniGetallbalancesforidResult struct + type OmniGetbalanceCmd struct + Address string + Propertyid int64 + func NewOmniGetbalanceCmd(address string, propertyid int64) *OmniGetbalanceCmd + type OmniGetbalanceResult struct + type OmniGetcrowdsaleCmd struct + Propertyid int64 + Verbose *bool + func NewOmniGetcrowdsaleCmd(propertyid int64, verbose *bool) *OmniGetcrowdsaleCmd + type OmniGetcrowdsaleResult struct + type OmniGetcurrentconsensushashCmd struct + func NewOmniGetcurrentconsensushashCmd() *OmniGetcurrentconsensushashCmd + type OmniGetcurrentconsensushashResult struct + type OmniGetfeecacheCmd struct + PropertyId int64 + func NewOmniGetfeecacheCmd() *OmniGetfeecacheCmd + type OmniGetfeecacheResult struct + type OmniGetfeedistributionCmd struct + Distributionid int64 + func NewOmniGetfeedistributionCmd() *OmniGetfeedistributionCmd + type OmniGetfeedistributionResult struct + type OmniGetfeedistributionsCmd struct + PropertyId int64 + func NewOmniGetfeedistributionsCmd() *OmniGetfeedistributionsCmd + type OmniGetfeedistributionsResult struct + type OmniGetfeeshareCmd struct + Address *string + Ecosystem *int64 + func NewOmniGetfeeshareCmd(address *string, ecosystem *int64) *OmniGetfeeshareCmd + type OmniGetfeeshareResult struct + type OmniGetfeetriggerCmd struct + func NewOmniGetfeetriggerCmd() *OmniGetfeetriggerCmd + type OmniGetfeetriggerResult struct + type OmniGetgrantsCmd struct + PropertyId int64 + func NewOmniGetgrantsCmd() *OmniGetgrantsCmd + type OmniGetgrantsResult struct + type OmniGetinfoCmd struct + func NewOmniGetinfoCmd() *OmniGetinfoCmd + type OmniGetinfoResult struct + type OmniGetorderbookCmd struct + Desiredpropertyid *int64 + SalePropertyid int64 + func NewOmniGetorderbookCmd(salePropertyid int64, desiredpropertyid *int64) *OmniGetorderbookCmd + type OmniGetorderbookResult struct + type OmniGetpayloadCmd struct + TxHash string + func NewOmniGetpayloadCmd() *OmniGetpayloadCmd + type OmniGetpayloadResult struct + type OmniGetpropertyCmd struct + CurrentHeight *int64 + Propertyid int64 + func NewOmniGetpropertyCmd() *OmniGetpropertyCmd + type OmniGetpropertyResult struct + type OmniGetseedblocksCmd struct + Endblock int64 + Startblock int64 + func NewOmniGetseedblocksCmd(startblock int64, endblock int64) *OmniGetseedblocksCmd + type OmniGetseedblocksResult struct + type OmniGetstoCmd struct + Recipientfilter *string + Txid string + func NewOmniGetstoCmd(txid string, recipientfilter *string) *OmniGetstoCmd + type OmniGetstoResult struct + type OmniGettradeCmd struct + Txid string + func NewOmniGettradeCmd() *OmniGettradeCmd + type OmniGettradeResult struct + type OmniGettradehistoryforaddressCmd struct + Address string + Count *int64 + Propertyid *int64 + func NewOmniGettradehistoryforaddressCmd(address string, count *int64, propertyid *int64) *OmniGettradehistoryforaddressCmd + type OmniGettradehistoryforaddressResult struct + type OmniGettradehistoryforpairCmd struct + Count *int64 + FirstPropertyid int64 + SecondPropertyid int64 + func NewOmniGettradehistoryforpairCmd(firstPropertyid int64, secondPropertyid int64, count *int64) *OmniGettradehistoryforpairCmd + type OmniGettradehistoryforpairResult struct + type OmniGettransactionCmd struct + Txid *string + func NewOmniGettransactionCmd() *OmniGettransactionCmd + type OmniGettransactionResult struct + type OmniGetwalletaddressbalancesCmd struct + func NewOmniGetwalletaddressbalancesCmd() *OmniGetwalletaddressbalancesCmd + type OmniGetwalletaddressbalancesResult struct + type OmniGetwalletbalancesCmd struct + func NewOmniGetwalletbalancesCmd() *OmniGetwalletbalancesCmd + type OmniGetwalletbalancesResult struct + type OmniListblocktransactionsCmd struct + Height int64 + func NewOmniListblocktransactionsCmd() *OmniListblocktransactionsCmd + type OmniListblocktransactionsResult struct + type OmniListpendingtransactionsCmd struct + Address *string + func NewOmniListpendingtransactionsCmd() *OmniListpendingtransactionsCmd + type OmniListpendingtransactionsResult struct + type OmniListpropertiesCmd struct + func NewOmniListpropertiesCmd() *OmniListpropertiesCmd + type OmniListpropertiesResult struct + type OmniListtransactionsCmd struct + Count *int64 + Endblock *int64 + Skip *int64 + Startblock *int64 + Txid *string + func NewOmniListtransactionsCmd(txid *string, count *int64, skip *int64, startblock *int64, endblock *int64) *OmniListtransactionsCmd + type OmniListtransactionsResult struct + type OmniListwallettransactionsCmd struct + Addrlist []string + Count *int64 + Endblock *int64 + Skip *int64 + Startblock *int64 + func NewOmniListwallettransactionsCmd(addrlist []string, count *int64, skip *int64, startblock *int64, ...) *OmniListwallettransactionsCmd + type OmniPendingAddCmd struct + Amount string + MscType int + Propertyid uint32 + Sender string + Subtract bool + TxId string + func NewOmniPendingAddCmd() *OmniPendingAddCmd + type OmniPrevtx struct + ScriptPubKey string + Txid string + Value int64 + Vout int + type OmniPrevtxs struct + Prevtxs []OmniPrevtx + type OmniProcessPaymentCmd struct + Amount int64 + Block uint32 + Idx int + Reference string + Sender string + TxHash string + func NewOmniProcessPaymentCmd() *OmniProcessPaymentCmd + type OmniProcessTxCmd struct + Block uint32 + BlockHash string + Fee int64 + Idx int + Reference string + ScriptEncode string + Sender string + Time int64 + TxHash string + func NewOmniProcessTxCmd() *OmniProcessTxCmd + type OmniReadAllTxHashCmd struct + func NewOmniReadAllTxHashCmd() *OmniReadAllTxHashCmd + type OmniRollBackCmd struct + Hashs *[]string + Height uint32 + func NewOmniRollBackCmd(height uint32, hashs *[]string) *OmniRollBackCmd + type OmniSendAgreementCmd struct + AgtEncryptedContent string + AgtId string + AgtKey string + AgtnonencryptedContent string + FromAddress string + ToAddress string + func NewOmniSendAgreementCmd() *OmniSendAgreementCmd + type OmniSendCmd struct + Amount string + Fromaddress string + Propertyid int64 + Redeemaddress *string + Referenceamount *string + Toaddress string + func NewOmniSendCmd(fromaddress string, toaddress string, propertyid int64, amount string, ...) *OmniSendCmd + type OmniSendResult struct + type OmniSendallCmd struct + Ecosystem int64 + Fromaddress string + Redeemaddress *string + Referenceamount *string + Toaddress string + func NewOmniSendallCmd(fromaddress string, toaddress string, ecosystem int64, redeemaddress *string, ...) *OmniSendallCmd + type OmniSendallResult struct + type OmniSendcancelalltradesCmd struct + Ecosystem int64 + Fromaddress string + func NewOmniSendcancelalltradesCmd(fromaddress string, ecosystem int64) *OmniSendcancelalltradesCmd + type OmniSendcancelalltradesResult struct + type OmniSendcanceltradesbypairCmd struct + Fromaddress string + Propertiddesired int64 + Propertyidforsale int64 + func NewOmniSendcanceltradesbypairCmd(fromaddress string, propertyidforsale int64, propertiddesired int64) *OmniSendcanceltradesbypairCmd + type OmniSendcanceltradesbypairResult struct + type OmniSendcanceltradesbypriceCmd struct + Amountdesired string + Amountforsale string + Fromaddress string + Propertiddesired int64 + Propertyidforsale int64 + func NewOmniSendcanceltradesbypriceCmd(fromaddress string, propertyidforsale int64, amountforsale string, ...) *OmniSendcanceltradesbypriceCmd + type OmniSendcanceltradesbypriceResult struct + type OmniSendchangeissuerCmd struct + Fromaddress string + Propertyid int64 + Toaddress string + func NewOmniSendchangeissuerCmd(fromaddress string, toaddress string, propertyid int64) *OmniSendchangeissuerCmd + type OmniSendchangeissuerResult struct + type OmniSendclosecrowdsaleCmd struct + Fromaddress string + Propertyid int64 + func NewOmniSendclosecrowdsaleCmd(fromaddress string, propertyid int64) *OmniSendclosecrowdsaleCmd + type OmniSendclosecrowdsaleResult struct + type OmniSenddexacceptCmd struct + Amount string + Fromaddress string + Override *bool + Propertyid int64 + Toaddress string + func NewOmniSenddexacceptCmd(fromaddress string, toaddress string, propertyid int64, amount string, ...) *OmniSenddexacceptCmd + type OmniSenddexacceptResult struct + type OmniSenddexsellCmd struct + Action int64 + Amountdesired string + Amountforsale string + Fromaddress string + Minacceptfee string + Paymentwindow int64 + Propertyidforsale int64 + func NewOmniSenddexsellCmd(fromaddress string, propertyidforsale int64, amountforsale string, ...) *OmniSenddexsellCmd + type OmniSenddexsellResult struct + type OmniSenddisablefreezingCmd struct + Fromaddress string + Propertyid int64 + func NewOmniSenddisablefreezingCmd(fromaddress string, propertyid int64) *OmniSenddisablefreezingCmd + type OmniSenddisablefreezingResult struct + type OmniSendenablefreezingCmd struct + Fromaddress string + Propertyid int64 + func NewOmniSendenablefreezingCmd(fromaddress string, propertyid int64) *OmniSendenablefreezingCmd + type OmniSendenablefreezingResult struct + type OmniSendfreezeCmd struct + Amount string + Fromaddress string + Propertyid int64 + Toaddress string + func NewOmniSendfreezeCmd(fromaddress string, toaddress string, propertyid int64, amount string) *OmniSendfreezeCmd + type OmniSendfreezeResult struct + type OmniSendgrantCmd struct + Amount string + Fromaddress string + Memo *string + Propertyid int64 + Toaddress string + func NewOmniSendgrantCmd(fromaddress string, toaddress string, propertyid int64, amount string, ...) *OmniSendgrantCmd + type OmniSendgrantResult struct + type OmniSendissuancecrowdsaleCmd struct + Category string + Data string + Deadline int64 + Earlybonus int64 + Ecosystem int64 + Fromaddress string + Issuerpercentage int64 + Name string + Previousid int64 + Propertyiddesired int64 + Subcategory string + Tokensperunit string + Typo int64 + Url string + func NewOmniSendissuancecrowdsaleCmd(fromaddress string, ecosystem int64, typo int64, previousid int64, ...) *OmniSendissuancecrowdsaleCmd + type OmniSendissuancecrowdsaleResult struct + type OmniSendissuancefixedCmd struct + Amount string + Category string + Data string + Ecosystem int64 + Fromaddress string + Name string + Previousid int64 + Subcategory string + Typo int64 + Url string + func NewOmniSendissuancefixedCmd(fromaddress string, ecosystem int64, typo int64, previousid int64, ...) *OmniSendissuancefixedCmd + type OmniSendissuancefixedResult struct + type OmniSendissuancemanagedCmd struct + Category string + Data string + Ecosystem int64 + Fromaddress string + Name string + Previousid int64 + Subcategory string + Typo int64 + Url string + func NewOmniSendissuancemanagedCmd(fromaddress string, ecosystem int64, typo int64, previousid int64, ...) *OmniSendissuancemanagedCmd + type OmniSendissuancemanagedResult struct + type OmniSendrawtxCmd struct + Fromaddress string + Rawtransaction string + Redeemaddress *string + Referenceaddress *string + Referenceamount *string + func NewOmniSendrawtxCmd(fromaddress string, rawtransaction string, referenceaddress *string, ...) *OmniSendrawtxCmd + type OmniSendrawtxResult struct + type OmniSendrevokeCmd struct + Amount string + Fromaddress string + Memo *string + Propertyid int64 + func NewOmniSendrevokeCmd(fromaddress string, propertyid int64, amount string, memo *string) *OmniSendrevokeCmd + type OmniSendrevokeResult struct + type OmniSendstoCmd struct + Amount string + Distributionproperty *int64 + Fromaddress string + Propertyid int64 + Redeemaddress *string + func NewOmniSendstoCmd(fromaddress string, propertyid int64, amount string, redeemaddress *string, ...) *OmniSendstoCmd + type OmniSendstoResult struct + type OmniSendtradeCmd struct + Amountdesired string + Amountforsale string + Fromaddress string + Propertiddesired int64 + Propertyidforsale int64 + func NewOmniSendtradeCmd(fromaddress string, propertyidforsale int64, amountforsale string, ...) *OmniSendtradeCmd + type OmniSendtradeResult struct + type OmniSendunfreezeCmd struct + Amount string + Fromaddress string + Propertyid int64 + Toaddress string + func NewOmniSendunfreezeCmd(fromaddress string, toaddress string, propertyid int64, amount string) *OmniSendunfreezeCmd + type OmniSendunfreezeResult struct + type OmniSetautocommitCmd struct + AutoCommit bool + func NewOmniSetautocommitCmd() *OmniSetautocommitCmd + type OmniSetautocommitResult struct + type OmniTXExodusFundraiserCmd struct + AmountInvested int64 + Hash string + NBlock int + NTime int32 + StrSender string + func NewTXExodusFundraiserCmd() *OmniTXExodusFundraiserCmd + type OutPoint struct + Hash string + Index uint32 + Tree int8 + type PingCmd struct + func NewPingCmd() *PingCmd + type PoolUserTicket struct + SpentBy string + SpentByHeight uint32 + Status string + Ticket string + TicketHeight uint32 + type PrevOut struct + Addresses []string + Value float64 + type PurchaseTicketCmd struct + Comment *string + Expiry *int + FromAccount string + MinConf *int + NumTickets *int + PoolAddress *string + PoolFees *float64 + SpendLimit float64 + TicketAddress *string + TicketFee *float64 + func NewPurchaseTicketCmd(fromAccount string, spendLimit float64, minConf *int, ticketAddress *string, ...) *PurchaseTicketCmd + type RPCError struct + Code RPCErrorCode + Message string + func NewRPCError(code RPCErrorCode, message string) *RPCError + func (e RPCError) Error() string + type RPCErrorCode int + const ErrRPCBestBlockHash + const ErrRPCBlockCount + const ErrRPCBlockNotFound + const ErrRPCClientInInitialDownload + const ErrRPCClientNotConnected + const ErrRPCDatabase + const ErrRPCDecodeHexString + const ErrRPCDeserialization + const ErrRPCDifficulty + const ErrRPCForbiddenBySafeMode + const ErrRPCInvalidAddressOrKey + const ErrRPCInvalidParameter + const ErrRPCInvalidTxVout + const ErrRPCMisc + const ErrRPCNoNewestBlockInfo + const ErrRPCNoTxInfo + const ErrRPCNoWallet + const ErrRPCOutOfMemory + const ErrRPCOutOfRange + const ErrRPCRawTxString + const ErrRPCType + const ErrRPCUnimplemented + const ErrRPCVerify + const ErrRPCWallet + const ErrRPCWalletAlreadyUnlocked + const ErrRPCWalletEncryptionFailed + const ErrRPCWalletInsufficientFunds + const ErrRPCWalletInvalidAccountName + const ErrRPCWalletKeypoolRanOut + const ErrRPCWalletPassphraseIncorrect + const ErrRPCWalletUnlockNeeded + const ErrRPCWalletWrongEncState + type RawTxInput struct + RedeemScript string + ScriptPubKey string + Tree int8 + Txid string + Vout uint32 + type RebroadcastMissedCmd struct + func NewRebroadcastMissedCmd() *RebroadcastMissedCmd + type RebroadcastWinnersCmd struct + func NewRebroadcastWinnersCmd() *RebroadcastWinnersCmd + type RecoverAddressesCmd struct + Account string + N int + func NewRecoverAddressesCmd(account string, n int) *RecoverAddressesCmd + type RedeemMultiSigOutCmd struct + Address *string + Hash string + Index uint32 + Tree int8 + func NewRedeemMultiSigOutCmd(hash string, index uint32, tree int8, address *string) *RedeemMultiSigOutCmd + type RedeemMultiSigOutResult struct + Complete bool + Errors []SignRawTransactionError + Hex string + type RedeemMultiSigOutsCmd struct + FromScrAddress string + Number *int + ToAddress *string + func NewRedeemMultiSigOutsCmd(from string, to *string, number *int) *RedeemMultiSigOutsCmd + type RedeemMultiSigOutsResult struct + Results []RedeemMultiSigOutResult + type RelevantTxAcceptedNtfn struct + Transaction string + func NewRelevantTxAcceptedNtfn(txHex string) *RelevantTxAcceptedNtfn + type RenameAccountCmd struct + NewAccount string + OldAccount string + func NewRenameAccountCmd(oldAccount, newAccount string) *RenameAccountCmd + type ReorganizationNtfn struct + NewHash string + NewHeight int32 + OldHash string + OldHeight int32 + func NewReorganizationNtfn(oldHash string, oldHeight int32, newHash string, newHeight int32) *ReorganizationNtfn + type Request struct + ID interface{} + Jsonrpc string + Method string + Params []json.RawMessage + func NewRequest(id interface{}, method string, params []interface{}) (*Request, error) + type RescanCmd struct + BlockHashes string + func NewRescanCmd(blockHashes string) *RescanCmd + type RescanResult struct + DiscoveredData []RescannedBlock + type RescanWalletCmd struct + BeginHeight *int + type RescannedBlock struct + Hash string + Transactions []string + type Response struct + Error *RPCError + ID *interface{} + Result json.RawMessage + func NewResponse(id interface{}, marshalledResult []byte, rpcErr *RPCError) (*Response, error) + type RevocationCreatedNtfn struct + SStxIn string + TxHash string + func NewRevocationCreatedNtfn(txHash string, sstxIn string) *RevocationCreatedNtfn + type RevokeTicketsCmd struct + func NewRevokeTicketsCmd() *RevokeTicketsCmd + type SStxCommitOut struct + Addr string + ChangeAddr string + ChangeAmt int64 + CommitAmt int64 + type SStxInput struct + Amt int64 + Tree int8 + Txid string + Vout uint32 + type ScriptInfo struct + Address string + Hash160 string + RedeemScript string + 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 + Blocktime int64 + Confirmations uint64 + Hex string + LockTime uint32 + Time int64 + Txid string + Version int32 + Vin []VinPrevOut + Vout []Vout + type SendFromAddressToAddressCmd struct + Address string + Amount float64 + FromAddress string + func NewSendFromAddressToAddressCmd(fromAddress string, address string, amount float64) *SendFromAddressToAddressCmd + type SendFromCmd struct + Amount float64 + Comment *string + CommentTo *string + FromAccount string + MinConf *int + ToAddress string + func NewSendFromCmd(fromAccount, toAddress string, amount float64, minConf *int, ...) *SendFromCmd + type SendManyCmd struct + Amounts map[string]float64 + Comment *string + FromAccount string + MinConf *int + func NewSendManyCmd(fromAccount string, amounts map[string]float64, minConf *int, comment *string) *SendManyCmd + type SendManyV2Cmd struct + Amounts map[string]float64 + ChangeAddr *string + FromAccount string + MinConf *int + func NewSendManyV2Cmd(fromAccount string, amounts map[string]float64, changeAddr *string, ...) *SendManyV2Cmd + type SendRawTransactionCmd struct + AllowHighFees *bool + HexTx string + func NewSendRawTransactionCmd(hexTx string, allowHighFees *bool) *SendRawTransactionCmd + type SendToAddressCmd struct + Address string + Amount float64 + Comment *string + CommentTo *string + func NewSendToAddressCmd(address string, amount float64, comment, commentTo *string) *SendToAddressCmd + type SendToMultiSigCmd struct + Amount float64 + Comment *string + FromAccount string + MinConf *int + NRequired *int + Pubkeys []string + func NewSendToMultiSigCmd(fromaccount string, amount float64, pubkeys []string, nrequired *int, ...) *SendToMultiSigCmd + type SendToMultiSigResult struct + Address string + RedeemScript string + TxHash string + type SendToSSGenCmd struct + BlockHash string + Comment *string + FromAccount string + Height int64 + TicketHash string + VoteBits uint16 + func NewSendToSSGenCmd(fromaccount string, tickethash string, blockhash string, height int64, ...) *SendToSSGenCmd + type SendToSSRtxCmd struct + Comment *string + FromAccount string + TicketHash string + func NewSendToSSRtxCmd(fromaccount string, tickethash string, comment *string) *SendToSSRtxCmd + type SendToSStxCmd struct + Amounts map[string]int64 + COuts []SStxCommitOut + Comment *string + FromAccount string + Inputs []SStxInput + MinConf *int + func NewSendToSStxCmd(fromaccount string, amounts map[string]int64, inputs []SStxInput, ...) *SendToSStxCmd + type SessionCmd struct + func NewSessionCmd() *SessionCmd + type SessionResult struct + SessionID uint64 + type SetBalanceToMaintainCmd struct + Balance float64 + func NewSetBalanceToMaintainCmd(balance float64) *SetBalanceToMaintainCmd + type SetGenerateCmd struct + GenProcLimit *int + Generate bool + func NewSetGenerateCmd(generate bool, genProcLimit *int) *SetGenerateCmd + type SetHcdParmasCmd struct + EnableOmni bool + func NewSetHcdParmasCmd(enableOmni bool) *SetHcdParmasCmd + type SetTicketFeeCmd struct + Fee float64 + func NewSetTicketFeeCmd(fee float64) *SetTicketFeeCmd + type SetTicketMaxPriceCmd struct + Max float64 + func NewSetTicketMaxPriceCmd(max float64) *SetTicketMaxPriceCmd + type SetTxFeeCmd struct + Amount float64 + func NewSetTxFeeCmd(amount float64) *SetTxFeeCmd + type SetVoteChoiceCmd struct + AgendaID string + ChoiceID string + func NewSetVoteChoiceCmd(agendaID, choiceID string) *SetVoteChoiceCmd + type SignMessageCmd struct + Address string + Message string + func NewSignMessageCmd(address, message string) *SignMessageCmd + type SignRawTransactionCmd struct + Flags *string + Inputs *[]RawTxInput + PrivKeys *[]string + RawTx string + func NewSignRawTransactionCmd(hexEncodedTx string, inputs *[]RawTxInput, privKeys *[]string, flags *string) *SignRawTransactionCmd + type SignRawTransactionError struct + Error string + ScriptSig string + Sequence uint32 + TxID string + Vout uint32 + type SignRawTransactionResult struct + Complete bool + Errors []SignRawTransactionError + Hex string + type SignRawTransactionsCmd struct + RawTxs []string + Send *bool + func NewSignRawTransactionsCmd(hexEncodedTxs []string, send *bool) *SignRawTransactionsCmd + type SignRawTransactionsResult struct + Results []SignedTransaction + type SignedTransaction struct + Sent bool + SigningResult SignRawTransactionResult + TxHash *string + 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 StakePoolUserInfoCmd struct + User string + func NewStakePoolUserInfoCmd(user string) *StakePoolUserInfoCmd + type StakePoolUserInfoResult struct + InvalidTickets []string + Tickets []PoolUserTicket + 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 TicketPurchasedNtfn struct + Amount int64 + TxHash string + func NewTicketPurchasedNtfn(txHash string, amount int64) *TicketPurchasedNtfn + 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 + 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 UsageFlag uint32 + const Omni + const UFNotification + const UFWalletOnly + const UFWebsocketOnly + func MethodUsageFlags(method string) (UsageFlag, error) + func (fl UsageFlag) String() string + type ValidateAddressChainResult struct + Address string + IsValid bool + type ValidateAddressCmd struct + Address string + func NewValidateAddressCmd(address string) *ValidateAddressCmd + type ValidateAddressWalletResult struct + Account string + Address string + Addresses []string + Hex string + IsCompressed bool + IsMine bool + IsScript bool + IsValid bool + IsWatchOnly bool + PubKey string + PubKeyAddr string + Script string + SigsRequired int32 + type VerifyBlissMessageCmd struct + Message string + PubKey string + Signature string + func NewVerifyBlissMessageCmd(pubkey, signature, message string) *VerifyBlissMessageCmd + 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 VoteChoice struct + AgendaDescription string + AgendaID string + ChoiceDescription string + ChoiceID string + type VoteCreatedNtfn struct + BlockHash string + Height int32 + SStxIn string + TxHash string + VoteBits uint16 + func NewVoteCreatedNtfn(txHash string, blockHash string, height int32, sstxIn string, voteBits uint16) *VoteCreatedNtfn + type Vout struct + N uint32 + ScriptPubKey ScriptPubKeyResult + Value float64 + Version uint16 + type WalletInfoCmd struct + func NewWalletInfoCmd() *WalletInfoCmd + type WalletInfoResult struct + DaemonConnected bool + TicketFee float64 + TicketPurchasing bool + TxFee float64 + Unlocked bool + VoteBits uint16 + VoteBitsExtended string + VoteVersion uint32 + Voting bool + type WalletIsLockedCmd struct + func NewWalletIsLockedCmd() *WalletIsLockedCmd + type WalletLockCmd struct + func NewWalletLockCmd() *WalletLockCmd + type WalletLockStateNtfn struct + Locked bool + func NewWalletLockStateNtfn(locked bool) *WalletLockStateNtfn + type WalletPassphraseChangeCmd struct + NewPassphrase string + OldPassphrase string + func NewWalletPassphraseChangeCmd(oldPassphrase, newPassphrase string) *WalletPassphraseChangeCmd + type WalletPassphraseCmd struct + Passphrase string + Timeout int64 + func NewWalletPassphraseCmd(passphrase string, timeout int64) *WalletPassphraseCmd + type WinningTicketsNtfn struct + BlockHash string + BlockHeight int32 + Tickets map[string]string + func NewWinningTicketsNtfn(hash string, height int32, tickets map[string]string) *WinningTicketsNtfn