gear_rpc_method

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGearRpc

func NewGearRpc(client gear_client.IClient, config *config.Scheme) gear_rpc.IGearRPC

Types

type GearRpc

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

func (*GearRpc) AuthorSubmitExtrinsic added in v1.0.0

func (gearRPC *GearRpc) AuthorSubmitExtrinsic(signed string) (*models.RpcGenericResponse, error)

author_submitExtrinsic

func (*GearRpc) ChainGetBlockHash added in v0.1.3

func (gearRPC *GearRpc) ChainGetBlockHash(blockNum int) (*models.RpcGenericResponse, error)

func (*GearRpc) ChainGetBlockHashLatest

func (gearRPC *GearRpc) ChainGetBlockHashLatest() (*models.RpcGenericResponse, error)

ChainGetBlockHashLatest returns response for json-rpc request `chain_getBlockHash` with the latest blockNumber

func (*GearRpc) GearCalculateHandleGas added in v1.0.2

func (gearRPC *GearRpc) GearCalculateHandleGas(owner, dest, payload string, value any, allowOtherPanic bool) (*models.RpcGenericResponse, error)

gear_calculateGasForHandle

func (*GearRpc) GearCalculateInitCreateGas added in v1.0.0

func (gearRPC *GearRpc) GearCalculateInitCreateGas(owner, codeId, payload string, value any, allowOtherPanic bool) (*models.RpcGenericResponse, error)

gear_calculateGasForCreate

func (*GearRpc) NoArgRpcRequest

func (gearRPC *GearRpc) NoArgRpcRequest(method gear_rpc.NoArgsMethod) (*models.RpcGenericResponse, error)

func (*GearRpc) StateGetKeyPaged added in v1.0.0

func (gearRPC *GearRpc) StateGetKeyPaged(encodedKey string) (*models.RpcGenericResponse, error)

func (*GearRpc) StateGetMetadata

func (gearRPC *GearRpc) StateGetMetadata(blockHash string) (*models.RpcGenericResponse, error)

func (*GearRpc) StateGetMetadataLatest

func (gearRPC *GearRpc) StateGetMetadataLatest() (*models.RpcGenericResponse, error)

StateGetMetadataLatest returns response for json-rpc `state_getMetadata` request with latest blockhash

func (*GearRpc) StateGetRuntimeVersion

func (gearRPC *GearRpc) StateGetRuntimeVersion(blockHash string) (*models.RpcGenericResponse, error)

func (*GearRpc) StateGetRuntimeVersionLatest

func (gearRPC *GearRpc) StateGetRuntimeVersionLatest() (*models.RpcGenericResponse, error)

StateGetRuntimeVersionLatest returns response for `state_getRuntimeVersion` json-rpc request with latest blockhash

func (*GearRpc) StateGetStorageLatest

func (gearRPC *GearRpc) StateGetStorageLatest(storageKey string) (*models.RpcGenericResponse, error)

func (*GearRpc) StateQueryStorageAt added in v1.0.0

func (gearRPC *GearRpc) StateQueryStorageAt(encodedKey string) (*models.RpcGenericResponse, error)

func (*GearRpc) SystemAccountNextIndex added in v0.1.3

func (gearRPC *GearRpc) SystemAccountNextIndex(accountId string) (*models.RpcGenericResponse, error)

Jump to

Keyboard shortcuts

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