object

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSharedObjectRef

func GetSharedObjectRef(ctx context.Context, client ObjectReader, objectId string, mutable bool) (*transaction.SharedObjectRef, error)

GetSharedObjectRef get shared object reference from sui object id

func GetSuiObjectRef

func GetSuiObjectRef(ctx context.Context, client ObjectReader, objectId string) (*transaction.SuiObjectRef, error)

GetSuiObjectRef get sui object reference from sui object id

Types

type ObjectReader

type ObjectReader interface {
	SuiGetObject(ctx context.Context, req models.SuiGetObjectRequest) (models.SuiObjectResponse, error)
}

ObjectReader defines the interface for reading Sui objects.

Jump to

Keyboard shortcuts

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