Patch for concurrent iterator & others (onto v1.11.6) #386
@ -60,7 +60,7 @@ func (ec *Client) Close() {
|
||||
|
||||
// Blockchain Access
|
||||
|
||||
// ChainId retrieves the current chain ID for transaction replay protection.
|
||||
// ChainID retrieves the current chain ID for transaction replay protection.
|
||||
func (ec *Client) ChainID(ctx context.Context) (*big.Int, error) {
|
||||
var result hexutil.Big
|
||||
err := ec.c.CallContext(ctx, &result, "eth_chainId")
|
||||
|
Loading…
Reference in New Issue
Block a user