utils

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: Apache-2.0 Imports: 9 Imported by: 24

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTxDigest added in v1.0.6

func GetTxDigest(txBytesB64 string) (string, error)

GetTxDigest get transaction digest from tx bytes in base64

func GetTxDigestFromBytes added in v1.0.6

func GetTxDigestFromBytes(txBytes []byte) (string, error)

GetTxDigestFromBytes get transaction digest from tx bytes

func IsFieldNonEmpty added in v1.0.4

func IsFieldNonEmpty(v interface{}, fieldName string) bool

func IsValidSuiAddress added in v1.0.7

func IsValidSuiAddress(addr models.SuiAddress) bool

func NormalizeSuiAddress added in v1.0.7

func NormalizeSuiAddress(input string) models.SuiAddress

func PrettyPrint

func PrettyPrint(v interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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