ether

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package ether provides utilities for ether to wei conversions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromWei

func FromWei(amount *big.Int) *big.Float

FromWei converts a wei value to a readable value by multiplying it by 1e18.

func ToWei

func ToWei(value *big.Float) *big.Int

ToWei converts a value to wei by dividing it by 1e18.

Types

This section is empty.

Jump to

Keyboard shortcuts

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