Versions in this module Expand all Collapse all v1 v1.0.3 Jul 23, 2025 v1.0.2 Jul 23, 2025 v1.0.1 Jul 23, 2025 Changes in this version + type AddToConfiscationTransactionWhitelistNotProcessed []struct + type AddToConsensusBlacklistNotProcessed []struct + type WhitelistConfiscationTransaction struct + TxId string v1.0.0 Jul 9, 2025 Changes in this version + const MerkleProofTargetTypeHash + const MerkleProofTargetTypeHeader + const MerkleProofTargetTypeMerkleRoot + const VerbosityDecodeHeader + const VerbosityDecodeHeaderAndCoinbase + const VerbosityDecodeTransactions + const VerbosityRawBlock + type AddToConfiscationTransactionWhitelistResponse struct + NotProcessed []struct{ ... } + type AddToConfiscationTxIdWhitelistArgs struct + ConfiscationTransactions []ConfiscationTransactionDetails + type AddToConsensusBlacklistArgs struct + Funds []Fund + type AddToConsensusBlacklistResponse struct + NotProcessed []struct{ ... } + type BannedSubnet struct + Address string + BanCreated uint64 + BanReason string + BannedUntil uint64 + type Block struct + Txs bt.Txs + func (b *Block) UnmarshalJSON(bb []byte) error + type BlockDecodeHeader struct + Txs []string + type BlockHeader struct + Chainwork string + Confirmations uint64 + Difficulty float64 + Hash string + Height uint64 + MedianTime uint64 + NextBlockHash string + NumTx uint64 + VersionHex string + func (b *BlockHeader) MarshalJSON() ([]byte, error) + func (b *BlockHeader) UnmarshalJSON(bb []byte) error + type BlockStats struct + AvgFee float64 + AvgFeeRate float64 + AvgTxSize uint32 + Blockhash string + Height uint32 + Ins uint32 + MaxFee float64 + MaxFeeRate float64 + MaxTxSize uint32 + MedianFee float64 + MedianFeeRate float64 + MedianTime uint32 + MedianTxSize uint32 + MinFee float64 + MinFeeRate float64 + MinTxSize uint32 + Outs uint32 + Subsidy float64 + Time uint32 + TotalFee float64 + TotalOut float64 + TotalSize uint64 + UtxoIncreate uint32 + UtxoSizeIncrease uint32 + type BlockTemplate struct + Bits string + Capabilities []string + CoinbaseAux struct{ ... } + CoinbaseValue uint64 + CurTime uint64 + Height uint64 + LongPollID string + MinTime uint64 + Mutable []string + NonceRange string + PreviousBlockHash string + SizeLimit uint64 + Target string + Transactions []string + Version uint64 + type BlockTemplateRequest struct + Capabilities []string + Mode string + func (r *BlockTemplateRequest) Args() []interface{} + type ChainInfo struct + BestBlockHash string + Blocks uint32 + Chain string + Chainwork string + Difficulty float64 + Headers uint32 + MedianTime uint32 + Pruned bool + SoftForks []struct{ ... } + VerificationProgress uint8 + type ChainTip struct + BranchLen uint32 + Hash string + Height uint32 + Status string + type ChainTxStats struct + Time uint32 + TxCount uint32 + TxRate float32 + WindowBlockCount uint32 + WindowInterval uint32 + WindowTxCount uint32 + type ConfiscationTransaction struct + EnforceAtHeight int64 + Hex string + type ConfiscationTransactionDetails struct + ConfiscationTransaction ConfiscationTransaction + type DumpWallet struct + FileName string + type Enforce struct + Start int + Stop int + type Error struct + Code int + Message string + func (e Error) Error() string + type ExcessiveBlock struct + ExcessiveBlockSize uint64 + type Fund struct + EnforceAtHeight []Enforce + PolicyExpiresWithConsensus bool + TxOut TxOut + type FundRawTransaction struct + ChangePosition int + Fee uint64 + Tx *bt.Tx + type ImportMulti struct + Error struct{ ... } + Success bool + type ImportMultiRequest struct + Address string + Internal bool + Keys []string + Label string + LockingScript string + PubKeys []string + RedeemScript string + Timestamp time.Time + WatchOnly bool + type Info struct + Balance float64 + Blocks uint64 + Connections uint32 + Difficulty float64 + Errors string + KeypoolOldest uint32 + KeypoolSize uint32 + MaxBlockSize uint64 + MaxMinedBlockSize uint64 + MaxStackMemoryUsageConsensus uint64 + PayTxFee float64 + ProtocolVersion uint32 + Proxy string + RelayFee float64 + Stn bool + Testnet bool + TimeOffset uint32 + Version uint32 + Wallet uint32 + type JournalStatus struct + Errors *string + Ok bool + type LegacyMerkleProof struct + Flags uint32 + Index uint32 + Nodes []string + Target BlockHeader + TxOrID string + type LockUnspent struct + TxID string + Vout int + type MemoryInfo struct + Locked struct{ ... } + Preloading struct{ ... } + type MempoolEntry struct + Depends []string + Fee float64 + Height uint32 + ModifiedFee float64 + Size uint32 + Time uint32 + type MempoolTxs map[string]MempoolEntry + type MiningCandidate struct + Coinbase string + CoinbaseValue uint64 + Height uint64 + ID string + MerkleProofs []string + NBits string + NumTx uint64 + PrevHash string + SizeWithoutCoinbase uint64 + Time uint64 + Version uint64 + type MiningInfo struct + Blocks uint64 + Chain string + CurrentBlockSize uint64 + CurrentBlockTx uint64 + Difficulty float64 + Errors string + NetworkHashPS float64 + PooledTx uint64 + type MiningSolution struct + Coinbase string + ID string + Nonce uint64 + Time uint64 + Version uint64 + type MultiSig struct + Address string + RedeemScript string + type NetworkInfo struct + AcceptNonStdConsolidationInput bool + AddressCount uint64 + Connections uint64 + LocalAddresses []struct{ ... } + LocalRelay bool + LocalServices string + MaxConsolidationInputScriptSize uint64 + MinConfConsolidationInput uint64 + MinConsolidationFactor uint64 + MinConsolidationInputMaturity uint64 + NetworkActive bool + Networks []struct{ ... } + ProtocolVersion uint64 + RelayFee float64 + StreamPolicies string + Subversion string + TimeOffset uint64 + TxPropagationFrequency uint64 + TxPropagationLength uint64 + Version uint64 + Warnings string + type NetworkTotals struct + TimeMilliseconds uint64 + TotalBytesReceived uint64 + TotalBytesSent uint64 + UploadTarget struct{ ... } + type NodeInfo struct + Addresses []struct{ ... } + Connected bool + Node string + type OptsBalance struct + Account string + IncludeWatchOnly bool + MinimumConfirmations uint32 + func (o *OptsBalance) Args() []interface{} + type OptsChainTxStats struct + BlockHash string + NumBlocks uint32 + func (o *OptsChainTxStats) Args() []interface{} + type OptsFundRawTransaction struct + ChangeAddress string + ChangePosition int + FeeRate uint64 + IncludeWatching bool + LockUnspents bool + ReserveChangeKey *bool + SubtractFeeFromOutputs []uint64 + func (o *OptsFundRawTransaction) Args() []interface{} + type OptsGenerate struct + MaxTries uint32 + func (o *OptsGenerate) Args() []interface{} + type OptsImportAddress struct + Label string + P2SH bool + Rescan *bool + func (o *OptsImportAddress) Args() []interface{} + type OptsImportMulti struct + Rescan *bool + func (o *OptsImportMulti) Args() []interface{} + type OptsImportPrivateKey struct + Label string + Rescan *bool + func (o *OptsImportPrivateKey) Args() []interface{} + type OptsImportPublicKey struct + Label string + Rescan *bool + func (o *OptsImportPublicKey) Args() []interface{} + type OptsKeypoolRefill struct + NewSize int + func (o *OptsKeypoolRefill) Args() []interface{} + type OptsLegacyMerkleProof struct + BlockHash string + func (o *OptsLegacyMerkleProof) Args() []interface{} + type OptsListAccounts struct + IncludeWatchOnly bool + MinConf int + func (o *OptsListAccounts) Args() []interface{} + type OptsListReceivedBy struct + IncludeEmpty bool + IncludeWatchOnly bool + MinConf int + func (o *OptsListReceivedBy) Args() []interface{} + type OptsListSinceBlock struct + BlockHash string + IncludeWatchOnly bool + TargetConfirmations int + func (o *OptsListSinceBlock) Args() []interface{} + type OptsListTransactions struct + Count int + IncludeWatchOnly bool + Skip int + func (o *OptsListTransactions) Args() []interface{} + type OptsListUnspent struct + Address []string + IncludeUnsafe *bool + MaxConf int + MinConf int + func (o *OptsListUnspent) Args() []interface{} + type OptsLockUnspent struct + Txs []LockUnspent + func (o *OptsLockUnspent) Args() []interface{} + type OptsMerkleProof struct + FullTx bool + TargetType merkleProofTargetType + func (o *OptsMerkleProof) Args() []interface{} + type OptsMiningCandidate struct + IncludeCoinbase bool + func (o *OptsMiningCandidate) Args() []interface{} + type OptsMove struct + Comment string + func (o *OptsMove) Args() []interface{} + type OptsNetworkHashPS struct + Height uint64 + NumBlocks uint64 + func (o *OptsNetworkHashPS) Args() []interface{} + type OptsNewAddress struct + Account string + func (o *OptsNewAddress) Args() []interface{} + type OptsNodeInfo struct + Node string + func (o *OptsNodeInfo) Args() []interface{} + type OptsOutput struct + IncludeMempool bool + func (o *OptsOutput) Args() []interface{} + type OptsSendFrom struct + Comment string + CommentTo string + MinConf int + func (o *OptsSendFrom) Args() []interface{} + type OptsSendMany struct + Comment string + MinConf int + SubtractFeeFrom []string + func (o *OptsSendMany) Args() []interface{} + type OptsSendRawTransaction struct + AllowHighFees bool + CheckFee bool + func (o *OptsSendRawTransaction) Args() []interface{} + type OptsSendToAddress struct + Comment string + CommentTo string + SubtractFeeFrom []string + func (o *OptsSendToAddress) Args() []interface{} + type OptsSetBan struct + Absolute bool + BanTime uint64 + func (o *OptsSetBan) Args() []interface{} + type OptsSignRawTransaction struct + From bt.UTXOs + PrivateKeys []string + SigHashType sighash.Flag + func (o *OptsSignRawTransaction) Args() []interface{} + type OptsSubmitBlock struct + WorkID string + func (o *OptsSubmitBlock) Args() []interface{} + type Output struct + BestBlock string + Coinbase bool + Confirmations uint32 + func (o *Output) NodeJSON() interface{} + func (o *Output) UnmarshalJSON(b []byte) error + type OutputSetInfo struct + BestBlock string + BogoSize uint32 + DiskSize uint32 + HashSerialised string + Height uint32 + OutputCount uint32 + TotalAmount float64 + Transactions uint32 + type ParamsCreateRawTransaction struct + Outputs []*bt.Output + func (p *ParamsCreateRawTransaction) Args() []interface{} + func (p *ParamsCreateRawTransaction) SetIsMainnet(b bool) + type ParamsDisconnectNode struct + Address string + ID uint64 + func (p *ParamsDisconnectNode) Args() []interface{} + type ParamsSendRawTransactions struct + AllowHighFees bool + DontCheckFee bool + Hex string + ListUnconfirmedAncestors bool + type PeerInfo struct + AddNode bool + Addr string + AssocID string + AvgReceivedBW int + BanScore int + BytesReceived int + BytesReceivedPerMsg struct{ ... } + BytesSent int + BytesSentPerMsg struct{ ... } + ConnTime int + ID int + Inbound bool + Inflight []uint64 + LaStsend int + LastReceived int + MinPing float64 + PauseSend bool + PingTime float64 + ReceivedSize int + RelayTxs bool + SendSize int + Services string + StartingHeight int + StreamPolicy string + Streams []struct{ ... } + SubVer string + SyncedBlocks int + SyncedHeaders int + TimeOffset int64 + TxInvSize int + UnpauseSend bool + Version int + Whitelisted bool + type ReceivedByAccount struct + Account string + Amount float64 + Confirmations int + InvolvesWatchOnly bool + Label string + type ReceivedByAddress struct + Account string + Address string + Amount float64 + Confirmations int + InvolvesWatchOnly bool + Label string + TxIDs []string + type Request struct + ID string + JSONRpc string + Method string + Params []interface{} + type Response struct + Error *Error + Result interface{} + type SendRawTransaction struct + Hex string + Tx *bt.Tx + func (s *SendRawTransaction) PostProcess() error + type SendRawTransactionsResponse struct + Evicted []string + Invalid []struct{ ... } + Known []string + Unconfirmed []struct{ ... } + type Settings struct + AcceptNonStdConsolidationInput bool + AcceptNonStdOutputs bool + BlockMaxsIze uint32 + BlockMinTxFee float64 + DataCarrier bool + DataCarrierSize uint32 + DustLimitFactor uint32 + DustRelayFee float64 + ExcessiveBlockSize uint32 + LimitAncestorCount uint32 + LimitCPFPGroupMembersCount uint32 + MaxConsolidationInputScriptSize uint32 + MaxMempool uint32 + MaxMempoolSizeDisk uint32 + MaxNonStdTxValidationDuration uint32 + MaxOpsPerScript uint32 + MaxOrphanTxSize uint32 + MaxPubKeysPerMultiSig uint32 + MaxScriptNumLength uint32 + MaxScriptSize uint32 + MaxStackMemoryUsage uint32 + MaxStackMemoryUsageConsensus uint32 + MaxStdTxValidationDuration uint32 + MaxTxChainValidationBudget uint32 + MaxTxSigOpsCounts uint32 + MaxTxSize uint32 + MempoolMaxPercentCPFP uint32 + MinConfConsolidationInput uint32 + MinConsolidationFactor uint32 + MinConsolidationInputMaturity uint32 + MinRelayTxFee float64 + ValidationClockCPU bool + type SignedRawTransaction struct + Complete bool + Errors []struct{ ... } + Tx *bt.Tx + type SinceBlock struct + LastBlock string + Txs []struct{ ... } + type Transaction struct + Amount int64 + BlockHash string + BlockIndex uint32 + BlockTime uint64 + Confirmations uint32 + Details []TransactionDetail + Fee int64 + Time uint64 + TimeReceived uint64 + Tx *bt.Tx + TxID string + WalletConflicts []interface{} + type TransactionDetail struct + Abandoned bool + Account string + Address string + Amount int64 + Category string + Fee int64 + Label string + Vout uint32 + type TxOut struct + TxId string + Vout int + type ValidateAddress struct + Account string + Address string + HDKeyPath string + HDMasterKeyID string + IsCompressed bool + IsMine bool + IsScript bool + IsValid bool + IsWatchOnly bool + LockingScript string + PublicKey string + Timestamp uint64 + type WalletInfo struct + Balance float64 + HDMasterKeyID string + ImmatureBalance float64 + KeypoolOldest uint64 + KeypoolSize uint64 + KeypoolSizeHDInternal uint32 + PayTxFee float64 + TxCount uint64 + UnconfirmedBalance float64 + WalletName string + WalletVersion uint64 + type ZMQNotification struct + Address string + Notification string