add get block rpc