bitcoin

package
v1.1.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2021 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Platform

type Platform struct {
	CoinIndex uint
	// contains filtered or unexported fields
}

func Init added in v1.1.0

func Init(coin uint, api string) *Platform

func (*Platform) Coin

func (p *Platform) Coin() coin.Coin

func (*Platform) CurrentBlockNumber

func (p *Platform) CurrentBlockNumber() (int64, error)

func (*Platform) GetAddressesFromXpub

func (p *Platform) GetAddressesFromXpub(xpub string) ([]string, error)

func (*Platform) GetBlockByNumber

func (p *Platform) GetBlockByNumber(num int64) (*types.Block, error)

func (*Platform) GetTxsByAddress added in v1.1.0

func (p *Platform) GetTxsByAddress(address string) (types.TxPage, error)

func (*Platform) GetTxsByXpub added in v1.1.0

func (p *Platform) GetTxsByXpub(xpub string) (types.TxPage, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL