coreapi

package
v1.111.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreApiWrapper

type CoreApiWrapper struct {
	// contains filtered or unexported fields
}

func NewCoreApiWrapper

func NewCoreApiWrapper(coreApiClient *apiclient.RadixCoreApiClient, network types.Network, httpRequestTimeout time.Duration) CoreApiWrapper

func (*CoreApiWrapper) GetCurrentEpoch

func (w *CoreApiWrapper) GetCurrentEpoch() (int64, error)

func (*CoreApiWrapper) GetCurrentStateVersion

func (w *CoreApiWrapper) GetCurrentStateVersion() (int64, error)

func (*CoreApiWrapper) GetNetworkStatus

func (w *CoreApiWrapper) GetNetworkStatus() (models.NetworkStatusResponseable, error)

func (*CoreApiWrapper) GetSingleTransactionAtStateVersion

func (w *CoreApiWrapper) GetSingleTransactionAtStateVersion(stateVersion int64) (*models.CommittedTransactionable, error)

func (*CoreApiWrapper) GetXrdAddress

func (w *CoreApiWrapper) GetXrdAddress() (string, error)

func (*CoreApiWrapper) MethodPreview added in v1.111.2

func (w *CoreApiWrapper) MethodPreview(componentAddress string, methodName string, args []string) (models.SborDataable, error)

func (*CoreApiWrapper) SubmitTransaction

func (w *CoreApiWrapper) SubmitTransaction(notarizedTransactionBytes []byte) error

Jump to

Keyboard shortcuts

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