sdk

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const BLOCK_LIMIT_GAP int64 = 900

Variables

This section is empty.

Functions

func SignBurn

func SignBurn(tokenId string, contractAddress string, privateHex string, blockNumber int64) (txHash string, txHex string, err error)

func SignMint

func SignMint(toAddress string, tokenId string, contractAddress string, privateHex string, blockNumber int64) (txHash string, txHex string, err error)

func SignTransferFrom

func SignTransferFrom(fromAddress string, toAddress string, tokenId string, contractAddress string, privateHex string, blockNumber int64) (txHash string, txHex string, err error)

Types

type Account

type Account struct {
	Address string
	Private string
}

func NewAccount

func NewAccount() Account

Jump to

Keyboard shortcuts

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