rpcclient

package
v0.0.0-...-5068620 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EvmClient

type EvmClient struct {
	*ethclient.Client
	// contains filtered or unexported fields
}

func MustNewEvmRpcClient

func MustNewEvmRpcClient(rawurl string) *EvmClient

func NewEvmRpcClient

func NewEvmRpcClient(rawurl string) (*EvmClient, error)

func (*EvmClient) GetChainId

func (c *EvmClient) GetChainId() uint64

func (*EvmClient) GetRawUrl

func (c *EvmClient) GetRawUrl() string

type SolClient

type SolClient struct {
	*rpc.Client
	// contains filtered or unexported fields
}

func MustNewSolClient

func MustNewSolClient(rawurl string, chainId uint64) *SolClient

MustNewSolClient params: rawurl is rpc node params: chainId is diy chain id

func NewSolClient

func NewSolClient(rawurl string, chainId uint64) (*SolClient, error)

NewSolClient params: rawurl is rpc node params: chainId is diy chain id

func (*SolClient) GetChainId

func (c *SolClient) GetChainId() uint64

func (*SolClient) GetRawUrl

func (c *SolClient) GetRawUrl() string

Jump to

Keyboard shortcuts

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