Documentation ¶
Overview ¶
Package blockcypher defines primitives to work with the BlockCypher API.
Index ¶
Constants ¶
View Source
const (
// Component name for monitoring.
Component = "btc"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a BlockCypher API client.
func (*Client) Broadcast ¶
Broadcast implements github.com/stratumn/go-core/blockchain/btc.Broadcaster.Broadcast.
func (*Client) FindUnspent ¶
func (c *Client) FindUnspent(ctx context.Context, address *types.ReversedBytes20, amount int64) (res btc.UnspentResult, err error)
FindUnspent implements github.com/stratumn/go-core/blockchain/btc.UnspentFinder.FindUnspent.
Click to show internal directories.
Click to hide internal directories.