chain

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TxBuild

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

func (*TxBuild) Sender

func (b *TxBuild) Sender() string

func (*TxBuild) Transfer

func (b *TxBuild) Transfer(ctx context.Context, to string, value *big.Int) (bytes.HexBytes, error)

type TxBuilder

type TxBuilder interface {
	Sender() string
	Transfer(ctx context.Context, to string, value *big.Int) (bytes.HexBytes, error)
}

func NewTxBuilder

func NewTxBuilder(provider string, privateKey *ed25519.PrivateKey, chainId string, prefix string, asset string) (TxBuilder, error)

Jump to

Keyboard shortcuts

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