Documentation
¶
Index ¶
- Constants
- type Address
- type AddressSummary
- type BTCString
- type BigInt
- func (b *BigInt) BigFloat() *big.Float
- func (b *BigInt) BigInt() *big.Int
- func (b *BigInt) MarshalJSON() ([]byte, error)
- func (b *BigInt) Positive() bool
- func (b *BigInt) SatoshisToBTC(strip bool) string
- func (b *BigInt) Scan(src interface{}) error
- func (b *BigInt) UnmarshalJSON(data []byte) error
- func (b BigInt) Value() (driver.Value, error)
- type BlockNotificationQueue
- type Creator
- type CreatorSummary
- type Flag
- type GeneralStatistics
- type GodView
- type GradingSlab
- type Item
- type ItemAddressSummary
- type ItemSummary
- type Outpoint
- type ScriptQueue
- type Series
- type SeriesCreator
- type SeriesSummary
- type TelegramSubscription
- type Transaction
- type TransactionQueue
Constants ¶
View Source
const ( FLAG_SCOPE_CREATORS = "creators" FLAG_SCOPE_SERIES = "series" FLAG_SCOPE_ITEMS = "items" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressSummary ¶
type AddressSummary struct {
Address string `json:"address"`
SKU string `json:"sku"`
SeriesSlug string `json:"series_slug"`
Serial string `json:"serial"`
Unspent int `json:"unspent"`
Spent int `json:"spent"`
FirstActive time.Time `json:"first_active"`
RedeemedOn time.Time `json:"redeemed_on"`
TotalValue *BigInt `json:"total_value"`
}
type BTCString ¶
type BTCString string
func (*BTCString) MarshalJSON ¶
func (*BTCString) UnmarshalJSON ¶
type BigInt ¶
TODO: Fix pointer/non-pointer issues
func FromBTCString ¶
func FromMathBigInt ¶
func (*BigInt) MarshalJSON ¶
func (*BigInt) SatoshisToBTC ¶
func (*BigInt) UnmarshalJSON ¶
type BlockNotificationQueue ¶
type CreatorSummary ¶
type GeneralStatistics ¶
type GodView ¶
type GodView struct {
SeriesName string `json:"series_name"`
SeriesID string `json:"series_id"`
Creators string `json:"creators"`
ItemID string `json:"item_id"`
Serial *string `json:"serial"`
Addresses *string `json:"address"`
TotalValue *BigInt `json:"total_value"`
FirstActive time.Time `json:"first_active"`
RedeemedOn time.Time `json:"redeemed_on"`
Balance *BigInt `json:"balance"`
}
func (GodView) SerialString ¶
type GradingSlab ¶
type ItemAddressSummary ¶
type ItemAddressSummary struct {
SKU string `json:"sku"`
Serial string `json:"serial"`
Addresses string `json:"addresses"`
FirstActive time.Time `json:"first_active"`
RedeemedOn time.Time `json:"redeemed_on"`
TotalValue *BigInt `json:"total_value"`
SeriesName string `json:"series_name"`
SeriesSlug string `json:"series_slug"`
}
func (*ItemAddressSummary) AddressArray ¶
func (is *ItemAddressSummary) AddressArray() ([]string, error)
func (*ItemAddressSummary) SerialString ¶
func (is *ItemAddressSummary) SerialString() string
type ItemSummary ¶
type ItemSummary struct {
SKU string `json:"sku"`
Serial string `json:"serial"`
SeriesName string `json:"series_name"`
SeriesSlug string `json:"series_slug"`
TotalValue *BigInt `json:"total_value"`
Unspent int `json:"unspent"`
Spent int `json:"spent"`
TotalReceived *BigInt `json:"total_received"`
TotalSpent *BigInt `json:"total_spent"`
Unfunded int `json:"unfunded"`
Unredeemed int `json:"unredeemed"`
Redeemed int `json:"redeemed"`
}
func (*ItemSummary) SerialString ¶
func (is *ItemSummary) SerialString() string
type Outpoint ¶
type Outpoint struct {
Txid string `json:"txid"`
Vout int `json:"vout"`
Script string `json:"script"`
Value *BigInt `json:"value"`
BlockHeight int64 `json:"block_height"`
BlockTime time.Time `json:"block_time"`
SpendingTxid string `json:"spending_txid"`
SpendingVin int `json:"spending_vin"`
SpendingBlockHeight int64 `json:"spending_block_height"`
SpendingBlockTime time.Time `json:"spending_block_time"`
Chain string `json:"chain"`
}
type ScriptQueue ¶
type SeriesCreator ¶
type SeriesSummary ¶
type TelegramSubscription ¶
type Transaction ¶
type Transaction struct {
Txid string `json:"txid"`
Vout *int `json:"vout"`
Vin *int `json:"vin"`
OriginalTxid *string `json:"original_txid"`
Value *BigInt `json:"value"`
BlockHeight int `json:"block_height"`
BlockTime time.Time `json:"block_time"`
TransactionType string `json:"transaction_type"`
SKU string `json:"sku"`
SeriesSlug string `json:"series_slug"`
Serial string `json:"serial"`
SeriesName string `json:"series_name"`
}
func (*Transaction) Outpoint ¶
func (t *Transaction) Outpoint() string
Source Files
¶
- address.go
- address_summary.go
- bigint.go
- block_notification_queue.go
- btc_string.go
- creator.go
- creator_summary.go
- flag.go
- general_statistics.go
- god_view.go
- grading_slab.go
- item.go
- item_address_summary.go
- item_summary.go
- outpoint.go
- script_queue.go
- series.go
- series_creator.go
- series_summary.go
- telegram_subscription.go
- transaction.go
- transaction_queue.go
Click to show internal directories.
Click to hide internal directories.