Ctx crypto

Comment

Author: Admin | 2025-04-27

Type Client func Dial(endpoint string) (*Client, error) func DialContext(ctx context.Context, endpoint string) (*Client, error) func NewClient(c *rpc.Client) *Client func (ec *Client) AddPeer(ctx context.Context, nodeURL string) error func (ec *Client) AdminPeers(ctx context.Context) ([]*p2p.PeerInfo, error) func (ec *Client) BalanceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error) func (ec *Client) BatchAddPeer(ctx context.Context, urls []string) error func (ec *Client) BlockByHash(ctx context.Context, hash common.Hash) (*types.Block, error) func (ec *Client) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error) func (ec *Client) BlockNumber(ctx context.Context) (*big.Int, error) func (ec *Client) CallContract(ctx context.Context, msg ethereum.CallMsg, blockNumber *big.Int) ([]byte, error) func (ec *Client) Close() func (ec *Client) CodeAt(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error) func (ec *Client) EstimateGas(ctx context.Context, msg ethereum.CallMsg) (uint64, error) func (ec *Client) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error) func (ec *Client) GetValidators(ctx context.Context, blockNumbers *big.Int) ([]common.Address, error) func (ec *Client) HeaderByHash(ctx context.Context, hash common.Hash) (*types.Header, error) func (ec *Client) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error) func (ec *Client) Metrics(ctx context.Context) (map[string]interface{}, error) func (ec *Client) NetworkID(ctx context.Context) (*big.Int, error) func (ec *Client) NodeInfo(ctx context.Context) (*p2p.PeerInfo, error) func (ec *Client) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error) func (ec *Client) PeerCount(ctx context.Context) (uint64, error) func (ec *Client) PendingBalanceAt(ctx context.Context, account common.Address) (*big.Int, error) func (ec *Client) PendingCallContract(ctx context.Context, msg ethereum.CallMsg) ([]byte, error) func (ec *Client) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error) func (ec *Client) PendingNonceAt(ctx context.Context, account common.Address) (uint64, error) func (ec *Client) PendingStorageAt(ctx context.Context, account common.Address, key common.Hash) ([]byte, error) func (ec *Client) PendingTransactionCount(ctx context.Context) (uint, error) func (ec *Client) ProposeValidator(ctx context.Context, address common.Address, auth bool) error func (ec *Client) SendRawTransaction(ctx context.Context, tx *types.Transaction) error func (ec *Client) SendTransaction(ctx context.Context, tx *types.Transaction) error func (ec *Client) StartMining(ctx context.Context) error func (ec *Client) StopMining(ctx context.Context) error func (ec *Client) StorageAt(ctx context.Context, account common.Address, key common.Hash, ...) ([]byte, error) func (ec *Client) SubscribeFilterLogs(ctx context.Context, q ethereum.FilterQuery, ch chan

Add Comment