asset

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAccount

func CreateAccount(privkey PrivKey, pubkey PubKey, amount uint64)

func QueryAccount

func QueryAccount(pubkey PubKey) uint64

func TransferBalance

func TransferBalance(privkey PrivKey, pubkey PubKey, to Address, amount, leiPrice uint64)

Types

type CreateAccountInfo

type CreateAccountInfo struct {
	Amount uint64 `json:"amount"`
}

type TransferInfo

type TransferInfo struct {
	To     string `json:"to"`
	Amount uint64 `json:"amount"`
}

Jump to

Keyboard shortcuts

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