blockfrost

package
v0.0.0-...-ef514fe Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNode

func NewNode(network cardano.Network, projectID string) cardano.Node

NewNode returns a new instance of BlockfrostNode.

Types

type BlockfrostNode

type BlockfrostNode struct {
	// contains filtered or unexported fields
}

BlockfrostNode implements Node using the blockfrost API.

func (*BlockfrostNode) Network

func (b *BlockfrostNode) Network() cardano.Network

func (*BlockfrostNode) ProtocolParams

func (b *BlockfrostNode) ProtocolParams() (*cardano.ProtocolParams, error)

func (*BlockfrostNode) SubmitTx

func (b *BlockfrostNode) SubmitTx(tx *cardano.Tx) (*cardano.Hash32, error)

func (*BlockfrostNode) Tip

func (b *BlockfrostNode) Tip() (*cardano.NodeTip, error)

func (*BlockfrostNode) UTxOs

func (b *BlockfrostNode) UTxOs(addr cardano.Address) ([]cardano.UTxO, error)

Jump to

Keyboard shortcuts

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