token

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Token

type Token struct {
	// id of the token || erc721: topic[3] | erc1155: tx.To()
	ID *big.Int `json:"id"`

	// address of the token contract || erc721: tx.To() | erc1155: topic[1]
	Address common.Address `json:"address"`

	// optional name of the token (opensea api source)
	Name string `json:"name,omitempty"`
}

func (*Token) LipglossedShortID added in v0.11.0

func (t *Token) LipglossedShortID() string

func (*Token) NftID

func (t *Token) NftID() string

func (*Token) ShortID

func (t *Token) ShortID() string

func (*Token) String

func (t *Token) String() string

Jump to

Keyboard shortcuts

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