Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockEntry ¶
type BlockEntry struct {
Height int `json:"height"`
Timestamp int64 `json:"timestamp"`
ShortTXIDs []string `json:"shortTXIDs"`
}
BlockEntry holds the height, the first-seen timestamp and shortended TXIDs. It's used in the Bitcoin Transaction Monitor to mark transactions by block they were included in.
type FeeAPIResponse1 ¶
type FeeAPIResponse1 struct {
HighFee float64 `json:"high"`
}
type FeeAPIResponse2 ¶
type FeeAPIResponse3 ¶
type FeeRateAPIEntry ¶
type FeeRateAPIEntry struct {
Timestamp int64 `json:"timestamp"`
BTCCom FeeAPIResponse1 `json:"btccom"`
BlockchairCom FeeAPIResponse1 `json:"blockchaircom"`
BlockchainInfo FeeAPIResponse2 `json:"blockchaininfo"`
EarnCom FeeAPIResponse3 `json:"earncom"`
BitgoCom FeeAPIResponse3 `json:"bitgocom"`
BlockcypherCom FeeAPIResponse3 `json:"blockcyphercom"`
BitpayCom FeeAPIResponse3 `json:"bitpaycom"`
WasabiWalletIoEcon FeeAPIResponse3 `json:"wasabiwalletioEcon"`
WasabiWalletIoCons FeeAPIResponse3 `json:"wasabiwalletioCons"`
TrezorIo FeeAPIResponse3 `json:"trezorio"`
LedgerCom FeeAPIResponse3 `json:"ledgercom"`
MyceliumIo FeeAPIResponse3 `json:"myceliumio"`
BitcoinerLive FeeAPIResponse3 `json:"bitcoinerlive"`
BlockstreamInfo FeeAPIResponse3 `json:"blockstreaminfo"`
MempoolSpace FeeAPIResponse3 `json:"mempoolspace"`
}
type HistoricalMempoolData ¶
type HistoricalMempoolData struct {
DataInBuckets interface{} `json:"dataInBuckets"`
Timestamp int64 `json:"timestamp"`
}
type MempoolEntry ¶
type MempoolEntry struct {
EntryTime int64 `json:"entryTime"`
TxID string `json:"txid"`
Fee int64 `json:"fee"`
Size int64 `json:"size"`
Version int32 `json:"version"`
InputCount int `json:"inputCount"`
OutputCount int `json:"outputCount"`
Locktime uint32 `json:"locktime"`
OutputSum int64 `json:"outputValue"`
SpendsSegWit bool `json:"spendsSegWit"`
SpendsMultisig bool `json:"spendsMultisig"`
IsBIP69 bool `json:"isBIP69"`
SignalsRBF bool `json:"signalsRBF"`
OPReturnData string `json:"opreturnData"`
OPReturnLength int `json:"opreturnLength"`
Multisig map[string]int `json:"multisigsSpend"`
Spends map[string]int `json:"spends"`
PaysTo map[string]int `json:"paysTo"`
}
type PartialTransaction ¶
type PartialTransaction struct {
Size int `json:"vsize"`
Fee float64 `json:"fee"`
Time int `json:"time"`
Wtxid string `json:"wtxid"`
Bip125Replaceable bool `json:"bip125-replaceable"`
}
PartialTransaction is a part-struct of `Transaction` which contains only the for-now-used values to be more memory efficient
type RecentBlock ¶
Click to show internal directories.
Click to hide internal directories.