eth

package
v0.6.17 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SignEthereumTransaction

func SignEthereumTransaction(wa models.Account, to string, amount *big.Int) ([]byte, error)

SignEthereumTransaction signs an Ethereum transaction using the wallet account abstraction

Types

type EthereumTransaction

type EthereumTransaction struct {
	Nonce    uint64
	To       string
	Value    *big.Int
	GasLimit uint64
	GasPrice *big.Int
	Data     []byte
}

EthereumTransaction represents the Ethereum transaction data

Jump to

Keyboard shortcuts

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