Versions in this module Expand all Collapse all v0 v0.4.1 Sep 3, 2024 v0.4.0 Sep 2, 2024 v0.3.1 May 7, 2024 v0.3.0 May 3, 2024 Changes in this version + type GetBestStateCmd struct + func NewGetBestState() *GetBestStateCmd + type GetBestStateResult struct + Bits uint32 + BlockSize uint64 + BlockWeight uint64 + Hash string + Height int32 + MedianTime int64 + NumTxns uint64 + TotalTxns uint64 v0.2.3 Apr 22, 2024 v0.2.2 Apr 17, 2024 v0.2.1 Apr 5, 2024 v0.2.0 Mar 20, 2024 v0.1.0 Feb 4, 2024 Changes in this version + const AccountBalanceNtfnMethod + const BlockConnectedNtfnMethod + const BlockDisconnectedNtfnMethod + const BtcdConnectedNtfnMethod + const FilteredBlockConnectedNtfnMethod + const FilteredBlockDisconnectedNtfnMethod + const NewTxNtfnMethod + const RecvTxNtfnMethod + const RedeemingTxNtfnMethod + const RelevantTxAcceptedNtfnMethod + const RescanFinishedNtfnMethod + const RescanProgressNtfnMethod + const TxAcceptedNtfnMethod + const TxAcceptedVerboseNtfnMethod + const WalletLockStateNtfnMethod + var ErrRPCInternal = &RPCError + var ErrRPCInvalidParams = &RPCError + var ErrRPCInvalidRequest = &RPCError + var ErrRPCMethodNotFound = &RPCError + var ErrRPCParse = &RPCError + func Bool(v bool) *bool + func CmdMethod(cmd interface{}) (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(rpcVersion RPCVersion, id interface{}, cmd interface{}) ([]byte, error) + func MarshalResponse(rpcVersion RPCVersion, 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 AccountBalanceNtfn struct + Account string + Balance float64 + Confirmed bool + func NewAccountBalanceNtfn(account string, balance float64, confirmed bool) *AccountBalanceNtfn + 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 AddWitnessAddressCmd struct + Address string + func NewAddWitnessAddressCmd(address string) *AddWitnessAddressCmd + type AllowHighFeesOrMaxFeeRate struct + Value interface{} + func (a *AllowHighFeesOrMaxFeeRate) UnmarshalJSON(data []byte) error + func (a AllowHighFeesOrMaxFeeRate) MarshalJSON() ([]byte, error) + func (a AllowHighFeesOrMaxFeeRate) String() string + type AuthenticateCmd struct + Passphrase string + Username string + func NewAuthenticateCmd(username, passphrase string) *AuthenticateCmd + type BDKAddressResult struct + Address string + Index int + type BackupWalletCmd struct + Destination string + func NewBackupWalletCmd(destination string) *BackupWalletCmd + type BalanceCmd struct + func NewBalanceCmd() *BalanceCmd + type BalanceDetailsResult struct + Immature float64 + Trusted float64 + UntrustedPending float64 + Used *float64 + type BalanceResult struct + Confirmed int64 + Immature int64 + TrustedPending int64 + UntrustedPending int64 + type Bip9SoftForkDescription struct + Bit uint8 + MinActivationHeight int32 + Since int32 + StartTime1 int64 + StartTime2 int64 + Status string + Timeout int64 + func (d *Bip9SoftForkDescription) StartTime() int64 + type BlockConnectedNtfn struct + Hash string + Height int32 + Time int64 + func NewBlockConnectedNtfn(hash string, height int32, time int64) *BlockConnectedNtfn + type BlockDetails struct + Hash string + Height int32 + Index int + Time int64 + type BlockDisconnectedNtfn struct + Hash string + Height int32 + Time int64 + func NewBlockDisconnectedNtfn(hash string, height int32, time int64) *BlockDisconnectedNtfn + type BtcdConnectedNtfn struct + Connected bool + func NewBtcdConnectedNtfn(connected bool) *BtcdConnectedNtfn + type ChangeType string + var ChangeTypeBech32 ChangeType = "bech32" + var ChangeTypeLegacy ChangeType = "legacy" + var ChangeTypeP2SHSegWit ChangeType = "p2sh-segwit" + 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 + func NewCreateNewAccountCmd(account string) *CreateNewAccountCmd + type CreateRawTransactionCmd struct + Amounts map[string]float64 + Inputs []TransactionInput + LockTime *int64 + func NewCreateRawTransactionCmd(inputs []TransactionInput, amounts map[string]float64, lockTime *int64) *CreateRawTransactionCmd + type CreateTransactionFromBDKWalletCmd struct + FeeRate float32 + Recipients []Recipient + func NewCreateTransactionFromBDKWalletCmd(feeRate float32, recipients []Recipient) *CreateTransactionFromBDKWalletCmd + type CreateTransactionFromBDKWalletResult struct + RawBytes string + TxHash string + type CreateWalletCmd struct + AvoidReuse *bool + Blank *bool + DisablePrivateKeys *bool + Passphrase *string + WalletName string + func NewCreateWalletCmd(walletName string, disablePrivateKeys *bool, blank *bool, passphrase *string, ...) *CreateWalletCmd + type CreateWalletResult struct + Name string + Warning string + 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 DeriveAddressesCmd struct + Descriptor string + Range *DescriptorRange + func NewDeriveAddressesCmd(descriptor string, descriptorRange *DescriptorRange) *DeriveAddressesCmd + type DeriveAddressesResult []string + type DescriptorRange struct + Value interface{} + func (r *DescriptorRange) UnmarshalJSON(data []byte) error + func (r DescriptorRange) MarshalJSON() ([]byte, error) + type DumpPrivKeyCmd struct + Address string + func NewDumpPrivKeyCmd(address string) *DumpPrivKeyCmd + type DumpWalletCmd struct + Filename string + func NewDumpWalletCmd(filename string) *DumpWalletCmd + type DumpWalletResult struct + Filename string + type EncryptWalletCmd struct + Passphrase string + func NewEncryptWalletCmd(passphrase string) *EncryptWalletCmd + type Error struct + Description string + ErrorCode ErrorCode + 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 EstimateSmartFeeCmd struct + ConfTarget int64 + EstimateMode *EstimateSmartFeeMode + func NewEstimateSmartFeeCmd(confTarget int64, mode *EstimateSmartFeeMode) *EstimateSmartFeeCmd + type EstimateSmartFeeMode string + var EstimateModeConservative EstimateSmartFeeMode = "CONSERVATIVE" + var EstimateModeEconomical EstimateSmartFeeMode = "ECONOMICAL" + var EstimateModeUnset EstimateSmartFeeMode = "UNSET" + type EstimateSmartFeeResult struct + Blocks int64 + Errors []string + FeeRate *float64 + type ExportWatchingWalletCmd struct + Account *string + Download *bool + func NewExportWatchingWalletCmd(account *string, download *bool) *ExportWatchingWalletCmd + type FilterTypeName string + const FilterTypeBasic + func NewFilterTypeName(v FilterTypeName) *FilterTypeName + type FilteredBlockConnectedNtfn struct + Header string + Height int32 + SubscribedTxs []string + func NewFilteredBlockConnectedNtfn(height int32, header string, subscribedTxs []string) *FilteredBlockConnectedNtfn + type FilteredBlockDisconnectedNtfn struct + Header string + Height int32 + func NewFilteredBlockDisconnectedNtfn(height int32, header string) *FilteredBlockDisconnectedNtfn + type FreshAddressCmd struct + func NewFreshAddressCmd() *FreshAddressCmd + type FundRawTransactionCmd struct + HexTx string + IsWitness *bool + Options FundRawTransactionOpts + func NewFundRawTransactionCmd(serializedTx []byte, opts FundRawTransactionOpts, isWitness *bool) *FundRawTransactionCmd + type FundRawTransactionOpts struct + ChangeAddress *string + ChangePosition *int + ChangeType *ChangeType + ConfTarget *int + EstimateMode *EstimateSmartFeeMode + FeeRate *float64 + IncludeWatching *bool + LockUnspents *bool + Replaceable *bool + SubtractFeeFromOutputs []int + type FundRawTransactionResult struct + ChangePosition int + Fee btcutil.Amount + Transaction *wire.MsgTx + func (f *FundRawTransactionResult) UnmarshalJSON(data []byte) error + type GenerateCmd struct + NumBlocks uint32 + func NewGenerateCmd(numBlocks uint32) *GenerateCmd + type GenerateToAddressCmd struct + Address string + MaxTries *int64 + NumBlocks int64 + func NewGenerateToAddressCmd(numBlocks int64, address string, maxTries *int64) *GenerateToAddressCmd + type GetAccountAddressCmd struct + Account string + func NewGetAccountAddressCmd(account string) *GetAccountAddressCmd + 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 GetAddressInfoCmd struct + Address string + func NewGetAddressInfoCmd(address string) *GetAddressInfoCmd + type GetAddressInfoResult struct + Embedded *embeddedAddressInfo + HDKeyPath *string + HDSeedID *string + IsMine bool + IsWatchOnly bool + Timestamp *int + func (e *GetAddressInfoResult) UnmarshalJSON(data []byte) error + 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 GetBalancesCmd struct + func NewGetBalancesCmd() *GetBalancesCmd + type GetBalancesResult struct + Mine BalanceDetailsResult + WatchOnly *BalanceDetailsResult + type GetBestBlockCmd struct + func NewGetBestBlockCmd() *GetBestBlockCmd + type GetBestBlockHashCmd struct + func NewGetBestBlockHashCmd() *GetBestBlockHashCmd + type GetBestBlockResult struct + Hash string + Height int32 + type GetBlockChainInfoCmd struct + func NewGetBlockChainInfoCmd() *GetBlockChainInfoCmd + type GetBlockChainInfoResult struct + BestBlockHash string + Blocks int32 + Chain string + ChainWork string + Difficulty float64 + Headers int32 + InitialBlockDownload bool + MedianTime int64 + PruneHeight int32 + Pruned bool + SizeOnDisk int64 + VerificationProgress float64 + type GetBlockCmd struct + Hash string + Verbosity *int + func NewGetBlockCmd(hash string, verbosity *int) *GetBlockCmd + type GetBlockCountCmd struct + func NewGetBlockCountCmd() *GetBlockCountCmd + type GetBlockFilterCmd struct + BlockHash string + FilterType *FilterTypeName + func NewGetBlockFilterCmd(blockHash string, filterType *FilterTypeName) *GetBlockFilterCmd + type GetBlockFilterResult struct + Filter string + Header string + 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 + Confirmations int64 + Difficulty float64 + Hash string + Height int32 + MerkleRoot string + NextHash string + Nonce uint64 + PreviousHash string + Time int64 + Version int32 + VersionHex string + type GetBlockStatsCmd struct + HashOrHeight HashOrHeight + Stats *[]string + func NewGetBlockStatsCmd(hashOrHeight HashOrHeight, stats *[]string) *GetBlockStatsCmd + type GetBlockStatsResult struct + AverageFee int64 + AverageFeeRate int64 + AverageTxSize int64 + FeeratePercentiles []int64 + Hash string + Height int64 + Ins int64 + MaxFee int64 + MaxFeeRate int64 + MaxTxSize int64 + MedianFee int64 + MedianTime int64 + MedianTxSize int64 + MinFee int64 + MinFeeRate int64 + MinTxSize int64 + Outs int64 + SegWitTotalSize int64 + SegWitTotalWeight int64 + SegWitTxs int64 + Subsidy int64 + Time int64 + TotalOut int64 + TotalSize int64 + TotalWeight int64 + Txs int64 + UTXOIncrease int64 + UTXOSizeIncrease int64 + type GetBlockTemplateCmd struct + Request *TemplateRequest + func NewGetBlockTemplateCmd(request *TemplateRequest) *GetBlockTemplateCmd + type GetBlockTemplateResult struct + Bits string + Capabilities []string + CoinbaseAux *GetBlockTemplateResultAux + CoinbaseTxn *GetBlockTemplateResultTx + CoinbaseValue *int64 + CurTime int64 + DefaultWitnessCommitment string + Expires int64 + Height int64 + LongPollID string + LongPollURI string + MaxTime int64 + MinTime int64 + Mutable []string + NonceRange string + PreviousHash string + RejectReasion string + SigOpLimit int64 + SizeLimit int64 + SubmitOld *bool + Target string + Transactions []GetBlockTemplateResultTx + Version int32 + WeightLimit int64 + WorkID string + type GetBlockTemplateResultAux struct + Flags string + type GetBlockTemplateResultTx struct + Data string + Depends []int64 + Fee int64 + Hash string + SigOps int64 + TxID string + Weight int64 + type GetBlockVerboseResult struct + Bits string + Confirmations int64 + Difficulty float64 + Hash string + Height int64 + MerkleRoot string + NextHash string + Nonce uint32 + PreviousHash string + RawTx []TxRawResult + Size int32 + StrippedSize int32 + Time int64 + Tx []string + Version int32 + VersionHex string + Weight int32 + type GetBlockVerboseTxResult struct + Bits string + Confirmations int64 + Difficulty float64 + Hash string + Height int64 + MerkleRoot string + NextHash string + Nonce uint32 + PreviousHash string + RawTx []TxRawResult + Size int32 + StrippedSize int32 + Time int64 + Tx []TxRawResult + Version int32 + VersionHex string + Weight int32 + type GetCFilterCmd struct + FilterType wire.FilterType + Hash string + func NewGetCFilterCmd(hash string, filterType wire.FilterType) *GetCFilterCmd + type GetCFilterHeaderCmd struct + FilterType wire.FilterType + Hash string + func NewGetCFilterHeaderCmd(hash string, filterType wire.FilterType) *GetCFilterHeaderCmd + type GetChainTipsCmd struct + func NewGetChainTipsCmd() *GetChainTipsCmd + type GetChainTipsResult struct + BranchLen int32 + Hash string + Height int32 + Status string + type GetChainTxStatsCmd struct + BlockHash *string + NBlocks *int32 + func NewGetChainTxStatsCmd(nBlocks *int32, blockHash *string) *GetChainTxStatsCmd + type GetChainTxStatsResult struct + Time int64 + TxCount int64 + TxRate float64 + WindowBlockCount int32 + WindowFinalBlockHash string + WindowFinalBlockHeight int32 + WindowInterval int32 + WindowTxCount int32 + type GetConnectionCountCmd struct + func NewGetConnectionCountCmd() *GetConnectionCountCmd + type GetCurrentNetCmd struct + func NewGetCurrentNetCmd() *GetCurrentNetCmd + type GetDescriptorInfoCmd struct + Descriptor string + func NewGetDescriptorInfoCmd(descriptor string) *GetDescriptorInfoCmd + type GetDescriptorInfoResult struct + Checksum string + Descriptor string + HasPrivateKeys bool + IsRange bool + IsSolvable bool + 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 GetInfoCmd struct + func NewGetInfoCmd() *GetInfoCmd + type GetMempoolEntryCmd struct + TxID string + func NewGetMempoolEntryCmd(txHash string) *GetMempoolEntryCmd + type GetMempoolEntryResult struct + AncestorCount int64 + AncestorFees float64 + AncestorSize int64 + Depends []string + DescendantCount int64 + DescendantFees float64 + DescendantSize int64 + Fee float64 + Fees MempoolFees + Height int64 + ModifiedFee float64 + Size int32 + Time int64 + VSize int32 + WTxId string + Weight int64 + 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 + CurrentBlockWeight uint64 + Difficulty float64 + Errors string + GenProcLimit int32 + Generate bool + HashesPerSec float64 + NetworkHashPS float64 + PooledTx uint64 + TestNet bool + type GetMnemonicWordsCmd struct + func NewGetMnemonicWordsCmd() *GetMnemonicWordsCmd + 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 + IncrementalFee float64 + LocalAddresses []LocalAddressesResult + LocalRelay bool + LocalServices string + NetworkActive bool + Networks []NetworksResult + ProtocolVersion int32 + RelayFee float64 + SubVersion string + TimeOffset int64 + Version int32 + Warnings string + type GetNewAddressCmd struct + Account *string + func NewGetNewAddressCmd(account *string) *GetNewAddressCmd + type GetNodeAddressesCmd struct + Count *int32 + func NewGetNodeAddressesCmd(count *int32) *GetNodeAddressesCmd + type GetNodeAddressesResult struct + Address string + Port uint16 + Services uint64 + Time int64 + type GetPeerInfoCmd struct + func NewGetPeerInfoCmd() *GetPeerInfoCmd + type GetPeerInfoResult struct + Addr string + AddrLocal string + BanScore int32 + BytesRecv uint64 + BytesSent uint64 + ConnTime int64 + CurrentHeight int32 + FeeFilter int64 + ID int32 + Inbound bool + LastRecv int64 + LastSend int64 + PingTime float64 + PingWait float64 + RelayTxes bool + Services string + StartingHeight int32 + SubVer string + SyncNode bool + TimeOffset int64 + Version uint32 + type GetRawChangeAddressCmd struct + Account *string + func NewGetRawChangeAddressCmd(account *string) *GetRawChangeAddressCmd + type GetRawMempoolCmd struct + Verbose *bool + func NewGetRawMempoolCmd(verbose *bool) *GetRawMempoolCmd + type GetRawMempoolVerboseResult struct + CurrentPriority float64 + Depends []string + Fee float64 + Height int64 + Size int32 + StartingPriority float64 + Time int64 + Vsize int32 + Weight int32 + 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 GetTTLCmd struct + Txid string + Vout uint32 + func NewGetTTLCmd(txHash string, index uint32) *GetTTLCmd + type GetTTLResult struct + TTL int32 + 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 GetTxOutProofCmd struct + BlockHash *string + TxIDs []string + func NewGetTxOutProofCmd(txIDs []string, blockHash *string) *GetTxOutProofCmd + type GetTxOutResult struct + BestBlock string + Coinbase bool + Confirmations int64 + ScriptPubKey ScriptPubKeyResult + Value float64 + type GetTxOutSetInfoCmd struct + func NewGetTxOutSetInfoCmd() *GetTxOutSetInfoCmd + type GetTxOutSetInfoResult struct + BestBlock chainhash.Hash + BogoSize int64 + DiskSize int64 + HashSerialized chainhash.Hash + Height int64 + TotalAmount btcutil.Amount + Transactions int64 + TxOuts int64 + func (g *GetTxOutSetInfoResult) UnmarshalJSON(data []byte) error + type GetTxTotalsCmd struct + func NewGetTxTotalsCmd() *GetTxTotalsCmd + type GetTxTotalsResult struct + TimeMillis int64 + TotalAccBytesRecv uint64 + TotalAccBytesSent uint64 + TotalProofBytesRecv uint64 + TotalProofBytesSent uint64 + TotalTxBytesRecv uint64 + TotalTxBytesSent uint64 + type GetUnconfirmedBalanceCmd struct + Account *string + func NewGetUnconfirmedBalanceCmd(account *string) *GetUnconfirmedBalanceCmd + type GetUtreexoProofCmd struct + BlockHash string + Verbosity *int + func NewGetUtreexoProofCmd(blockhash string, verbosity *int) *GetUtreexoProofCmd + type GetUtreexoProofVerboseResult struct + ProofHashes []string + ProofTargets []uint64 + RememberIndexes []uint32 + TargetHashes []string + TargetPreimages []string + type GetUtreexoRootsCmd struct + BlockHash string + func NewGetUtreexoRootsCmd(blockhash string) *GetUtreexoRootsCmd + type GetUtreexoRootsResult struct + NumLeaves uint64 + Roots []string + type GetWalletInfoCmd struct + func NewGetWalletInfoCmd() *GetWalletInfoCmd + type GetWalletInfoResult struct + AvoidReuse bool + HDSeedID *string + KeyPoolOldest int + KeyPoolSize int + KeyPoolSizeHDInternal *int + PayTransactionFee float64 + PrivateKeysEnabled bool + Scanning ScanningOrFalse + TransactionCount int + UnlockedUntil *int + WalletName string + WalletVersion int + type GetWatchOnlyBalanceCmd struct + func NewGetWatchOnlyBalanceCmd() *GetWatchOnlyBalanceCmd + type GetWorkCmd struct + Data *string + func NewGetWorkCmd(data *string) *GetWorkCmd + type GetWorkResult struct + Data string + Hash1 string + Midstate string + Target string + type HashOrHeight struct + Value interface{} + func (h *HashOrHeight) UnmarshalJSON(data []byte) error + func (h HashOrHeight) MarshalJSON() ([]byte, error) + type HelpCmd struct + Command *string + func NewHelpCmd(command *string) *HelpCmd + type ImportAddressCmd struct + Account string + Address string + Rescan *bool + func NewImportAddressCmd(address string, account string, rescan *bool) *ImportAddressCmd + type ImportMultiCmd struct + Options *ImportMultiOptions + Requests []ImportMultiRequest + func NewImportMultiCmd(requests []ImportMultiRequest, options *ImportMultiOptions) *ImportMultiCmd + type ImportMultiOptions struct + Rescan bool + type ImportMultiRequest struct + Descriptor *string + Internal *bool + KeyPool *bool + Keys *[]string + Label *string + PubKeys *[]string + Range *DescriptorRange + RedeemScript *string + ScriptPubKey *ScriptPubKey + Timestamp TimestampOrNow + WatchOnly *bool + WitnessScript *string + type ImportMultiResults []struct + type ImportPrivKeyCmd struct + Label *string + PrivKey string + Rescan *bool + func NewImportPrivKeyCmd(privKey string, label *string, rescan *bool) *ImportPrivKeyCmd + type ImportPubKeyCmd struct + PubKey string + Rescan *bool + func NewImportPubKeyCmd(pubKey string, rescan *bool) *ImportPubKeyCmd + type ImportWalletCmd struct + Filename string + func NewImportWalletCmd(filename string) *ImportWalletCmd + type InfoChainResult struct + Blocks int32 + 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 InvalidateBlockCmd struct + BlockHash string + func NewInvalidateBlockCmd(blockHash string) *InvalidateBlockCmd + type KeyPoolRefillCmd struct + NewSize *uint + func NewKeyPoolRefillCmd(newSize *uint) *KeyPoolRefillCmd + type ListAccountsCmd struct + MinConf *int + func NewListAccountsCmd(minConf *int) *ListAccountsCmd + type ListAddressGroupingsCmd struct + func NewListAddressGroupingsCmd() *ListAddressGroupingsCmd + 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 ListBDKTransactionsCmd struct + func NewListBDKTransactionsCmd() *ListBDKTransactionsCmd + type ListBDKTransactionsResult struct + Confirmations uint + RawBytes string + Received int64 + Spent int64 + Txid string + type ListBDKUTXOsCmd struct + func NewListBDKUTXOsCmd() *ListBDKUTXOsCmd + type ListBDKUTXOsResult struct + Amount int64 + Confirmations uint + DerivationIndex uint + IsChange bool + ScriptPubKey string + Txid string + Vout uint + 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 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 + Abandoned bool + Account string + Address string + Amount float64 + BIP125Replaceable string + BlockHash string + BlockHeight *int32 + BlockIndex *int64 + BlockTime int64 + Category string + Comment string + Confirmations int64 + Fee *float64 + Generated bool + InvolvesWatchOnly bool + Label *string + OtherAccount string + Time int64 + TimeReceived int64 + Trusted bool + TxID string + Vout uint32 + WalletConflicts []string + 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 + TxID string + Vout uint32 + type LoadTxFilterCmd struct + Addresses []string + OutPoints []OutPoint + Reload bool + func NewLoadTxFilterCmd(reload bool, addresses []string, outPoints []OutPoint) *LoadTxFilterCmd + type LoadWalletCmd struct + WalletName string + func NewLoadWalletCmd(walletName string) *LoadWalletCmd + type LoadWalletResult struct + Name string + Warning string + type LocalAddressesResult struct + Address string + Port uint16 + Score int32 + type LockUnspentCmd struct + Transactions []TransactionInput + Unlock bool + func NewLockUnspentCmd(unlock bool, transactions []TransactionInput) *LockUnspentCmd + type MempoolFees struct + Ancestor float64 + Base float64 + Descendant float64 + Modified float64 + type MoveCmd struct + Amount float64 + Comment *string + FromAccount string + MinConf *int + ToAccount string + func NewMoveCmd(fromAccount, toAccount string, amount float64, minConf *int, comment *string) *MoveCmd + type NetworksResult struct + Limited bool + Name string + Proxy string + ProxyRandomizeCredentials bool + Reachable bool + 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 NotifyNewTransactionsCmd struct + Verbose *bool + func NewNotifyNewTransactionsCmd(verbose *bool) *NotifyNewTransactionsCmd + type NotifyReceivedCmd struct + Addresses []string + func NewNotifyReceivedCmd(addresses []string) *NotifyReceivedCmd + type NotifySpentCmd struct + OutPoints []OutPoint + func NewNotifySpentCmd(outPoints []OutPoint) *NotifySpentCmd + type OutPoint struct + Hash string + Index uint32 + type PeekAddressCmd struct + Index uint32 + func NewPeekAddressCmd() *PeekAddressCmd + type PingCmd struct + func NewPingCmd() *PingCmd + type PreciousBlockCmd struct + BlockHash string + func NewPreciousBlockCmd(blockHash string) *PreciousBlockCmd + type PrevOut struct + Addresses []string + Value float64 + type ProveUtxoChainTipInclusionCmd struct + Txids []string + Verbosity *int + Vouts []uint32 + func NewProveUtxoChainTipInclusionCmd(txids []string, vouts []uint32, verbosity *int) *ProveUtxoChainTipInclusionCmd + type ProveUtxoChainTipInclusionVerboseResult struct + HashesProven []string + Hex string + ProofHashes []string + ProofTargets []uint64 + ProvedAtHash string + type ProveWatchOnlyChainTipInclusionCmd struct + Verbosity *int + func NewProveWatchOnlyChainTipInclusionCmd(verbosity *int) *ProveWatchOnlyChainTipInclusionCmd + type ProveWatchOnlyChainTipInclusionVerboseResult struct + HashesProven []string + Hex string + ProofHashes []string + ProofTargets []uint64 + ProvedAtHash string + type PsbtInput struct + Sequence uint32 + Txid string + Vout uint32 + type PsbtOutput map[string]interface + func NewPsbtDataOutput(data []byte) PsbtOutput + func NewPsbtOutput(address string, amount btcutil.Amount) PsbtOutput + 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 ErrRPCClientInvalidIPOrSubnet + const ErrRPCClientMempoolDisabled + const ErrRPCClientNodeAlreadyAdded + const ErrRPCClientNodeNotAdded + const ErrRPCClientNodeNotConnected + const ErrRPCClientNotConnected + const ErrRPCClientP2PDisabled + const ErrRPCDatabase + const ErrRPCDecodeHexString + const ErrRPCDeserialization + const ErrRPCDifficulty + const ErrRPCForbiddenBySafeMode + const ErrRPCInWarmup + const ErrRPCInvalidAddressOrKey + const ErrRPCInvalidParameter + const ErrRPCInvalidTxVout + const ErrRPCMethodDeprecated + const ErrRPCMisc + const ErrRPCNoCFIndex + const ErrRPCNoNewestBlockInfo + const ErrRPCNoTxInfo + const ErrRPCNoWallet + const ErrRPCOutOfMemory + const ErrRPCOutOfRange + const ErrRPCRawTxString + const ErrRPCTxAlreadyInChain + const ErrRPCTxError + const ErrRPCTxRejected + const ErrRPCType + const ErrRPCUnimplemented + const ErrRPCVerify + const ErrRPCVerifyAlreadyInChain + const ErrRPCVerifyRejected + const ErrRPCWallet + const ErrRPCWalletAlreadyUnlocked + const ErrRPCWalletEncryptionFailed + const ErrRPCWalletInsufficientFunds + const ErrRPCWalletInvalidAccountName + const ErrRPCWalletKeypoolRanOut + const ErrRPCWalletNotFound + const ErrRPCWalletNotSpecified + const ErrRPCWalletPassphraseIncorrect + const ErrRPCWalletUnlockNeeded + const ErrRPCWalletWrongEncState + type RPCVersion string + const RpcVersion1 + const RpcVersion2 + func (r RPCVersion) IsValid() bool + func (r RPCVersion) String() string + type RawTxInput struct + RedeemScript string + ScriptPubKey string + Txid string + Vout uint32 + type RawTxWitnessInput struct + Amount *float64 + RedeemScript *string + ScriptPubKey string + Txid string + Vout uint32 + WitnessScript *string + type RebroadcastUnconfirmedBDKTxsCmd struct + func NewRebroadcastUnconfirmedBDKTxsCmd() *RebroadcastUnconfirmedBDKTxsCmd + type Recipient struct + Address string + Amount int64 + type ReconsiderBlockCmd struct + BlockHash string + func NewReconsiderBlockCmd(blockHash string) *ReconsiderBlockCmd + type RecoverAddressesCmd struct + Account string + N int + func NewRecoverAddressesCmd(account string, n int) *RecoverAddressesCmd + type RecvTxNtfn struct + Block *BlockDetails + HexTx string + func NewRecvTxNtfn(hexTx string, block *BlockDetails) *RecvTxNtfn + type RedeemingTxNtfn struct + Block *BlockDetails + HexTx string + func NewRedeemingTxNtfn(hexTx string, block *BlockDetails) *RedeemingTxNtfn + type RegisterAddressesToWatchOnlyWalletCmd struct + Addresses []string + func NewRegisterAddressesToWatchOnlyWalletCmd(addresses []string) *RegisterAddressesToWatchOnlyWalletCmd + type RelevantTxAcceptedNtfn struct + Transaction string + func NewRelevantTxAcceptedNtfn(txHex string) *RelevantTxAcceptedNtfn + type RenameAccountCmd struct + NewAccount string + OldAccount string + func NewRenameAccountCmd(oldAccount, newAccount string) *RenameAccountCmd + type Request struct + ID interface{} + Jsonrpc RPCVersion + Method string + Params []json.RawMessage + func NewRequest(rpcVersion RPCVersion, id interface{}, method string, params []interface{}) (*Request, error) + func (request *Request) UnmarshalJSON(b []byte) error + type RescanBlocksCmd struct + BlockHashes []string + func NewRescanBlocksCmd(blockHashes []string) *RescanBlocksCmd + type RescanCmd struct + Addresses []string + BeginBlock string + EndBlock *string + OutPoints []OutPoint + func NewRescanCmd(beginBlock string, addresses []string, outPoints []OutPoint, endBlock *string) *RescanCmd + type RescanFinishedNtfn struct + Hash string + Height int32 + Time int64 + func NewRescanFinishedNtfn(hash string, height int32, time int64) *RescanFinishedNtfn + type RescanProgressNtfn struct + Hash string + Height int32 + Time int64 + func NewRescanProgressNtfn(hash string, height int32, time int64) *RescanProgressNtfn + type RescannedBlock struct + Hash string + Transactions []string + type Response struct + Error *RPCError + ID *interface{} + Jsonrpc RPCVersion + Result json.RawMessage + func NewResponse(rpcVersion RPCVersion, id interface{}, marshalledResult []byte, ...) (*Response, error) + type ScanProgress struct + Duration int + Progress float64 + type ScanningOrFalse struct + Value interface{} + func (h *ScanningOrFalse) UnmarshalJSON(data []byte) error + func (h ScanningOrFalse) MarshalJSON() ([]byte, error) + type ScriptPubKey struct + Value interface{} + func (s *ScriptPubKey) UnmarshalJSON(data []byte) error + func (s ScriptPubKey) MarshalJSON() ([]byte, error) + type ScriptPubKeyAddress struct + Address string + type ScriptPubKeyResult struct + Addresses []string + Asm string + 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 + Hash string + Hex string + LockTime uint32 + Size string + Time int64 + Txid string + Version int32 + Vin []VinPrevOut + Vout []Vout + Vsize string + Weight string + 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 SendRawTransactionCmd struct + FeeSetting *AllowHighFeesOrMaxFeeRate + HexTx string + func NewBitcoindSendRawTransactionCmd(hexTx string, maxFeeRate int32) *SendRawTransactionCmd + 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 SessionCmd struct + func NewSessionCmd() *SessionCmd + type SessionResult struct + SessionID uint64 + type SetAccountCmd struct + Account string + Address string + func NewSetAccountCmd(address, account string) *SetAccountCmd + type SetGenerateCmd struct + GenProcLimit *int + Generate bool + func NewSetGenerateCmd(generate bool, genProcLimit *int) *SetGenerateCmd + type SetTxFeeCmd struct + Amount float64 + func NewSetTxFeeCmd(amount float64) *SetTxFeeCmd + type SignMessageCmd struct + Address string + Message string + func NewSignMessageCmd(address, message string) *SignMessageCmd + type SignMessageWithPrivKeyCmd struct + Message string + PrivKey string + func NewSignMessageWithPrivKey(privKey, message string) *SignMessageWithPrivKeyCmd + 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 SignRawTransactionWithWalletCmd struct + Inputs *[]RawTxWitnessInput + RawTx string + SigHashType *string + func NewSignRawTransactionWithWalletCmd(hexEncodedTx string, inputs *[]RawTxWitnessInput, sigHashType *string) *SignRawTransactionWithWalletCmd + type SignRawTransactionWithWalletResult struct + Complete bool + Errors []SignRawTransactionError + Hex string + type SoftForkDescription struct + ID string + Reject struct{ ... } + Version uint32 + type SoftForks struct + Bip9SoftForks map[string]*Bip9SoftForkDescription + SoftForks []*SoftForkDescription + type StopCmd struct + func NewStopCmd() *StopCmd + type StopNotifyBlocksCmd struct + func NewStopNotifyBlocksCmd() *StopNotifyBlocksCmd + type StopNotifyNewTransactionsCmd struct + func NewStopNotifyNewTransactionsCmd() *StopNotifyNewTransactionsCmd + type StopNotifyReceivedCmd struct + Addresses []string + func NewStopNotifyReceivedCmd(addresses []string) *StopNotifyReceivedCmd + type StopNotifySpentCmd struct + OutPoints []OutPoint + func NewStopNotifySpentCmd(outPoints []OutPoint) *StopNotifySpentCmd + 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 + Rules []string + SigOpLimit interface{} + SizeLimit interface{} + Target string + WorkID string + func (t *TemplateRequest) UnmarshalJSON(data []byte) error + type TimestampOrNow struct + Value interface{} + func (t *TimestampOrNow) UnmarshalJSON(data []byte) error + func (t TimestampOrNow) MarshalJSON() ([]byte, error) + type TransactionInput struct + 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 TxRawDecodeResult struct + Locktime uint32 + Txid string + Version int32 + Vin []Vin + Vout []Vout + type TxRawResult struct + BlockHash string + Blocktime int64 + Confirmations uint64 + Hash string + Hex string + LockTime uint32 + Size int32 + Time int64 + Txid string + Version uint32 + Vin []Vin + Vout []Vout + Vsize int32 + Weight int32 + type UnifiedSoftFork struct + Active bool + BIP9SoftForkDescription *Bip9SoftForkDescription + Height int32 + Type string + type UnifiedSoftForks struct + SoftForks map[string]*UnifiedSoftFork + type UnloadWalletCmd struct + WalletName *string + func NewUnloadWalletCmd(walletName *string) *UnloadWalletCmd + type UnusedAddressCmd struct + func NewUnusedAddressCmd() *UnusedAddressCmd + type UptimeCmd struct + func NewUptimeCmd() *UptimeCmd + type UsageFlag uint32 + const UFNotification + const UFWalletOnly + const UFWebsocketOnly + func MethodUsageFlags(method string) (UsageFlag, error) + func (fl UsageFlag) String() string + type ValidateAddressChainResult struct + Address string + IsScript *bool + IsValid bool + IsWitness *bool + WitnessProgram *string + WitnessVersion *int32 + 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 + Script string + SigsRequired int32 + type VerifyChainCmd struct + CheckDepth *int32 + CheckLevel *int32 + func NewVerifyChainCmd(checkLevel, checkDepth *int32) *VerifyChainCmd + type VerifyMessageCmd struct + Address string + Message string + Signature string + func NewVerifyMessageCmd(address, signature, message string) *VerifyMessageCmd + type VerifyTxOutProofCmd struct + Proof string + func NewVerifyTxOutProofCmd(proof string) *VerifyTxOutProofCmd + type VerifyUtxoChainTipInclusionProofCmd struct + Proof string + func NewVerifyUtxoChainTipInclusionProofCmd(proof string) *VerifyUtxoChainTipInclusionProofCmd + type VersionCmd struct + func NewVersionCmd() *VersionCmd + type VersionResult struct + BuildMetadata string + Major uint32 + Minor uint32 + Patch uint32 + Prerelease string + VersionString string + type Vin struct + Coinbase string + ScriptSig *ScriptSig + Sequence uint32 + Txid string + Vout uint32 + Witness []string + func (v *Vin) HasWitness() bool + func (v *Vin) IsCoinBase() bool + func (v *Vin) MarshalJSON() ([]byte, error) + type VinPrevOut struct + Coinbase string + PrevOut *PrevOut + ScriptSig *ScriptSig + Sequence uint32 + Txid string + Vout uint32 + Witness []string + func (v *VinPrevOut) HasWitness() bool + func (v *VinPrevOut) IsCoinBase() bool + func (v *VinPrevOut) MarshalJSON() ([]byte, error) + type Vout struct + N uint32 + ScriptPubKey ScriptPubKeyResult + Value float64 + type WalletCreateFundedPsbtCmd struct + Bip32Derivs *bool + Inputs []PsbtInput + Locktime *uint32 + Options *WalletCreateFundedPsbtOpts + Outputs []PsbtOutput + func NewWalletCreateFundedPsbtCmd(inputs []PsbtInput, outputs []PsbtOutput, locktime *uint32, ...) *WalletCreateFundedPsbtCmd + type WalletCreateFundedPsbtOpts struct + ChangeAddress *string + ChangePosition *int64 + ChangeType *ChangeType + ConfTarget *int64 + EstimateMode *string + FeeRate *float64 + IncludeWatching *bool + LockUnspents *bool + Replaceable *bool + SubtractFeeFromOutputs *[]int64 + type WalletCreateFundedPsbtResult struct + ChangePos int64 + Fee float64 + Psbt string + 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 WalletProcessPsbtCmd struct + Bip32Derivs *bool + Psbt string + SighashType *string + Sign *bool + func NewWalletProcessPsbtCmd(psbt string, sign *bool, sighashType *string, bip32Derivs *bool) *WalletProcessPsbtCmd + type WalletProcessPsbtResult struct + Complete bool + Psbt string