openseaapiutils

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBaseURL

func GetBaseURL(testnets bool) string

func GetBaseURLByChain

func GetBaseURLByChain(c chain.Chain) string

func GetMethod

func GetMethod(contractMethodDef string) string

func ParseFailureResponse

func ParseFailureResponse(resp *http.Response, respBody []byte) error

func PtrToBool

func PtrToBool(p *bool) (v bool)

func PtrToInt

func PtrToInt(p *int) (v int)

func PtrToString

func PtrToString(p *string) (v string)

func StringPtr

func StringPtr(v string) *string

func ValidateAddress

func ValidateAddress(addr common.Address) bool

func ValidateJsonNumber

func ValidateJsonNumber(key string, value json.Number) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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