get the validators specified by block
(ctx context.Context, blockNumber *big.Int)
| 416 | |
| 417 | // get the validators specified by block |
| 418 | func (c *Client) GetValidatorsByBlockNumber(ctx context.Context, blockNumber *big.Int) ([]common.Address, error) { |
| 419 | var result []common.Address |
| 420 | err := c.c.CallContext(ctx, &result, "eth_getValidatorsByBlockNumber", toBlockNumArg(blockNumber)) |
| 421 | return result, err |
| 422 | } |
| 423 | |
| 424 | // BalanceAt returns the wei balance of the given account. |
| 425 | // The block number can be nil, in which case the balance is taken from the latest known block. |
no test coverage detected